PDA

View Full Version : After maximize one of the Tile Subwindows of QMdiArea, Can only see close



Abderrahim
31st January 2016, 12:40
Hello,

These are the default settings for QMdiArea widget.

setTabsMovable(true);
setTabsClosable(true);
setViewMode( QMdiArea::TabbedView );
setDocumentMode(true);
setTabPosition(QTabWidget::South);

setAcceptDrops(true);
setAutoFillBackground(true);
setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded );
setOption(QMdiArea::DontMaximizeSubWindowOnActivat ion);

After creating and adding sub-windows.


Now if I press maximize button of one of the subwindows, all subwindows get maximized, and after that can't see the title par of subwindows, and close, minimize, and maximize buttons too.

I just see close button on the tab, but not on title bar.

What to do?

Thanks.