Files
UnrealEngine/Engine/Source/Editor/UMGEditor/Private/Preview/SPreviewDetails.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05: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