simplescripteditor.h
author insilmaril
Tue, 06 Mar 2007 19:37:39 +0000
changeset 434 c585be63ec69
parent 432 f867269ab8a1
child 438 eae9abe70d7c
permissions -rw-r--r--
1.8.69 Some more scripting functionality (for testing)
     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