MessageWindow.h 700 B

123456789101112131415161718192021222324252627282930
  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. #pragma once
  9. #if !defined(Q_MOC_RUN)
  10. #include <QStringList>
  11. #include <ui/ui_MessageWindow.h>
  12. #endif
  13. class MessageWindow
  14. : public QDialog
  15. {
  16. public:
  17. explicit MessageWindow(QWidget* parent = nullptr);
  18. ~MessageWindow() override;
  19. void SetHeaderText(QString headerText);
  20. void SetMessageText(QStringList messageText);
  21. void SetTitleText(QString titleText);
  22. void ViewLogsClicked();
  23. private:
  24. Ui::MessageWindow* m_ui{};
  25. QStringList m_messageText;
  26. };