Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75372

Add ability to specify custom mouse pointer in QML

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • None

      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.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            pderocco Paul DeRocco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes