Question about event->mimeData()->hasFormat(...)
-
Hi and welcome to devnet,
I suppose you are looking at the Draggable Icon example. It's just a custom mime-type for the application's drag&drop data.
-
Thanks SGalst , it's clear now,
I am trying to disable drag-and-drop for just one image(QLabel) and permit it for the others but I d'on't know what to do, the setDraggable(false) option disable it for all of them, I would be pleased if you had some ideas.Thank you.
-
Before starting the drag operation, check that if it's for that specific QLabel and don't do it if it is