Results 1 to 2 of 2

Thread: Add a entry to the application menu

  1. #1
    Join Date
    Apr 2006
    Location
    New Zealand
    Posts
    11
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Add a entry to the application menu

    Hi
    I've got a little dialog base app without any menus and would like to add an "About" entry to the application menu. By application menu I mean the menu you can find under the mini icon in the title bar in the top left corner of the window.
    How do I do that? I would also like to add a separator.

    Thanks a lot.

  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: Add a entry to the application menu

    It's the window system menu. Unfortunately you cannot put your own actions there.
    Qt doesn't construct the window system menu, the whole title bar is provided by the underlying window manager.
    There are only a few hints you can give to customize title bar's appearance.
    J-P Nurmi

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

    mace (2nd May 2006)

Similar Threads

  1. Docked Widget Menu
    By Chuk in forum Qt Programming
    Replies: 6
    Last Post: 3rd July 2013, 14:12
  2. QSkinWindows Classes
    By kernel_panic in forum Qt-based Software
    Replies: 45
    Last Post: 20th April 2010, 12:35
  3. Changing the name of the application menu on OSX
    By bishop123b in forum Qt Programming
    Replies: 4
    Last Post: 27th December 2008, 02:48
  4. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37

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.