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?
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().
Moved to Newbie...
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?
lengshuang (29th April 2009)
Bookmarks