Reaction for creating or deleting a python macro. More...
#include <pqMacroReaction.h>
Public Member Functions | |
pqMacroReaction (QAction *parent) | |
Public Member Functions inherited from pqMasterOnlyReaction | |
pqMasterOnlyReaction (QAction *parentObject) | |
pqMasterOnlyReaction (QAction *parentObject, Qt::ConnectionType type) | |
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 | createMacro () |
define a python file as a macro and save it. More... | |
Protected Slots | |
void | enable (bool) |
Protected Slots inherited from pqMasterOnlyReaction | |
void | updateEnableState () override |
Protected Slots inherited from pqReaction | |
virtual void | updateEnableState () |
virtual void | updateMasterEnableState (bool) |
Protected Member Functions | |
void | onTriggered () override |
Called when the action is triggered. More... | |
Additional Inherited Members | |
Protected Attributes inherited from pqReaction | |
bool | IsMaster |
Reaction for creating or deleting a python macro.
Definition at line 13 of file pqMacroReaction.h.
pqMacroReaction::pqMacroReaction | ( | QAction * | parent | ) |
|
static |
define a python file as a macro and save it.
|
protectedslot |
|
inlineoverrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 33 of file pqMacroReaction.h.