4 #include <QtGui/QTextEdit>
5 #include <QtGui/QMainWindow>
6 #include <QtGui/QLineEdit>
7 #include <QtGui/QPushButton>
8 #include <QtGui/QLabel>
10 #include "ui/editor.h"
22 QList<FuncEntry> dictionary;
27 class Editor : public QMainWindow, private Ui::EditorWindow {
30 QString compiler_path;
34 Editor(int argc, char **argv);
37 void compile(int mode);
40 void load(const char *fileName);
41 void save(const char *fileName);
54 void on_actionNew_triggered();
55 void on_actionOpen_triggered();
56 void on_actionSave_triggered();
57 void on_actionSave_as_triggered();
58 void on_actionQuit_triggered();
59 void on_actionCopy_triggered();
60 void on_actionPaste_triggered();
61 void on_actionCut_triggered();
62 void on_actionClear_all_triggered();
63 void on_actionFind_triggered();
64 void on_actionFind_Next_triggered();
65 void on_actionPreferences_triggered();
67 void on_actionCompile_triggered();
68 void on_actionGen_triggered();
69 void on_actionCompile_Gen_triggered();
71 void on_actionProgram_structure_triggered();
72 void on_actionUnit_structure_triggered();
75 void on_editor_cursorPositionChanged();