Hi,
I have a widget that has a GraphicsScene and a QScrollBar. I have overloaded the widget's resizeEvent() function and connected the QScrollBar's sliderMove() to a custom slot. Each of these routines contains a function call that redraws the objects in my scene. I have found that if the SliderMove() slot executes while I am currently redrawing the scene it will "preempt" my first draw routine with it's call to the draw routine. It was my understanding that the slots would execute to completion (assuming you're not using threads) before another slot is allowed to execute.
Example sequencing.
Resize Event
Start Draw...
SliderMove
Start Draw...
Draw Complete.
Draw Complete.
Bookmarks