LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-15-2007, 11:14 AM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 433

Rep: Reputation: 30
I need a qt edit box tutorial


Can someone direct me to a website that has a tutorial on how to make and use a qt edit box. I also need tutorials on menus and opening and closing files. Thanks.
 
Old 11-15-2007, 01:59 PM   #2
rstewart
Member
 
Registered: Feb 2005
Location: Sunnyvale, CA
Distribution: Ubuntu
Posts: 205

Rep: Reputation: 38
Hi,

I'm not sure what version of Qt are you using; either the open source version, or the licensed version. I am using the licensed version and Trolltech has provided two utilities that will perform the tasks you are asking about. "qtdemo" provides a demo of all of the Qt functionality, and "assistant" runs as an interactive set of documentation. If you are running the open source version, then try to run either of these two applications and see if they are provided or not.
 
Old 11-15-2007, 02:24 PM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 433

Original Poster
Rep: Reputation: 30
No I don't have an example program to start with. Perhaps you can post some code? Or direct me to a program with code.
 
Old 11-15-2007, 03:18 PM   #4
rstewart
Member
 
Registered: Feb 2005
Location: Sunnyvale, CA
Distribution: Ubuntu
Posts: 205

Rep: Reputation: 38
Hi

There are basically two ways of doing Qt programming. One of them is to use the Qt tool called "designer" and construct the application doing a "drag and drop" sort of graphical GUI-builder way. The other way is to do everything programmatically. Unfortunately I am doing things the easy way using the designer GUI-builder so I don't have source that I can share with you that does things from the ground up so to speak. Sorry about that.

Why don't you check out this link: http://www.digitalfanatics.org/projects/qt_tutorial/

It is a link to a public tutorial hosted by Trolltech. You can also check out other open source links from the Trolltech site. Hopefully you will be able to see how easy it is to code using Qt.
 
Old 11-15-2007, 04:35 PM   #5
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,376

Rep: Reputation: 147Reputation: 147
The Open Source version of Qt comes with the demo programs and their extensive help files (assistant) should also answer your questions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help to edit Edit my bootloader's config file from kernel prompt jagdishpandey Linux - Kernel 5 07-03-2007 06:59 AM
How do i edit my tutorial kniwor LQ Suggestions & Feedback 1 05-13-2006 06:26 AM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 03:02 PM
How about a weekly tutorial? or just a tutorial Alinuxnoob LQ Suggestions & Feedback 2 04-09-2002 08:30 PM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration