Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
5.14
-
None
-
-
6215a53f2 (dev), 352c1e124 (6.5), 404e54c03 (tqtc/lts-6.2), 8ea6284bb (6.4)
Description
It's very cool that you can select to which pointer device(s) an handler should respond using the accepted* properties, but I'd still like to reveive the actual values for these properties belonging to the current event.
If you only want a slightly different reaction based on the pointer type (adjust a margin perhaps, change an icon next to the visualized touch point, or change the placement of something you drag in respect to the point because a finger covers the touch screen, or...) it is beneficial to re-use the same handler instead of defining a whole list of them which share 90% of their content but ony set one different item.
So, I think these values should be exposed in some way. I guess the best way would be to expose them as as a set of current* properties mirroring the accepted* properties that control what is reacted to.
Attachments
For Gerrit Dashboard: QTBUG-76381 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
459271,2 | doc: Add the handlerPoint.device property | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
461106,2 | doc: Add the handlerPoint.device property | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
461107,2 | doc: Add the handlerPoint.device property | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
461110,2 | doc: Add the handlerPoint.device property | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |