Results 1 to 3 of 3

Thread: ToolTip on QAction in MenuBar

  1. #1
    Join Date
    Apr 2007
    Posts
    23
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default ToolTip on QAction in MenuBar

    Can you do it? I can set it using:
    Qt Code:
    1. menuAction->setToolTip("tool tip text");
    To copy to clipboard, switch view to plain text mode 

    but it doesn't show up.

    I also implemented event() to catch it, and it didn't seem to be firing a ToolTip event in the action portion of the menu when I hovered over, just on the menu bar item itself.

    Thanks for any guidance either way...

  2. #2
    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: ToolTip on QAction in MenuBar

    Wouldn't it be weird to have tooltip popups on top of menu popups? Have you seen any application ever do this? What about using status tips instead?
    J-P Nurmi

  3. #3
    Join Date
    Apr 2007
    Posts
    23
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: ToolTip on QAction in MenuBar

    I am assuming that this is not possible then....

    This is what I figured, but I thought I should check for sure.

    Thanks...

Similar Threads

  1. Hot to set the tooltip of button
    By santosh.kumar in forum Qt Programming
    Replies: 3
    Last Post: 1st November 2007, 12:07
  2. Replies: 2
    Last Post: 23rd February 2006, 16:38

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.