4 #include <QtGui/QTextEdit>
5 #include <QtGui/QMainWindow>
6 #include <QtGui/QLineEdit>
7 #include <QtGui/QPushButton>
8 #include <QtGui/QLabel>
10 #include "ui/editor-window.h"
22 QList<FuncEntry> dictionary;
27 class Editor : public QMainWindow, private Ui::EditorWindow {
30 QString compiler_path;
34 Editor(char *hdir = 0, QWidget *parent = 0);
37 void compile(int mode);
40 void on_actionOpen_triggered();
41 void load(const char *fileName);
42 void on_actionSave_triggered();
43 void save(const char *fileName);
44 void on_actionSave_as_triggered();
45 void on_actionNew_triggered();
46 void on_actionProperties_triggered();
48 void on_actionCompile_triggered();
55 void on_actionFind_triggered();
56 void on_actionFind_next_triggered();
61 virtual void closeEvent (QCloseEvent * e);
70 #endif /* VLP_EDITOR */