author | insilmaril |
Fri Nov 09 12:07:20 2007 +0000 (2007-11-09) | |
changeset 623 | 7ba1c04d96d5 |
parent 434 | c585be63ec69 |
permissions | -rw-r--r-- |
1 #ifndef SIMPLESCRIPTEDITOR_H
2 #define SIMPLESCRIPTEDITOR_H
4 #include "ui_simplescripteditor.h"
6 #include "highlighter.h"
8 class SimpleScriptEditor:public QDialog
9 {
10 Q_OBJECT
12 public:
13 SimpleScriptEditor (QWidget* parent = 0);
14 void saveScript ();
15 void setScript(const QString &);
17 public slots:
18 void saveClicked();
19 void saveAsClicked();
20 void openClicked();
21 void runClicked();
23 signals:
24 void runScript (QString);
26 private:
27 Ui::SimpleScriptEditor ui;
28 QString filename;
29 Highlighter *highlighter;
30 };
33 #endif