From 189ecf754d0c8131464bfdff98fb56e7752556b1 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Date: Sat, 4 Feb 2017 14:49:08 +0100 Subject: Initial commit --- Source/MapEditor/mainwindow.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 Source/MapEditor/mainwindow.h (limited to 'Source/MapEditor/mainwindow.h') 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 +#include +#include + +#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 -- cgit v1.2.3