Hi,
I have a classed that inherits QWidget. Inside of it, I have a QScrollArea with some QLabel items wrapped in a QGridLayout. Since I want to connect my labels through lines, I reimplemented the method paintEvent(QPaintEvent *). I unfortunately have the problem that the drawing occurs outside the scroll area as you can see in the attached image. Any hints?
Thanks.
Bookmarks