QGraphicsView paintEvent called repeatedly for no apparent reason
I am doing a little project and I have a QDialog with various objects inside it, such as QLabels, QLineEdits, QTextBrowser and most importantly a QGraphicsView.
You can see my dialog over here: http://postimg.org/image/9w9rw8xbz/
The problem is that when I hover with my cursor on the QLineEdits or on the QCheckBoxes the QGraphicsView gets painted repeatedly (as you can see from my debug tab on the bottom left).
Anyone knows what could cause this?