Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
None
-
None
Description
Qt Widgets appear to have the ability to specify an arbitrary mouse pointer, by setting the cursor property to a QCursor constructed from a QPixmap. This should be possible in a QML MouseArea, too, except that its cursorShape property is just an enumeration. One possibility would be to extend the enumeration statically, with Qt.User0Cursor through Qt.User9Cursor, and then provide a function for associating an image and hotspot with any of those values.
Attachments
Issue Links
- duplicates
-
QTBUG-49104 Add support for setting a custom pixmap for the cursor used on a MouseArea
- Reported
- relates to
-
QTBUG-10642 Add support for mouse cursor shape to MouseArea
- Closed