Results 1 to 3 of 3

Thread: Statusbar contents disappear when mouse pointer enters top menu bar

  1. #1
    Join Date
    Feb 2015
    Posts
    27
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Statusbar contents disappear when mouse pointer enters top menu bar

    I have a statusbar at the bottom of my application's main window, and a File etc menu bar at the top. When the mouse pointer enters the top menu bar, the contents of the statusbar disappear. There is no timeout on the statusbar's contents.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Statusbar contents disappear when mouse pointer enters top menu bar

    Actions, such as those represented as menu or toolbar entries, can have a status text associated.
    That text is displayed in the status bar's message are when the action is hovered on.

    Your description sounds a lot like this happening or the application preparing for it to happen.

    If you have something you want to display regardless of status messages, add a label to the statusbar using addPermanentWidget()

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    ChrisOfBristol (24th March 2015)

  4. #3
    Join Date
    Feb 2015
    Posts
    27
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Statusbar contents disappear when mouse pointer enters top menu bar

    Thanks anda-skoa, I understand your post. I have looked for some examples of this, it all looks quite complicated and I couldn't get it to work. Rather than spend days learning it, I will just refresh the message.

Similar Threads

  1. Replies: 3
    Last Post: 22nd February 2013, 19:56
  2. Replies: 1
    Last Post: 15th March 2012, 15:34
  3. Replies: 0
    Last Post: 28th June 2011, 07:41
  4. how to make the popup context menu disappear when click the options softkey ?
    By kongkong163 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th January 2011, 03:39
  5. Context Menu don't disappear after the selection
    By bred in forum Qt Programming
    Replies: 0
    Last Post: 12th October 2010, 08:08

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.