Results 1 to 2 of 2

Thread: StatusBar Message

  1. #1
    Join Date
    Oct 2007
    Location
    Bangalore
    Posts
    27
    Qt products
    Qt4
    Platforms
    Windows

    Default StatusBar Message

    Hi All,

    I have created a statusBar through code.

    I have 4 PushButtons for that each pushButtons i have setted the statusTipText .

    when i move the mouse over those pushbuttons text message is coming in statusBar.

    My problem is when i click that pushButton StatusBar message has to show for 5 sec irrespective of showing the statusTipText of other pushButtons when i move the mouse over other pushButtons...

    Regards

    Chethana

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: StatusBar Message

    set a permanent message using QStatusBar::addPermanentWidget() in conjunction with a QTimer for deleting it after 5 sec.

Similar Threads

  1. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 06:34
  2. treewidget and a message system
    By alisami in forum Qt Programming
    Replies: 7
    Last Post: 27th July 2008, 19:05
  3. Setting statusBar ignoring action tooltips
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 11th October 2007, 14:07
  4. StatusBar show message
    By Pang in forum Qt Programming
    Replies: 3
    Last Post: 23rd August 2007, 11:22
  5. statusBar() message color change
    By mclark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2007, 00: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.