ComponentButton.h 556 B

123456789101112131415161718192021222324252627282930
  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 <QPushButton>
  11. #include "EditorCommon.h"
  12. #endif
  13. class ComponentButton
  14. : public QPushButton
  15. {
  16. Q_OBJECT
  17. public:
  18. ComponentButton(HierarchyWidget* hierarchy,
  19. QWidget* parent = nullptr);
  20. private slots:
  21. void UserSelectionChanged(HierarchyItemRawPtrList* items);
  22. };