PDA

View Full Version : New thread to handle paintEvent



bitChanger
9th March 2006, 21:32
I have a Qt GUI that contains a widget that plots data. The plots are being update and repainted so often that the main GUI thread is sluggish. Can I get a new QThread to handle the paintEvent of a QWidget?

jacek
9th March 2006, 21:41
I have a Qt GUI that contains a widget that plots data. The plots are being update and repainted so often that the main GUI thread is sluggish.
Perhaps you could draw less? Did you try tweaking the widget attributes?


Can I get a new QThread to handle the paintEvent of a QWidget?
Unfortunately not, but you can draw on a QImage.