[Qt-creator] How to open a dlg from main window using qt creator

Liu Shan liushan at ps-electronic.com
Fri Feb 6 10:13:11 CET 2009


Hi, ALL,

I want to write an app (e.g phone book) that has a main window with some buttons, new, edit, etc, click on new button, will pop-up edit dlg. after finishing edit, close edit dlg, user info will pass to main widow. How do I implement it in Qt Creator?


I use Qt Creator to build a project named phonebook, it auto crates a few files, e.g. phonebook.pro, main.cpp, mainwindow.cpp, mainwindow.h, mainwindow.ui,  I add an new  -> Qt Design Form ->Widget to project, an new file edit.ui was created. But how can I use edit.ui file to do something, means how to generate some .cpp or .h file, so I can program on it?

I'm a newbie on Qt development as well as Qt Creator, hope somebody would help me, very thanks.



Regards
Susan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090206/cbfe7ec6/attachment.html 


More information about the Qt-creator-old mailing list