PDA

View Full Version : How to show up .Ui file?



lengshuang
29th April 2009, 09:47
I have used Qt designer to design a dialog,now I want to show it when I click a button,who can tell me how should I do?

Lykurg
29th April 2009, 10:04
I have used Qt designer to design a dialog,now I want to show it when I click a button,who can tell me how should I do?
Hi,

first there is a Newbe section of this bord, second use qt's signal and slot (see docs for further explication) mechanism in conjunction with QDialog::exec().

wysota
29th April 2009, 10:26
Moved to Newbie...


I have used Qt designer to design a dialog,now I want to show it when I click a button,who can tell me how should I do?

The docs can:
Using a Designer .ui File in Your Application

And also our FAQ:
I have two forms. How to open a second form after a button is clicked in the first one? (http://www.qtcentre.org/forum/faq.php?faq=qt_general_category#faq_qt_designer_2f orms)