[Qt-interest] 2 Main windows

Graham Labdon Graham.Labdon at avalonsciences.com
Tue Oct 4 15:28:52 CEST 2011


Hello everyone
Is there a way that I can get a main window to act as a  dialog?
I want to be able to create and show the window and then return to the calling code when the window is dismissed -

{
MyWindow w; // MyWindow is derived from QMainWindow

w.show(); // would use exec for a dialog

return here when window is dismissed
}

Thanks

Graham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111004/3c976da3/attachment.html 


More information about the Qt-interest-old mailing list