Details
-
Technical task
-
Resolution: Done
-
Not Evaluated
-
None
-
None
-
None
Description
- All top level QWidgets are QWindows
- Any child QWidget can become a native QWindow via winId() or Qt::WA_NativeWindow
- Results in ancestors also becoming native unless WA_DontCreateNativeAncestors is set
- Results in siblings becoming native unless AA_DontCreateNativeWidgetSiblings is set
- Both of these are on by default
- Likely makes it easier to handle clipping, etc
- Arbitrary QWindows can be inserted into the widget hierarchy via QWidget::createWindowContainer()
- QWindowContainer takes care of observing the effective position of the widget
- Translates this to the window
- Observed parent changes, etc
- QWindowContainer takes care of observing the effective position of the widget
Attachments
Issue Links
- resulted in
-
QTBUG-119652 Support embedding Qt Widgets in non-widget window hierarchies
- Reported