40 lines
552 B
C
40 lines
552 B
C
|
#ifndef MAINWINDOW_H
|
||
|
#define MAINWINDOW_H
|
||
|
|
||
|
#include <QMainWindow>
|
||
|
|
||
|
namespace Ui {
|
||
|
class MainWindow;
|
||
|
}
|
||
|
|
||
|
class TObserverClientModel;
|
||
|
|
||
|
class MainWindow : public QMainWindow
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit MainWindow(QWidget *parent = 0);
|
||
|
~MainWindow();
|
||
|
|
||
|
|
||
|
|
||
|
Ui::MainWindow* GetUi()
|
||
|
{
|
||
|
return ui;
|
||
|
}
|
||
|
|
||
|
void OpenMap();
|
||
|
|
||
|
TObserverClientModel* ObserverClientModel;
|
||
|
|
||
|
|
||
|
protected:
|
||
|
void closeEvent(QCloseEvent *event);
|
||
|
|
||
|
private:
|
||
|
Ui::MainWindow *ui;
|
||
|
};
|
||
|
|
||
|
#endif // MAINWINDOW_H
|