Results 1 to 4 of 4

Thread: Qt Mac, search field in the menu

  1. #1
    Join Date
    May 2009
    Posts
    21
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt Mac, search field in the menu

    On Mac all apps have a nice search field under the help menu (see attached image).
    And many qt apps have it too! But i can't find any info about this.

    How do i add that to my menu?

    ps. i looked on qtcreator's src code, but i didn't find anything!
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Qt Mac, search field in the menu

    I think it has something to do with string matching. Often this menu disappears after translating an application from english to some other language. I filled some bug reports to nokia about that help menu in their development tools and the answer was something like: It is not documented by apple how to do this. Sometimes it works, sometimes not.
    It's nice to be important but it's more important to be nice.

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

    giowck (13th August 2009)

  4. #3
    Join Date
    Aug 2009
    Posts
    44
    Thanks
    29
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Mac, search field in the menu

    Quote Originally Posted by axeljaeger View Post
    I think it has something to do with string matching. Often this menu disappears after translating an application from english to some other language. I filled some bug reports to nokia about that help menu in their development tools and the answer was something like: It is not documented by apple how to do this. Sometimes it works, sometimes not.
    anyone knows the right string?

  5. #4
    Join Date
    Apr 2007
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Qt Mac, search field in the menu

    I believe simply creating a menu named 'Help' in the main menu bar on a Mac will cause this search field to appear. I have not been able to discover how to provide results for the search however.

    D

Similar Threads

  1. Docked Widget Menu
    By Chuk in forum Qt Programming
    Replies: 6
    Last Post: 3rd July 2013, 14:12
  2. Replies: 0
    Last Post: 29th July 2009, 19:27
  3. Qt 4.4.0 Help Module : Search not working
    By Ankitha Varsha in forum Qt Programming
    Replies: 0
    Last Post: 22nd May 2008, 08:45
  4. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16:48
  5. MainWindow Menu bug in Qt 4.2.3?
    By No-Nonsense in forum Qt Programming
    Replies: 4
    Last Post: 11th March 2007, 11:47

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.