mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
37 lines
495 B
C++
37 lines
495 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QGraphicsScene>
|
|
|
|
#include "maphandler.h"
|
|
|
|
class CMap;
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void on_actionOpen_triggered();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
|
|
QGraphicsScene * scene;
|
|
|
|
std::unique_ptr<CMap> map;
|
|
|
|
MapHandler mapHandler;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|