Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
Some future release
-
None
-
all
Description
QWindow and QWidget have mask property to mask rendering and mouse events.
With Qt Quick, it's possible to mask window using QQuickView::setMask in cpp (like https://bugreports.qt-project.org/browse/QTBUG-20222 or https://bugreports.qt-project.org/browse/QTBUG-11258) or to mask rendering using shader effect (like https://bugreports.qt-project.org/browse/QTBUG-13970), but it's not possible to mask mouse events on items.
This functionality was previously suggested (https://bugreports.qt-project.org/browse/QTBUG-20524 or https://bugreports.qt-project.org/browse/QTBUG-6862) but was limited to MouseArea or Image items.
Maybe adding mask propperty to mask rendering and mouse events in all Item ?
Attachments
Issue Links
- duplicates
-
QTBUG-20524 Mask for mousearea
- Closed
- relates to
-
QTBUG-71951 add QML API for window mask
- Reported