Editor.h 441 B

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