32 #ifndef _pqPythonMacroSupervisor_h 33 #define _pqPythonMacroSupervisor_h 55 void addWidgetForRunMacros(QWidget* widget);
61 void addWidgetForEditMacros(QWidget* widget);
67 void addWidgetForDeleteMacros(QWidget* widget);
72 QAction* getMacro(
const QString& fileName);
77 static QMap<QString, QString> getStoredMacros();
81 static void removeStoredMacro(
const QString& filename);
85 static QString macroNameFromFileName(
const QString& filename);
87 static QStringList getMacrosFilePaths();
93 void executeScriptRequested(
const QString& filename);
97 void onEditMacro(
const QString& filename);
106 void addMacro(
const QString& macroName,
const QString& filename);
107 void addMacro(
const QString& filename);
112 void removeMacro(
const QString& filename);
116 void updateMacroList();
123 void onMacroTriggered();
128 void onDeleteMacroTriggered();
133 void onEditMacroTriggered();
140 void addWidgetForMacros(QWidget* widget,
int actionType);
148 pqInternal* Internal;
151 #endif // ifndef _pqPythonMacroSupervisor_h