simplescripteditor.h
author insilmaril
Fri Feb 01 15:28:35 2008 +0000 (2008-02-01)
changeset 662 9abdd5e6c3dc
parent 434 c585be63ec69
permissions -rw-r--r--
Added brasilian translation by Amadeu Júnior
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@434
     6
#include "highlighter.h"
insilmaril@434
     7
insilmaril@432
     8
class SimpleScriptEditor:public QDialog
insilmaril@432
     9
{
insilmaril@432
    10
    Q_OBJECT
insilmaril@432
    11
insilmaril@432
    12
public:
insilmaril@432
    13
    SimpleScriptEditor (QWidget* parent = 0);
insilmaril@432
    14
	void saveScript ();
insilmaril@434
    15
	void setScript(const QString &);
insilmaril@432
    16
insilmaril@432
    17
public slots:
insilmaril@438
    18
	void saveClicked();
insilmaril@438
    19
	void saveAsClicked();
insilmaril@438
    20
	void openClicked();
insilmaril@438
    21
	void runClicked();
insilmaril@432
    22
insilmaril@432
    23
signals:
insilmaril@432
    24
	void runScript (QString);
insilmaril@432
    25
	
insilmaril@432
    26
private:
insilmaril@432
    27
    Ui::SimpleScriptEditor ui;
insilmaril@432
    28
	QString filename;
insilmaril@434
    29
	Highlighter *highlighter;
insilmaril@432
    30
};
insilmaril@432
    31
insilmaril@432
    32
insilmaril@432
    33
#endif