I have subclassed QWidget, created and instance of the class and placed 6 QLabels on it. In paintEvent() I use QPainter to do some painting. The result is that all the QLabels are shown on top of the QPainter-stuff. I have tried to manually call update() on my QLabels in paintEvent to make them update before I draw, but that was apparently not the right approach.
How do I control wether my QLabels or my QPaintings are shown on top?
Bookmarks