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 |
|
|
25 |
virtual void resizeEvent(QResizeEvent * event);
|
4427
|
26 |
|
|
27 |
private slots:
|
4434
|
28 |
void on_pbSimplify_clicked();
|
4427
|
29 |
void scene_pathChanged();
|
4425
|
30 |
};
|
|
31 |
|
|
32 |
#endif // MAINWINDOW_H
|