4 #ifndef pqMacroReaction_h 5 #define pqMacroReaction_h 24 static void createMacro();
This is a superclass just to make it easier to collect all such reactions.
void onTriggered() override
Called when the action is triggered.
Reaction for creating or deleting a python macro.
static void createMacro()
define a python file as a macro and save it.