Results 1 to 4 of 4

Thread: StatusBar show message

  1. #1
    Join Date
    Sep 2006
    Posts
    12
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default StatusBar show message

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: StatusBar show message

    How and where exactly do you do that?
    Can you post the code?

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: StatusBar show message

    Are you by any chance using threads in your application?
    J-P Nurmi

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: StatusBar show message

    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

Similar Threads

  1. statusBar() message color change
    By mclark in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 23:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.