LODTreeSelectionWidget.h 936 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 <SceneAPI/SceneUI/RowWidgets/NodeTreeSelectionWidget.h>
  11. #include <EMotionFX/Pipeline/AzSceneDef.h>
  12. #endif
  13. namespace EMotionFX
  14. {
  15. namespace Pipeline
  16. {
  17. namespace UI
  18. {
  19. class LODTreeSelectionWidget : public SceneUI::NodeTreeSelectionWidget
  20. {
  21. Q_OBJECT
  22. public:
  23. AZ_CLASS_ALLOCATOR_DECL
  24. LODTreeSelectionWidget(QWidget* parent);
  25. void HideUncheckable(bool hide);
  26. protected:
  27. virtual void ResetNewTreeWidget(const SceneContainers::Scene& scene);
  28. bool m_hideUncheckableItem;
  29. };
  30. }
  31. }
  32. }