2
0

Editor.h 468 B

12345678910111213141516171819202122232425262728293031
  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. std::ofstream * logfile;
  18. CConsoleHandler * console;
  19. Ui::EditorClass ui;
  20. };
  21. #endif // EDITOR_H