Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.6.0 Beta
-
None
-
58f8dd4f92e0e647ed530554d7edf3d1a901f552
Description
createWindowContainer() creates a widget which wraps a QWindow. It lacks stacking functionality because of preventing all widgets to be native. I think that it should works if user wants turn all widgets into native:
QWidget *wc = QWidget::createWindowContainer(window, parentWidget); wc->setAttribute(Qt::WA_NativeWindow);
The window container should not paint the widget background, because it is covered up by a window, so it causes only performance issues.
See Bad.png and Good.png.
Attachments
For Gerrit Dashboard: QTBUG-50477 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
146112,7 | QtWidgets: Allow to cover up the window container by another widget | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
146189,3 | QtWidgets: Use Qt::WA_OpaquePaintEvent in window container | 5.6 | qt/qtbase | Status: ABANDONED | 0 | 0 |