author | insilmaril |
Mon, 05 Mar 2007 23:22:51 +0000 | |
changeset 433 | 310f1d82cf89 |
parent 432 | f867269ab8a1 |
child 434 | c585be63ec69 |
permissions | -rw-r--r-- |
insilmaril@432 | 1 |
#ifndef SIMPLESCRIPTEDITOR_H |
insilmaril@432 | 2 |
#define SIMPLESCRIPTEDITOR_H |
insilmaril@432 | 3 |
|
insilmaril@432 | 4 |
#include "ui_simplescripteditor.h" |
insilmaril@432 | 5 |
|
insilmaril@432 | 6 |
class SimpleScriptEditor:public QDialog |
insilmaril@432 | 7 |
{ |
insilmaril@432 | 8 |
Q_OBJECT |
insilmaril@432 | 9 |
|
insilmaril@432 | 10 |
public: |
insilmaril@432 | 11 |
SimpleScriptEditor (QWidget* parent = 0); |
insilmaril@432 | 12 |
void saveScript (); |
insilmaril@432 | 13 |
|
insilmaril@432 | 14 |
public slots: |
insilmaril@432 | 15 |
void saveScriptClicked(); |
insilmaril@432 | 16 |
void loadScriptClicked(); |
insilmaril@432 | 17 |
void runScriptClicked(); |
insilmaril@432 | 18 |
|
insilmaril@432 | 19 |
signals: |
insilmaril@432 | 20 |
void runScript (QString); |
insilmaril@432 | 21 |
|
insilmaril@432 | 22 |
private: |
insilmaril@432 | 23 |
Ui::SimpleScriptEditor ui; |
insilmaril@432 | 24 |
QString filename; |
insilmaril@432 | 25 |
}; |
insilmaril@432 | 26 |
|
insilmaril@432 | 27 |
|
insilmaril@432 | 28 |
#endif |