The paintEvent will always get called when it needs an update.
Your paint event seems somewhat heavy. Try using a back and front image separately and simply draw them in paintEvent. Do not create them in paint Event.
You will need to simply update your member variable images from a function. This way the paintEvent will only paint, not create images.
Bookmarks