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

John McClurkin jwm at nei.nih.gov
Tue Nov 3 13:47:46 CET 2009


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.



More information about the Qt-interest-old mailing list