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