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

QDrag::setDragCursor() should take a QCursor

    XMLWordPrintable

    Details

      Description

      The method QDrag::setDragCursor() gives the possiblity to change the cursor while in Drag and Drop, but the cursor given as a parameter is a QPixmap.
      I would be more consistent to be also able to pass a QCursor.

      This should also make it possible to use cursors constructed with a CursorShape with setDragCursor(). Alternatively, QCursor::pixmap() should return a pixmap for cursors created with a CursorShape or native handle argument.

        Attachments

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

          Activity

            People

            Assignee:
            sorvig Morten Sørvig
            Reporter:
            poulain Benjamin Poulain (closed Nokia identity) (Inactive)
            PM Owner:
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes