Yes, I know that, however as a first version I wanted to implement something that is platform-independent.
Regarding the timing issues, I have changed from QTimeLine to a simple QTImer implementation (I can't even tell you why it wasn't my first choice), and it also made a difference.
connect(timer, SIGNAL(timeout()), this, SLOT(updateRect()));
timer->start(35);
timer2->singleShot(2000, this, SLOT(endTest()));
timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(updateRect()));
timer->start(35);
QTimer *timer2 = new QTimer(this);
timer2->singleShot(2000, this, SLOT(endTest()));
To copy to clipboard, switch view to plain text mode
Still, if you have some ideas about optimizing the redrawing itself, I'm open to any suggestions. (I'll try the simple widget method soon)
Bookmarks