I am displaying a scrolling page of line-oriented data. I want to control the display by specific lines and always know the index in my underlying data array of each line on the page, so I have my own scroll bar value-changed handling. When the value changes, I figure out what lines should be on the page and I update the display. For slider moves, it works fine. I want to arrange that the up/down arrows that come with the QScrollBar will move my index up one line (unless already at the top) or down one (unless already at the bottom). What I cannot find in the documentation is any way to capture a mouse click on the arrows. nextLine() and prevLine() don't do it. The value-changed signal does not let me distinguish arrow clicks. I need to know specifically when the user clicks on one of the arrows, just as with any control button I might create.

Can someone tell me how to do this?

Thanks.