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

30 lines
730 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Styling/SlateBrush.h"
class IPropertyTableCellPresenter
{
public:
virtual ~IPropertyTableCellPresenter() { }
virtual TSharedRef< class SWidget > ConstructDisplayWidget() = 0;
virtual const FSlateBrush* GetEditModeCellBrush() { return nullptr; }
virtual bool RequiresDropDown() = 0;
virtual TSharedRef< class SWidget > ConstructEditModeCellWidget() = 0;
virtual TSharedRef< class SWidget > ConstructEditModeDropDownWidget() = 0;
virtual TSharedRef< class SWidget > WidgetToFocusOnEdit() = 0;
virtual FString GetValueAsString() = 0;
virtual FText GetValueAsText() = 0;
virtual bool HasReadOnlyEditMode() = 0;
};