[Qt4-preview-feedback] QMdiArea: Can resize maximized windows

Axel Jäger axel.jaeger at basyskom.de
Sun Feb 8 11:02:20 CET 2009


Hi,
I modified the examples/mainwindow/mdi so the mdiArea shows tabs  
instead of subwindows by adding these two lines to the constructor of  
the mainwindow:

    mdiArea = new QMdiArea;
    mdiArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
    mdiArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
+ mdiArea->setViewMode(QMdiArea::TabbedView);
+ mdiArea->setDocumentMode(true);

When I create some docs now, I still have the resize handle of the  
maximized document window so I can shrink the front most document  
window and see child windows again. (See screenshot, notice the two  
resize handles in the bottom right corner).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bild 3.png
Type: image/png
Size: 50520 bytes
Desc: not available
Url : http://lists.qt.nokia.com/pipermail/qt4-feedback/attachments/20090208/e3e3c6da/attachment.png 
-------------- next part --------------


After playing a bit around with it, the resize handle disappears.

This was tested on a ppc mac G4 using the newest release of Leopard.

Axel

Axel J?ger
Developer

basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel: +49 6151 3969-961 | Fax: -736 |
  axel.jaeger at basyskom.de | www.basyskom.de

Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Eva Brucherseifer



More information about the Qt4-feedback mailing list