[Qt-interest] How to change central widget in Qt Designer?
donglongchao
donglongchao at 163.com
Wed Nov 4 04:42:54 CET 2009
在2009-11-03,"John McClurkin" <jwm at nei.nih.gov> 写道: >donglongchao wrote: >> Hi,all >> >> I am new here and Qt.I want to create a MDI app with Qt.And I want to >> build the main window with Qt Designer.But I can not change the central >> widget from QWidget to QWorkspace(Ihave to use this class for MDI).Could >> someone tell me how to do it in Qt Designer ,but no in codes? >> Thanks a lot. >> Wish you happy. >> >> Longchao >> >> >> ------------------------------------------------------------------------ >> 09Äêнú3DÖ÷Á÷ÍøÓΡ¶ÌìÏ·¡¡·£¬ÍøÒ×ÁùÄêÒÚ×Ê´òÔì >> <http://allyes.nie.163.com/main/adfclick?db=afanie&bid=1254,611,23&cid=145,4,1&sid=1351&show=ignore&url=http://tx2.163.com/fab.html> >> >Don't change the central widget. From the designer palette, choose >MdiArea and add it to the central widget. Be sure to add a layout to the >central widget. To do that, read the designer documentation. >_______________________________________________ >Qt-interest mailing list >Qt-interest at trolltech.com >http://lists.trolltech.com/mailman/listinfo/qt-interest
Thanks for your help.While I have another problem that I can not change the geometry's max value of central widget and it is 692*519 ,I can not enlarge it more.Why?I can change the value of Mdiaero.I have set the main window to be 1024*768.Can someone help me or give me any hints or some documents to read on this problem?
Thanks a lot.
Longchao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091104/314dd832/attachment.html
More information about the Qt-interest-old
mailing list