Reaction to show or hide all sources output ports. More...
#include <pqShowHideAllReaction.h>
Public Types | |
enum | ActionType { ActionType::Show, ActionType::Hide } |
Public Member Functions | |
pqShowHideAllReaction (QAction *parent, ActionType action) | |
Public Member Functions inherited from pqReaction | |
pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection) | |
Constructor. More... | |
~pqReaction () override | |
QAction * | parentAction () const |
Provides access to the parent action. More... | |
Static Public Member Functions | |
static void | act (ActionType action) |
Protected Member Functions | |
void | onTriggered () override |
Called when the action is triggered. More... | |
Additional Inherited Members | |
Protected Slots inherited from pqReaction | |
virtual void | updateEnableState () |
virtual void | updateMasterEnableState (bool) |
Protected Attributes inherited from pqReaction | |
bool | IsMaster |
Reaction to show or hide all sources output ports.
Definition at line 13 of file pqShowHideAllReaction.h.
|
strong |
Enumerator | |
---|---|
Show | |
Hide |
Definition at line 19 of file pqShowHideAllReaction.h.
pqShowHideAllReaction::pqShowHideAllReaction | ( | QAction * | parent, |
ActionType | action | ||
) |
|
static |
|
inlineoverrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 33 of file pqShowHideAllReaction.h.