Like wysota said, paintEvent is called when it needs to.
You have to dissociate your model and your view.
If you're using paintEvent to do something else than painting related operations that's a bad design.
Like wysota said, paintEvent is called when it needs to.
You have to dissociate your model and your view.
If you're using paintEvent to do something else than painting related operations that's a bad design.
Bookmarks