Results 1 to 5 of 5

Thread: Need to show a menu item with disabled look but functional

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Need to show a menu item with disabled look but functional

    then disable all necessary actions, install event filter (QObject::installEventFilter) for QMenu and then catch QMouseEvent. an action by mouse click point you can get using QMenu::actionAt
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  2. #2
    Join Date
    Oct 2009
    Location
    Craiova, Romania
    Posts
    46
    Thanks
    3
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Need to show a menu item with disabled look but functional

    OK, thank you! I'll think of your solution.

Similar Threads

  1. Removing the selection of a menu item from QMenuBar
    By febil in forum Qt Programming
    Replies: 2
    Last Post: 18th March 2009, 09:31
  2. Replies: 1
    Last Post: 18th March 2009, 04:56
  3. creating a "path" for the menu item
    By roxton in forum Qt Programming
    Replies: 4
    Last Post: 17th January 2009, 16:32
  4. Menu Item has no highlight
    By blackfox in forum Qt Programming
    Replies: 6
    Last Post: 24th September 2008, 12:17
  5. Qt/MacOSX preferences menu item
    By mcenatie in forum Qt Programming
    Replies: 4
    Last Post: 14th March 2006, 04:24

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.