⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
How do I change the icon when dragging from a model/view?
hcjiv1 last edited by
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?
giesbert last edited by
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.