I would want to know the work flow of QPaint.
The documentation does not talk about the order of the events.
Anyone can indicate me to some link ?
Thanks
I would want to know the work flow of QPaint.
The documentation does not talk about the order of the events.
Anyone can indicate me to some link ?
Thanks
Could you say what "events" are you referring to? I understand that by "QPaint" you mean QPainter?
Yes QPainter:
The events I refer are about what happens during the proccess of paint or update a widget? (and if there is a way of 'play' with some of them)
In particular I want to know if there is a way (an easy way) of to draw the widget avoiding the previous 'clear' or 'erase'.
So maybe your question should be "how to avoid erasing widget contents during repaint" instead of "a work flow explanation of QPaint"?
Usually if we want something like this, we draw to a pixmap instead of the widget and in the paint event only render the pixmap to the widget.
Ok, thank you
Bookmarks