A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
DialogueTextPropertyPickList_CustomRowHelper.cpp
Go to the documentation of this file.
1
// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved.
2
#include "
DialogueTextPropertyPickList_CustomRowHelper.h
"
3
4
#include "DetailWidgetRow.h"
5
6
#include "
DialogueEditor/DetailsPanel/Widgets/SDialogueTextPropertyPickList.h
"
7
8
#define LOCTEXT_NAMESPACE "TextPropertyPickList_CustomRowHelper"
9
11
// FDialogueTextPropertyPickList_CustomRowHelper
12
void
FDialogueTextPropertyPickList_CustomRowHelper::UpdateInternal
()
13
{
14
check(
TextPropertyPickListWidget
.IsValid());
15
TextPropertyPickListWidget
->SetToolTipAttribute(
ToolTip
);
16
TextPropertyPickListWidget
->SetPropertyHandle(
PropertyHandle
);
17
18
DetailWidgetRow
19
->NameContent()
20
[
21
NameContentWidget
.ToSharedRef()
22
]
23
.ValueContent()
24
// Similar to TextProperty, see FTextCustomization
25
.MinDesiredWidth(209.f)
26
.MaxDesiredWidth(600.f)
27
[
28
TextPropertyPickListWidget
.ToSharedRef()
29
];
30
}
31
32
#undef LOCTEXT_NAMESPACE
DialogueTextPropertyPickList_CustomRowHelper.h
SDialogueTextPropertyPickList.h
FDialogueBase_CustomRowHelper::DetailWidgetRow
FDetailWidgetRow * DetailWidgetRow
Definition
DialogueBase_CustomRowHelper.h:56
FDialogueBase_CustomRowHelper::NameContentWidget
TSharedPtr< SWidget > NameContentWidget
Definition
DialogueBase_CustomRowHelper.h:65
FDialogueBase_CustomRowHelper::ToolTip
FText ToolTip
Definition
DialogueBase_CustomRowHelper.h:69
FDialogueBase_CustomRowHelper::PropertyHandle
TSharedPtr< IPropertyHandle > PropertyHandle
Definition
DialogueBase_CustomRowHelper.h:62
FDialogueTextPropertyPickList_CustomRowHelper::TextPropertyPickListWidget
TSharedPtr< SDialogueTextPropertyPickList > TextPropertyPickListWidget
Definition
DialogueTextPropertyPickList_CustomRowHelper.h:32
FDialogueTextPropertyPickList_CustomRowHelper::UpdateInternal
void UpdateInternal() override
Definition
DialogueTextPropertyPickList_CustomRowHelper.cpp:12
SDKDemo
Plugins
UnrealEngineSDK
VisualScripter
Source
DlgSystemEditor
Private
DialogueEditor
DetailsPanel
Widgets
DialogueTextPropertyPickList_CustomRowHelper.cpp
Generated
Wed Oct 9 2024 19:52:55
by Doxygen version
1.10.0