PDA

View Full Version : how to execute a dialog box from a main application?



filmfreak
15th February 2006, 23:07
Hey, I'm working with Qt 3.2.1 and I'm trying to figure out how to open a dialog box by clicking a button on a main application.

For example:
Let's say I have a button connected to a slot, DialogExec(), defined in the ui.h file for my main application. What code would I have to enter in order for the clicking of that button to open the dialog box newDialog?

I'm new, so give me a step-by-step breakdown if you can.

jacek
15th February 2006, 23:17
http://www.qtcentre.org/forum/faq.php?faq=qt_general_category#faq_qt_designer_2f orms