Results 1 to 2 of 2

Thread: Toolbar/menu actions with radio behavior?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Nov 2009
    Posts
    129
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4
    Thanked 29 Times in 29 Posts

    Default Re: Toolbar/menu actions with radio behavior?

    Quote Originally Posted by brcain View Post
    There is no autoExlusive property for an action. So how, is this achieved?
    I think you want a QActionGroup.

    Quote Originally Posted by brcain View Post
    Ideally, I'd like to set it in Designer.
    I think you’re stuck on that one. You can define and associate the QActions in Qt Designer, but you’ll have to insert them into a QActionGroup in code.

  2. The following user says thank you to Coises for this useful post:

    alizadeh91 (30th June 2013)

Similar Threads

  1. Adding actions to a context menu
    By aarelovich in forum Qt Programming
    Replies: 4
    Last Post: 7th December 2011, 12:47
  2. Get the actions from a toolbar
    By jano_alex_es in forum Newbie
    Replies: 3
    Last Post: 20th May 2009, 09:02
  3. Radio menu items in Designer
    By rbp in forum Qt Tools
    Replies: 0
    Last Post: 31st March 2009, 00:50
  4. Spacing widgets and actions in a toolbar
    By indifference in forum Qt Programming
    Replies: 1
    Last Post: 5th September 2007, 22:59
  5. menu actions calling a single slot
    By jayw710 in forum Qt Programming
    Replies: 2
    Last Post: 28th June 2007, 19:19

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.