NotificationWidget.h 702 B

123456789101112131415161718192021222324252627282930313233
  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 <AzQtComponents/AzQtComponentsAPI.h>
  11. #include <QFrame>
  12. #include <QString>
  13. #endif
  14. class QVBoxLayout;
  15. class QIcon;
  16. namespace EMotionFX
  17. {
  18. class NotificationWidget
  19. : public QFrame
  20. {
  21. Q_OBJECT
  22. public:
  23. NotificationWidget(QWidget* parent, const QString& title);
  24. void addFeature(QWidget* feature);
  25. private:
  26. QVBoxLayout* m_featureLayout = nullptr;
  27. };
  28. } // namespace AzQtComponents