Unsolved How to check if the tree view is currently scrolling
-
I am deriving my Tree View from QAbstract item model.
Can i get to know when the user would be scrolling vertically the tree view.
i Could not find any function like isScrolling().
-
Tree View from QAbstract item model.
A view from a model is odd
any function like isScrolling()
Doesn't make much sense, you can get a signal when the value of the scrollbar changes but I'm not sure it's what you are after. What are you trying to do exactly?
-
@VRonin how can i get the signal when the value from the scroll bar changes.
-
@summit
Hi
you get to the scrollbar like this
verticalScrollBar() (inside your class)
so you connect its valuechanged signal to your own function.
https://doc.qt.io/qt-5.15/qscrollbar.html#details
or maybe sliderMoved() depending on what you want.