[Qt-interest] Multiple Windows
donglongchao
donglongchao at 163.com
Tue Nov 17 15:29:39 CET 2009
在2009-11-17,"Kari Laine" <klaine8 at gmail.com> 写道:
>Hi,
>
>I am learning QT-Programming and I now understand howto make single
>mainwindow. But I would like to have multiple windows in my
>application. Can someone point me to the right direction please?
>
If you need a main window with some subwindows,just search "MdiAera" and "SubWindow"(or anything related to these two widgets) in the offical docs on line.If you need more than one main window,just creat another window with Designer as you did before and connect one signal of your first window to the setupUi and then show it.Of course,you can creat your UI only with codes.It is almost the same,doesn't matter.
Good luck.
>Best Regards
>Kari
>_______________________________________________
>Qt-interest mailing list
>Qt-interest at trolltech.com
>http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091117/e5f6ca52/attachment.html
More information about the Qt-interest-old
mailing list