Results 1 to 2 of 2

Thread: Looking for open source Qt menu item class

  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Looking for open source Qt menu item class

    I need to build a custom pulldown menu, which can have check box, radio button, sub-menu, etc.

    I wonder if there is an open source to make those menu items easily?

    Thanks

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Looking for open source Qt menu item class

    QAction and QMenu together already have built-in support for icons, check boxes, and sub-menus. If you use QActionGroup to group together several QAction instances, you can add support for exclusive checkbox behavior (which is the same as radio button behavior).

    No need for any custom source, it is already there in basic Qt.

Similar Threads

  1. Replies: 0
    Last Post: 26th November 2012, 13:18
  2. Replies: 1
    Last Post: 4th November 2011, 11:25
  3. Is Qt open source?
    By Saman in forum Newbie
    Replies: 4
    Last Post: 21st May 2009, 07:17
  4. Replies: 11
    Last Post: 24th March 2006, 06:40
  5. Qt 3.3.6 open source mac
    By munna in forum General Discussion
    Replies: 1
    Last Post: 22nd March 2006, 11:35

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.