GemListView.h 767 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 <QAbstractItemModel>
  11. #include <QItemSelectionModel>
  12. #include <QListView>
  13. #endif
  14. namespace O3DE::ProjectManager
  15. {
  16. QT_FORWARD_DECLARE_CLASS(AdjustableHeaderWidget)
  17. class GemListView
  18. : public QListView
  19. {
  20. Q_OBJECT
  21. public:
  22. explicit GemListView(QAbstractItemModel* model, QItemSelectionModel* selectionModel, AdjustableHeaderWidget* header, bool readOnly, QWidget* parent = nullptr);
  23. ~GemListView() = default;
  24. };
  25. } // namespace O3DE::ProjectManager