PDA

View Full Version : StatusBar show message



Pang
23rd August 2007, 09:55
hi:
I want to show some message on QStatusBar using showMesage slot ,but i get following meaage:
QPaintEngine::setSystemRect, should not be changed while engine is active
QPaintEngine::setSystemClip(), should not be changed while engine is active
QPaintEngine::setSystemRect, should not be changed while engine is active
QPaintEngine::setSystemClip(), should not be changed while engine is active
QPaintEngine::setSystemRect, should not be changed while engine is active
QPaintEngine::setSystemClip(), should not be changed while engine is active
QPaintEngine::setSystemRect, should not be changed while engine is active
QPaintEngine::setSystemClip(), should not be changed while engine is active
QPaintEngine::setSystemRect, should not be changed while engine is active
QPaintEngine::setSystemClip(), should not be changed while engine is active
QPaintEngine::setSystemRect, should not be changed while engine is active
QPaintEngine::setSystemClip(), should not be changed while engine is active
QWidget::repaint: recursive repaint detected.
and the message i want to show is not be displayed. I don't know why . anyone help me.
Thanks

marcel
23rd August 2007, 10:10
How and where exactly do you do that?
Can you post the code?

jpn
23rd August 2007, 10:17
Are you by any chance using threads in your application?

marcel
23rd August 2007, 10:22
I don't believe this is a thread problem.
I think somewhere a QPainter remains opened on a QWIdget.
Probably a QPainter created on the heap.

Regards