QListView
is a subclass of QAbstractScrollArea
, so one way of finding out if the vertical scroll bar's position is at one of its extremes is to:
- Get the
QScrollBar
object used byQListView
by callingverticalScrollBar()
. - Connect the
sliderMoved(int value)
signal of the scroll bar to a slot of your choice. - In the slot, fetch the min/max values of the scroll bar and compare them to the value given in the signal.