I am scrolling a widget but as I am updating the exposed area the widget keeps scrolling so I am left with a 'lag" that I need to compensate for or need to handle.
I have setAttribute(Qt::WA_OpaquePaintEvent,true). From a mouseMoveEvent, I widget->scroll(delta,0); the widget.
In other words, while the paint event is trying to draw the desired area, the widget is still scrolling. How can I draw the desired section in a synced manner?
Only thing I can think of right now is to subclass qwidgewt or create my own custom version of it and insert code right after the actual scroll.