Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef MAINWINDOW_H
00022 #define MAINWINDOW_H
00023
00024 #include <QMainWindow>
00025 #include "smproject.h"
00026 #include <QString>
00027 #include "textformattoolbar.h"
00028
00029 class SCFormView;
00030
00031 class QSettings;
00032
00033 namespace Ui {
00034 class MainWindow;
00035 }
00036
00037 class MainWindow : public QMainWindow
00038 {
00039 Q_OBJECT
00040
00041 public:
00042 explicit MainWindow(QWidget *parent = 0);
00043 ~MainWindow();
00044
00045 private:
00046 Ui::MainWindow *ui;
00047
00048 SMProject *_project;
00049 QSettings *_settings;
00050 static QString _keyLastFilePath;
00051 SCFormView *_formEditorWindow;
00052 TextFormatToolBar *_textFormatToolBar;
00053
00054 private slots:
00055 void handleFileOpenClick();
00056 void handleFileSaveClick();
00057 void handleNewClick();
00058 void handleReadInputFileDone(bool,QStringList);
00059 };
00060
00061 #endif // MAINWINDOW_H