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

Add ability to specify custom mouse pointer in QML

    XMLWordPrintable

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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes