PDA

View Full Version : QDrag to Desktop in Windows



cic1988
29th September 2014, 08:54
Hello,

anyone knows in Qt Drag&Drop how can i remove the small "not allow" symbol under the cursor when i try to drag an item from qt widget to the desktop?

Thank you.

anda_skoa
29th September 2014, 10:35
Any specific reason why you would want to do that?
The user will then not know why the drop didn't do anything, why it wasn't working.

Cheers,
_

cic1988
29th September 2014, 11:13
Hello,

i would like to implement a detachable tabbar in which the user could drag a tab to the desktop and it becomes a seperate window.

anda_skoa
29th September 2014, 13:04
I guess you have already tried setDragCursor()?

Hmm, what about creating the detached window when the drag would start and the moving/dragging the window?

Cheers,
_

cic1988
30th September 2014, 09:19
Hmm, i would try ur advice see how it happens.
Thanks anyway.:)