Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | List of all members
pqMacroReaction Class Reference

Reaction for creating or deleting a python macro. More...

#include <pqMacroReaction.h>

Inheritance diagram for pqMacroReaction:
Inheritance graph
Collaboration diagram for pqMacroReaction:
Collaboration graph

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

Detailed Description

Reaction for creating or deleting a python macro.

Definition at line 13 of file pqMacroReaction.h.

Constructor & Destructor Documentation

◆ pqMacroReaction()

pqMacroReaction::pqMacroReaction ( QAction *  parent)

Member Function Documentation

◆ createMacro()

static void pqMacroReaction::createMacro ( )

define a python file as a macro and save it.

◆ enable

void pqMacroReaction::enable ( bool  )

◆ onTriggered()

void pqMacroReaction::onTriggered ( )

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 33 of file pqMacroReaction.h.

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