Results 1 to 2 of 2

Thread: Want custom menu items, like graphics, but how?

  1. #1
    Join Date
    Jan 2008
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Want custom menu items, like graphics, but how?

    Prior to Qt4 there used to be a QCustomMenuItem class that allowed you to draw your own popup menu items. It's not there anymore.

    Anyone who has some ideas how to achieve the same thing in Qt4?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Want custom menu items, like graphics, but how?

    You can make it a custom widget and use QWidgetAction.
    J-P Nurmi

Similar Threads

  1. Custom QTreeWidgetItem context menu?
    By AaronMK in forum Qt Programming
    Replies: 4
    Last Post: 1st February 2010, 05:42
  2. Checkboxes in menu items
    By markcole in forum Qt Programming
    Replies: 2
    Last Post: 4th June 2007, 16:16
  3. Replies: 1
    Last Post: 5th March 2007, 21:50
  4. image for a custom menu Item.......
    By Naveen in forum Qt Programming
    Replies: 2
    Last Post: 23rd February 2006, 10:28
  5. Q3TextEdit custom context menu
    By bcteh_98 in forum Qt Programming
    Replies: 1
    Last Post: 15th February 2006, 22:00

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.