Files
UnrealEngine/Engine/Source/Editor/PropertyEditor/Private/SDetailExpanderArrow.h
2025-05-18 13:04:45 +08:00

28 lines
619 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
class SButton;
class SDetailTableRowBase;
class SDetailExpanderArrow : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SDetailExpanderArrow) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, TSharedRef<SDetailTableRowBase> DetailsRow);
private:
EVisibility GetExpanderVisibility() const;
const FSlateBrush* GetExpanderImage() const;
FReply OnExpanderClicked();
private:
TWeakPtr<SDetailTableRowBase> Row;
TSharedPtr<SButton> ExpanderArrow;
};