Results 1 to 3 of 3

Thread: How to highlight a letter in menu

  1. #1
    Join Date
    Mar 2006
    Posts
    53
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default How to highlight a letter in menu

    Hi All,

    I want to highlight a letter in a word to make it as a shortcut.

    for example File.

    In Qt designer i used like &File, but it is not getting correct to me.
    It comes as &File.

    Is there any other option to do this.

    Thanks in advance.


  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: How to highlight a letter in menu

    Qt Designer (4) provides an action editor to simplify the creation and management of actions.
    Assuming you have populated your menu, you can also see corresponding actions in the action editor.

    Select an action, switch to property editor, and enter your shortcut keysequence in the shortcut field (eg. "Ctrl+O").

  3. #3
    Join Date
    Mar 2006
    Posts
    53
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to highlight a letter in menu

    Thanks jpn

    But I am using Qt 3.3.4 Kde version.

    I cant found the action editor in this. Is there any other way.

Similar Threads

  1. Docked Widget Menu
    By Chuk in forum Qt Programming
    Replies: 6
    Last Post: 3rd July 2013, 14:12
  2. Menu Item has no highlight
    By blackfox in forum Qt Programming
    Replies: 6
    Last Post: 24th September 2008, 12:17
  3. MainWindow Menu bug in Qt 4.2.3?
    By No-Nonsense in forum Qt Programming
    Replies: 4
    Last Post: 11th March 2007, 11:47
  4. Tracking separators in a menu (insertSeparator)
    By PrimeCP in forum Qt Programming
    Replies: 4
    Last Post: 25th January 2006, 18:10

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.