author | insilmaril |
Thu Aug 09 18:34:07 2007 +0000 (2007-08-09) | |
changeset 580 | 8099ebaf4515 |
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