Details
-
Type:
Suggestion
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: Some future release
-
Fix Version/s: 5.11.0
-
Component/s: Quick: Core Declarative QML
-
Labels:None
-
Environment:
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
-