You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
455 B
C++
29 lines
455 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#if !defined(Q_MOC_RUN)
|
|
#include <QPushButton>
|
|
|
|
#include "EditorCommon.h"
|
|
#endif
|
|
|
|
class ComponentButton
|
|
: public QPushButton
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
ComponentButton(HierarchyWidget* hierarchy,
|
|
QWidget* parent = nullptr);
|
|
|
|
private slots:
|
|
|
|
void UserSelectionChanged(HierarchyItemRawPtrList* items);
|
|
};
|