Results 1 to 2 of 2

Thread: QToolBar and QAction

  1. #1
    Join Date
    Jan 2006
    Location
    Rzeszow, POLAND
    Posts
    20
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QToolBar and QAction

    I've got toolbar with some QAction on it. I want make sure that at one time there is only one button pressed(I've set it up as checkable).
    I can set pressed button as checked using
    Qt Code:
    1. actionTriggered ( QAction *)
    To copy to clipboard, switch view to plain text mode 
    signal, but how to unset the others?

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

    Default Re: QToolBar and QAction

    You can use an exclusive QActionGroup.
    J-P Nurmi

Similar Threads

  1. We'll need a QT Jambi section!
    By GreyGeek in forum General Discussion
    Replies: 23
    Last Post: 30th September 2006, 00:38

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.