4425
|
1 |
#ifndef MAINWINDOW_H
|
|
2 |
#define MAINWINDOW_H
|
|
3 |
|
|
4 |
#include <QMainWindow>
|
|
5 |
|
|
6 |
namespace Ui {
|
|
7 |
class MainWindow;
|
|
8 |
}
|
|
9 |
|
4427
|
10 |
class DrawMapScene;
|
|
11 |
|
4425
|
12 |
class MainWindow : public QMainWindow {
|
|
13 |
Q_OBJECT
|
|
14 |
public:
|
|
15 |
MainWindow(QWidget *parent = 0);
|
|
16 |
~MainWindow();
|
|
17 |
|
|
18 |
protected:
|
|
19 |
void changeEvent(QEvent *e);
|
|
20 |
|
|
21 |
private:
|
|
22 |
Ui::MainWindow *ui;
|
4427
|
23 |
DrawMapScene * scene;
|
4425
|
24 |
|
4427
|
25 |
private slots:
|
4442
|
26 |
void on_pbLoad_clicked();
|
|
27 |
void on_pbSave_clicked();
|
4427
|
28 |
void scene_pathChanged();
|
4425
|
29 |
};
|
|
30 |
|
|
31 |
#endif // MAINWINDOW_H
|