[Qt-interest] How to change central widget in Qt Designer?

donglongchao donglongchao at 163.com
Wed Nov 4 05:36:26 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

Please ignore my last mail on this thread.I made a stupid mistake.There is no problem now.Sorry.And thanks for your help,John McClurkin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091104/5c3eda0c/attachment.html 


More information about the Qt-interest-old mailing list