simplescripteditor.h
author insilmaril
Wed Mar 21 11:51:38 2007 +0000 (2007-03-21)
changeset 436 19e5907b7818
parent 432 f867269ab8a1
child 438 eae9abe70d7c
permissions -rw-r--r--
Slightly improved scripting abilities
     1 #ifndef SIMPLESCRIPTEDITOR_H
     2 #define SIMPLESCRIPTEDITOR_H
     3 
     4 #include "ui_simplescripteditor.h"
     5 
     6 #include "highlighter.h"
     7 
     8 class SimpleScriptEditor:public QDialog
     9 {
    10     Q_OBJECT
    11 
    12 public:
    13     SimpleScriptEditor (QWidget* parent = 0);
    14 	void saveScript ();
    15 	void setScript(const QString &);
    16 
    17 public slots:
    18 	void saveScriptClicked();
    19 	void loadScriptClicked();
    20 	void runScriptClicked();
    21 
    22 signals:
    23 	void runScript (QString);
    24 	
    25 private:
    26     Ui::SimpleScriptEditor ui;
    27 	QString filename;
    28 	Highlighter *highlighter;
    29 };
    30 
    31 
    32 #endif