UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SStringPropertyValue.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
Widgets/SCompoundWidget.h
"
6
#include "
Framework/PropertyViewer/PropertyPath.h
"
7
#include "
Framework/PropertyViewer/PropertyValueFactory.h
"
8
9
10
namespace
UE::PropertyViewer
11
{
12
13
class
INotifyHook;
14
16
class
SStringPropertyValue
:
public
SCompoundWidget
17
{
18
public
:
19
static
ADVANCEDWIDGETS_API
TSharedPtr<SWidget>
CreateInstance
(
const
FPropertyValueFactory::FGenerateArgs
Args);
20
21
public
:
22
SLATE_BEGIN_ARGS
(
SStringPropertyValue
) {}
23
SLATE_ARGUMENT
(
FPropertyPath
, Path);
24
SLATE_ARGUMENT
(
INotifyHook
*, NotifyHook);
25
SLATE_END_ARGS
()
26
27
ADVANCEDWIDGETS_API
void
Construct
(const FArguments& InArgs);
28
29
private
:
30
FText
GetText() const;
31
void
OnTextCommitted(const
FText
&
InText
,
ETextCommit
::Type
InCommitType
);
32
33
FPropertyPath
Path;
34
INotifyHook
* NotifyHook =
nullptr
;
35
};
36
37
}
//namespace
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
SLATE_END_ARGS
#define SLATE_END_ARGS()
Definition
DeclarativeSyntaxSupport.h:116
PropertyPath.h
PropertyValueFactory.h
SCompoundWidget.h
FText
Definition
Text.h:385
SCompoundWidget
Definition
SCompoundWidget.h:22
TSharedPtr
Definition
SharedPointer.h:692
UE::PropertyViewer::INotifyHook
Definition
INotifyHook.h:13
UE::PropertyViewer::SStringPropertyValue
Definition
SStringPropertyValue.h:17
UE::PropertyViewer::SStringPropertyValue::SLATE_BEGIN_ARGS
SLATE_BEGIN_ARGS(SStringPropertyValue)
Definition
SStringPropertyValue.h:22
UE::PropertyViewer::SStringPropertyValue::CreateInstance
static ADVANCEDWIDGETS_API TSharedPtr< SWidget > CreateInstance(const FPropertyValueFactory::FGenerateArgs Args)
Definition
SStringPropertyValue.cpp:16
UE::PropertyViewer::SStringPropertyValue::Construct
ADVANCEDWIDGETS_API void Construct(const FArguments &InArgs)
Definition
SStringPropertyValue.cpp:25
UE::PropertyViewer::SStringPropertyValue::SLATE_ARGUMENT
SLATE_ARGUMENT(FPropertyPath, Path)
UE::PropertyViewer::SStringPropertyValue::SLATE_ARGUMENT
SLATE_ARGUMENT(INotifyHook *, NotifyHook)
ETextCommit
Definition
SlateEnums.h:289
UE::PropertyViewer
Definition
FieldIconFinder.cpp:16
UE::PropertyViewer::FPropertyPath
Definition
PropertyPath.h:27
UE::PropertyViewer::FPropertyValueFactory::FGenerateArgs
Definition
PropertyValueFactory.h:51
Engine
Source
Runtime
AdvancedWidgets
Public
Widgets
PropertyViewer
SStringPropertyValue.h
Generated by
1.9.8