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

32 lines
735 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Misc/NotifyHook.h"
#include "Widgets/SCompoundWidget.h"
class IDetailsView;
class FWidgetBlueprintEditor;
namespace UE::UMG::Editor
{
class SPreviewDetails : public SCompoundWidget, public FNotifyHook
{
SLATE_BEGIN_ARGS(SPreviewDetails) {}
SLATE_END_ARGS()
void Construct(const FArguments& Args, TSharedPtr<FWidgetBlueprintEditor> InBlueprintEditor);
virtual void NotifyPostChange(const FPropertyChangedEvent& PropertyChangedEvent, class FEditPropertyChain* PropertyThatChanged) override;
private:
void HandleSelectedObjectChanged();
private:
TWeakPtr<FWidgetBlueprintEditor> WeakEditor;
TSharedPtr<IDetailsView> DetailsView;
};
} // namespace