Is there a scroll event or something similar that will tell me how much my widget has been scrolled?

What i have right now is I am drawing a box over a QTableWidget and i want to be able to move this box up/down with the table widget when the table widget is scrolled up/down.

Im sure there is something somewhere in Qt to get this data i just cant seem to find it.