Hello,
I would like to start a selection process as a MousePressEvent is detected and define the definitive selection area as a MouseReleaseEvent is detected.
But I would like to draw the selection area as teh user is still moving the mouse with the left button pushed.
My problem is that I would like a paint event be processed immediatly after any MouseMoveEvent was detected, and then draw both the old and the new selection using Xor mode.
So 2 questions:
- is this the right way to make it?
- if yes how could I force processing a paint event afer every MouseMoveEvent (of course QCoreApplication:rocessEvents() does not work in a MouseMoveEvent)
Thanks in advance for your help.