Results 1 to 3 of 3

Thread: drop-down action icon list ?

  1. #1
    Join Date
    Oct 2009
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default drop-down action icon list ?

    Is there a simple way to do something like this with Qt ?

    (The selected icon can be checked/unchecked)

  2. #2
    Join Date
    Oct 2009
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: drop-down action icon list ?

    answer to myself: QToolButton class and .setMenu() for the pop-up choice.

  3. #3
    Join Date
    Jun 2010
    Location
    India
    Posts
    50
    Thanks
    1
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: drop-down action icon list ?

    May be ~

    Try creating QMenu with desired actions without name(empty names). Create a new action for your toolbar that will display this menu. set the menu to this action, add the action to toolbar..

Similar Threads

  1. Replies: 0
    Last Post: 4th May 2010, 10:24
  2. Replies: 2
    Last Post: 25th November 2009, 06:15
  3. QlistWidget Missing signal for Drop action
    By papitou38 in forum Qt Programming
    Replies: 1
    Last Post: 8th March 2009, 16:48
  4. Click Here Drop-Down List
    By mbrusati in forum Qt Programming
    Replies: 1
    Last Post: 30th January 2009, 00:40
  5. Checkable Action Icon
    By zgulser in forum Qt Tools
    Replies: 8
    Last Post: 15th January 2009, 13:13

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.