Manolo Manolo - 1 year ago 78
Python Question

A scrollbar event when scrolling?

I need an event for detecting if an user has moved the scrollbar position to another one.

In other words, if the user does scroll up/down, would it be possible to catch a signal so I can know the scroll has been changed its position?

I think it's not important, but the scrollbar I refer to is inside a




is for displaying items in the screen, and if those items are too big it shows the scrollbars I refer to. What I need is to know when the user changes the position of those scrollbars.

Answer Source

Sliders have a sliderMoved(int value) signal, where value is the new position of slider.