Moving direction of QSlider
General and Desktop
4
Posts
4
Posters
2.9k
Views
1
Watching
-
Is there a possibility to find out if a QSlider is moving to the left or right? I have tried it with comparing the old and new value but somehow it isnt working.
Thanks in advance
-
[quote author="basil_fawlty" date="1326588978"]I have tried it with comparing the old and new value but somehow it isnt working.[/quote]
You can get the value of the slider using "value()":http://developer.qt.nokia.com/doc/qt-4.8/qabstractslider.html#value-prop Please share your source code to see what are you doing wrong.