2013-02-16 18:11:38 +03:00
|
|
|
#ifndef EDITOR_H
|
|
|
|
#define EDITOR_H
|
|
|
|
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
#include "ui_editor.h"
|
|
|
|
|
|
|
|
class CConsoleHandler;
|
2013-02-17 15:56:20 +03:00
|
|
|
class CMap;
|
2013-02-16 18:11:38 +03:00
|
|
|
|
|
|
|
class Editor : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
Editor(QWidget *parent = 0);
|
|
|
|
~Editor();
|
|
|
|
void createMenus();
|
2013-02-17 15:56:20 +03:00
|
|
|
|
|
|
|
|
|
|
|
std::unique_ptr<CMap> map;
|
2013-02-16 18:11:38 +03:00
|
|
|
private:
|
|
|
|
|
2013-02-16 19:37:43 +03:00
|
|
|
std::vector<std::string> txtEditor, txtEditorCmd;
|
|
|
|
|
2013-02-16 18:11:38 +03:00
|
|
|
CConsoleHandler * console;
|
|
|
|
|
|
|
|
Ui::EditorClass ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // EDITOR_H
|