diff options
| author | Xavier Del Campo <xavi.dcr@gmail.com> | 2017-02-04 14:49:08 +0100 |
|---|---|---|
| committer | Xavier Del Campo <xavi.dcr@gmail.com> | 2017-02-04 14:49:08 +0100 |
| commit | 189ecf754d0c8131464bfdff98fb56e7752556b1 (patch) | |
| tree | 89e7d02128bbc7b2d3f5c19a3da14ec14291982a /Source/MapEditor/mainwindow.h | |
| download | airport-189ecf754d0c8131464bfdff98fb56e7752556b1.tar.gz | |
Initial commit
Diffstat (limited to 'Source/MapEditor/mainwindow.h')
| -rwxr-xr-x | Source/MapEditor/mainwindow.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Source/MapEditor/mainwindow.h b/Source/MapEditor/mainwindow.h new file mode 100755 index 0000000..e8f80d6 --- /dev/null +++ b/Source/MapEditor/mainwindow.h @@ -0,0 +1,34 @@ +#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+#include <QFileDialog>
+#include <QSettings>
+
+#include "ui_mainwindow.h"
+
+namespace Ui {
+class MainWindow;
+}
+
+class MainWindow : public QMainWindow
+{
+ Q_OBJECT
+
+public:
+ explicit MainWindow(QWidget *parent = 0);
+ ~MainWindow();
+ void closeEvent(QCloseEvent*);
+
+private:
+ Ui::MainWindow *ui;
+ bool checkFile(QFile &f);
+ void appSettings(void);
+ QString _last_dir;
+
+protected slots:
+ void onLoadMap(void);
+
+};
+
+#endif // MAINWINDOW_H
|
