summaryrefslogtreecommitdiff
path: root/client/macrowindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/macrowindow.h')
-rw-r--r--client/macrowindow.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/macrowindow.h b/client/macrowindow.h
index 76d068c..c34c978 100644
--- a/client/macrowindow.h
+++ b/client/macrowindow.h
@@ -58,11 +58,17 @@ public:
LUA *lua;
Widget *getWidget(QString name);
+
+ // Add a widget that can be seen from script, and will be committed, and validated.
+ void addWidgets(QVector< Widget* >);
+
+ // Add a widget that can only be seen from scripts, but will not be committed or validated.
void addAuxWidgets(QVector< Widget* >);
void update(QDomNode &xml_doc);
QString macrotitle;
+ bool isstatic;
public slots:
void commit();
@@ -73,8 +79,14 @@ public slots:
void toggleMacro();
+ void macroChanged();
+
+ void collapseWrapper();
+ void expandWrapper();
+
signals:
void updateOnCommit();
+ void macroHasChanged();
private:
void initMacro(QDomNode &node);
@@ -92,6 +104,8 @@ private:
void close();
NetCom *netcom;
+
+ bool waschanged;
};
#endif/*__PRACRO_MACROWINDOW_H__*/