3
0

ShaderManagementConsoleStatisticView.h 931 B

12345678910111213141516171819202122232425262728293031323334
  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 <QStandardItemModel>
  11. #include <QTableWidget>
  12. #endif
  13. #include <Data/ShaderVariantStatisticData.h>
  14. namespace ShaderManagementConsole
  15. {
  16. class ShaderManagementConsoleStatisticView
  17. : public QTableWidget
  18. {
  19. public:
  20. AZ_CLASS_ALLOCATOR(ShaderManagementConsoleStatisticView, AZ::SystemAllocator);
  21. ShaderManagementConsoleStatisticView(ShaderVariantStatisticData statisticData, QWidget* parent);
  22. ~ShaderManagementConsoleStatisticView();
  23. void BuildTable();
  24. void ShowContextMenu(const QPoint& pos);
  25. void ShowMaterialList(AZ::Name optionName);
  26. ShaderVariantStatisticData m_statisticData;
  27. };
  28. }