You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are creating the QSlider(Qt::Horizontal) in labelledslider.cpp
But you are not implementing an own event handler to monitor QWheelEvent. Therefore the slider implements the automatic mouse scroll wheel handling, which is 3 ticks for most people. Inside that handler you have to divide event->data by 120 to get the correct value.
The text was updated successfully, but these errors were encountered:
You are creating the QSlider(Qt::Horizontal) in labelledslider.cpp
But you are not implementing an own event handler to monitor QWheelEvent. Therefore the slider implements the automatic mouse scroll wheel handling, which is 3 ticks for most people. Inside that handler you have to divide event->data by 120 to get the correct value.
The text was updated successfully, but these errors were encountered: