How do I change the icon when dragging from a model/view?

  • Hi All,

    I am using the model/view architecture which supports drag and drop but it does not appear to expose the QDrag object. The default drag 'cursor' obscures the valid drop areas. I would like to change the 'cursor' to make it a little less intrusive. How would I go about doing so?


  • Hi Harry,

    I think for changing the cursor, you need to overwrite the view and the drag/drop events.
    Perhaps an eventfilter on the view (or on the application object) couild also be the trick.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.