[Qt-interest] How to close s subwindow?

donglongchao donglongchao at 163.com
Tue Nov 10 08:05:12 CET 2009


Hi,all

I have a problem when I develop a MDI app whose UI was create by QT Designer.The two subwindows of MdiArea were created by right-click on MdiArea widget and then choose "add subwindow" from the pop menu.When I start the app,both of the two subwindows appears,but I just want one of them to appears.So I find two function called void closeActiveSubWindow () and void closeAllSubWindows ().But neither of them is what I need.I just want a function who can close some certain subwindow I want to close. Is there any function like that ,but I missed somewhere?Or I could reach my goal(start the app with only one subwindow appears) through other better way?Any suggestions are welcomed.
Thanks a lot in advance.

Longchao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091110/4adcee69/attachment.html 


More information about the Qt-interest-old mailing list