simplescripteditor.h
author insilmaril
Tue Apr 10 13:22:52 2007 +0000 (2007-04-10)
changeset 447 72afe12da1c8
parent 434 c585be63ec69
permissions -rw-r--r--
1.8.71 Basic support for macros
     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