GemListHeaderWidget.h 750 B

12345678910111213141516171819202122232425262728293031
  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 <GemCatalog/GemFilterTagWidget.h>
  11. #include <GemCatalog/GemSortFilterProxyModel.h>
  12. #include <QFrame>
  13. #endif
  14. namespace O3DE::ProjectManager
  15. {
  16. class GemListHeaderWidget
  17. : public QFrame
  18. {
  19. Q_OBJECT
  20. public:
  21. explicit GemListHeaderWidget(GemSortFilterProxyModel* proxyModel, QWidget* parent = nullptr);
  22. ~GemListHeaderWidget() = default;
  23. signals:
  24. void OnRefresh(bool refreshRemoteRepos);
  25. };
  26. } // namespace O3DE::ProjectManager