This class is used to synchronize the checked state of actions with checkable buttons or other actions.
More...
#include <QtActionGroup.qo.h>
|
| QtActionSynchronizer (QObject *parent=NULL) |
| Constructor which takes an optional parent. More...
|
|
virtual | ~QtActionSynchronizer () |
| Destructor. More...
|
|
virtual void | synchronize (QAction *action, QAbstractButton *button) |
| Synchronizes the given action in this group with the given button or other action. More...
|
|
virtual void | synchronize (QAction *action, QAction *otherAction) |
|
virtual void | unsynchronize (QAction *action) |
| Unsynchronizes all buttons/actions associated with the given in this group. More...
|
|
virtual void | unsynchronize (QAbstractButton *button) |
|
virtual void | unsynchronize (QAction *action, QAbstractButton *button) |
| Unsyncrhonizes the given action in this group with the given button/action. More...
|
|
virtual void | unsynchronize (QAction *action, QAction *otherAction) |
|
|
virtual void | actionTriggered_ (QAction *action, bool checked) |
| Method which updates the actions/buttons associated with the given action. More...
|
|
virtual void | synchronizedTriggered_ (QAction *action, QAbstractButton *button, bool checked) |
| Method which updates the action(s) associated with the given action or button to the given checked state. More...
|
|
This class is used to synchronize the checked state of actions with checkable buttons or other actions.
This makes it so that clicking the synchronized button/action has the same effect as clicking the action itself.
Definition at line 43 of file QtActionGroup.qo.h.
casa::QtActionSynchronizer::QtActionSynchronizer |
( |
QObject * |
parent = NULL | ) |
|
Constructor which takes an optional parent.
virtual casa::QtActionSynchronizer::~QtActionSynchronizer |
( |
| ) |
|
|
virtual |
virtual void casa::QtActionSynchronizer::actionToggled |
( |
bool |
checked | ) |
|
|
protectedvirtualslot |
virtual void casa::QtActionSynchronizer::actionTriggered |
( |
bool |
checked | ) |
|
|
protectedvirtualslot |
virtual void casa::QtActionSynchronizer::actionTriggered_ |
( |
QAction * |
action, |
|
|
bool |
checked |
|
) |
| |
|
protectedvirtual |
Method which updates the actions/buttons associated with the given action.
virtual void casa::QtActionSynchronizer::synchronize |
( |
QAction * |
action, |
|
|
QAbstractButton * |
button |
|
) |
| |
|
virtual |
Synchronizes the given action in this group with the given button or other action.
Reimplemented in casa::QtActionGroup.
virtual void casa::QtActionSynchronizer::synchronize |
( |
QAction * |
action, |
|
|
QAction * |
otherAction |
|
) |
| |
|
virtual |
virtual void casa::QtActionSynchronizer::synchronizedToggled |
( |
bool |
checked | ) |
|
|
protectedvirtualslot |
virtual void casa::QtActionSynchronizer::synchronizedTriggered |
( |
bool |
checked | ) |
|
|
protectedvirtualslot |
virtual void casa::QtActionSynchronizer::synchronizedTriggered_ |
( |
QAction * |
action, |
|
|
QAbstractButton * |
button, |
|
|
bool |
checked |
|
) |
| |
|
protectedvirtual |
Method which updates the action(s) associated with the given action or button to the given checked state.
virtual void casa::QtActionSynchronizer::unsynchronize |
( |
QAction * |
action | ) |
|
|
virtual |
Unsynchronizes all buttons/actions associated with the given in this group.
virtual void casa::QtActionSynchronizer::unsynchronize |
( |
QAbstractButton * |
button | ) |
|
|
virtual |
virtual void casa::QtActionSynchronizer::unsynchronize |
( |
QAction * |
action, |
|
|
QAbstractButton * |
button |
|
) |
| |
|
virtual |
Unsyncrhonizes the given action in this group with the given button/action.
virtual void casa::QtActionSynchronizer::unsynchronize |
( |
QAction * |
action, |
|
|
QAction * |
otherAction |
|
) |
| |
|
virtual |
QMultiMap<QAction*, QAction*> casa::QtActionSynchronizer::itsSynchedActions_ |
|
protected |
QMultiMap<QAction*, QAbstractButton*> casa::QtActionSynchronizer::itsSynchedButtons_ |
|
protected |
The documentation for this class was generated from the following file: