simplescripteditor.h
author insilmaril
Mon Jul 09 10:23:39 2007 +0000 (2007-07-09)
changeset 542 4fdcbccbc1da
parent 434 c585be63ec69
permissions -rw-r--r--
GPL V2. Added settings to documentation
     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 saveClicked();
    19 	void saveAsClicked();
    20 	void openClicked();
    21 	void runClicked();
    22 
    23 signals:
    24 	void runScript (QString);
    25 	
    26 private:
    27     Ui::SimpleScriptEditor ui;
    28 	QString filename;
    29 	Highlighter *highlighter;
    30 };
    31 
    32 
    33 #endif