I have renewed.Thanks for the quick reply!
What I don’t understand is why these my two methods are so different, why the CPU consumption is so different? Looks like they are doing the same partial refresh.
Maybe as you said:QWidget does not offer to "erase" something - all you can do is to redraw from scratch.
Bookmarks