Qt - controlling drag behaviour
Posted
by bullettime
on Stack Overflow
See other posts from Stack Overflow
or by bullettime
Published on 2010-03-10T18:21:15Z
Indexed on
2010/03/11
19:59 UTC
Read the original article
Hit count: 169
qt
|drag-and-drop
Suppose I want my draggable widget to move differently than just staying under my cursor while being dragged. For instance, having the widget move only in one axis, or have the widget move double the distance between the cursor and the drag starting point. Which method should I override to define this kind of behaviour?
© Stack Overflow or respective owner