if you see, i only created main two images when i change my background or foreground, so this event only paint drawitems method and drawhand in every 600 msec, however the first method only paint 2 circles and anotherone draw a clock hand animation,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.
base class is QWidgetWhat's the superclass of RadarCircle?
Bookmarks