Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
pqShowHideAllReaction Class Reference

Reaction to show or hide all sources output ports. More...

#include <pqShowHideAllReaction.h>

Inheritance diagram for pqShowHideAllReaction:
Inheritance graph
[legend]
Collaboration diagram for pqShowHideAllReaction:
Collaboration graph
[legend]

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
 

Detailed Description

Reaction to show or hide all sources output ports.

Definition at line 13 of file pqShowHideAllReaction.h.

Member Enumeration Documentation

◆ ActionType

Enumerator
Show 
Hide 

Definition at line 19 of file pqShowHideAllReaction.h.

Constructor & Destructor Documentation

◆ pqShowHideAllReaction()

pqShowHideAllReaction::pqShowHideAllReaction ( QAction *  parent,
ActionType  action 
)

Member Function Documentation

◆ act()

static void pqShowHideAllReaction::act ( ActionType  action)
static

◆ onTriggered()

void pqShowHideAllReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 33 of file pqShowHideAllReaction.h.


The documentation for this class was generated from the following file: