Editor.h 461 B

123456789101112131415161718192021222324252627282930
  1. #ifndef EDITOR_H
  2. #define EDITOR_H
  3. #include <memory>
  4. #include <QtWidgets/QMainWindow>
  5. #include "ui_editor.h"
  6. class CConsoleHandler;
  7. class CMap;
  8. class Editor : public QMainWindow
  9. {
  10. Q_OBJECT
  11. public:
  12. Editor(QWidget *parent = 0);
  13. ~Editor();
  14. void createMenus();
  15. std::unique_ptr<CMap> map;
  16. private:
  17. std::vector<std::string> txtEditor, txtEditorCmd;
  18. CConsoleHandler * console;
  19. Ui::EditorClass ui;
  20. };
  21. #endif // EDITOR_H