ConsoleDialog.h 736 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #ifndef CRYINCLUDE_EDITOR_CONSOLEDIALOG_H
  9. #define CRYINCLUDE_EDITOR_CONSOLEDIALOG_H
  10. #pragma once
  11. #if !defined(Q_MOC_RUN)
  12. #include <QDialog>
  13. #endif
  14. class CConsoleSCB;
  15. class CConsoleDialog
  16. : public QDialog
  17. , public IInitializeUIInfo
  18. {
  19. Q_OBJECT
  20. public:
  21. explicit CConsoleDialog(QWidget* parent = nullptr);
  22. void SetInfoText(const char* text) override;
  23. void closeEvent(QCloseEvent*) override;
  24. private:
  25. CConsoleSCB* const m_consoleWidget;
  26. };
  27. #endif // CRYINCLUDE_EDITOR_CONSOLEDIALOG_H