Thread
:
QT - Vertical Drag&Drop
View Single Post
AndiThebest
2010-10-01 , 12:32
Posts: 203 | Thanked: 152 times | Joined on May 2009 @ Austria
#
3
I had problems get drag&drop working in qt, so i have written my own one.
When i push a button, a timer starts and sets geometry of the button to the position of the mouse (or finger). When i release the mousebutton, the timer stops.
With this, you can make a rule that only the x or y property of the button is set to the mouse.
I use this in my app, an older sourcecode is available here:
svn checkout
https://vcs.maemo.org/svn/drinkcounter
Quote & Reply
|
The Following User Says Thank You to AndiThebest For This Useful Post:
b0unc3
AndiThebest
View Public Profile
Send a private message to AndiThebest
Visit AndiThebest's homepage!
Find all posts by AndiThebest