LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   I need a qt edit box tutorial (https://www.linuxquestions.org/questions/programming-9/i-need-a-qt-edit-box-tutorial-599869/)

binarybob0001 11-15-2007 11:14 AM

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.

rstewart 11-15-2007 01:59 PM

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.

binarybob0001 11-15-2007 02:24 PM

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.

rstewart 11-15-2007 03:18 PM

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.

graemef 11-15-2007 04:35 PM

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


All times are GMT -5. The time now is 04:54 AM.