A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FDialogueEdge_Details Class Reference

#include <DialogueEdge_Details.h>

Inheritance diagram for FDialogueEdge_Details:
[legend]

Public Member Functions

void CustomizeChildren (TSharedRef< IPropertyHandle > StructPropertyHandle, IDetailChildrenBuilder &StructBuilder, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
 
void CustomizeHeader (TSharedRef< IPropertyHandle > StructPropertyHandle, FDetailWidgetRow &HeaderRow, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
 
TArray< FName > GetAllDialoguesSpeakerStates () const
 
void HandleSpeakerStateCommitted (const FText &InSearchText, ETextCommit::Type CommitInfo)
 
void HandleTextChanged (const FText &InText)
 
void HandleTextCommitted (const FText &InText, ETextCommit::Type CommitInfo)
 

Static Public Member Functions

static TSharedRef< IPropertyTypeCustomizationMakeInstance ()
 

Private Types

typedef FDialogueEdge_Details Self
 

Private Member Functions

EVisibility GetSpeakerStateVisibility () const
 
EVisibility GetTextVisibility () const
 

Private Attributes

bool bShowTextProperty = true
 
UDlgDialogueDialogue = nullptr
 
TSharedPtr< FDialogueTextPropertyPickList_CustomRowHelperSpeakerStatePropertyRow
 
TSharedPtr< IPropertyHandle > StructPropertyHandle
 
TSharedPtr< IPropertyHandle > TextPropertyHandle
 
TSharedPtr< FDialogueMultiLineEditableTextBox_CustomRowHelperTextPropertyRow
 

Detailed Description

How the details customization panel looks for the FDlgEdge See FDlgSystemEditorModule::StartupModule for usage.

Definition at line 17 of file DialogueEdge_Details.h.

Member Typedef Documentation

◆ Self

Definition at line 19 of file DialogueEdge_Details.h.

Member Function Documentation

◆ CustomizeChildren()

void FDialogueEdge_Details::CustomizeChildren ( TSharedRef< IPropertyHandle > StructPropertyHandle,
IDetailChildrenBuilder & StructBuilder,
IPropertyTypeCustomizationUtils & StructCustomizationUtils )
override

Called when the children of the property should be customized or extra rows added

Parameters
StructPropertyHandleHandle to the property being customized
StructBuilderA builder for adding children
StructCustomizationUtilsUtilities for customization

Definition at line 58 of file DialogueEdge_Details.cpp.

Here is the call graph for this function:

◆ CustomizeHeader()

void FDialogueEdge_Details::CustomizeHeader ( TSharedRef< IPropertyHandle > StructPropertyHandle,
FDetailWidgetRow & HeaderRow,
IPropertyTypeCustomizationUtils & StructCustomizationUtils )
override

IPropertyTypeCustomization interface Called when the header of the property (the row in the details panel where the property is shown) If nothing is added to the row, the header is not displayed

Parameters
StructPropertyHandleHandle to the property being customized
HeaderRowA row that widgets can be added to
StructCustomizationUtilsUtilities for customization

Definition at line 19 of file DialogueEdge_Details.cpp.

Here is the call graph for this function:

◆ GetAllDialoguesSpeakerStates()

TArray< FName > FDialogueEdge_Details::GetAllDialoguesSpeakerStates ( ) const
inline

Gets the Speaker States from all Dialogues.

Definition at line 49 of file DialogueEdge_Details.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSpeakerStateVisibility()

EVisibility FDialogueEdge_Details::GetSpeakerStateVisibility ( ) const
inlineprivate

Definition at line 67 of file DialogueEdge_Details.h.

Here is the caller graph for this function:

◆ GetTextVisibility()

EVisibility FDialogueEdge_Details::GetTextVisibility ( ) const
inlineprivate

Definition at line 65 of file DialogueEdge_Details.h.

Here is the caller graph for this function:

◆ HandleSpeakerStateCommitted()

void FDialogueEdge_Details::HandleSpeakerStateCommitted ( const FText & InSearchText,
ETextCommit::Type CommitInfo )

Handler for when the speaker state is changed

Definition at line 108 of file DialogueEdge_Details.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleTextChanged()

void FDialogueEdge_Details::HandleTextChanged ( const FText & InText)

Definition at line 129 of file DialogueEdge_Details.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleTextCommitted()

void FDialogueEdge_Details::HandleTextCommitted ( const FText & InText,
ETextCommit::Type CommitInfo )

Handler for when the text is changed

Definition at line 116 of file DialogueEdge_Details.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeInstance()

static TSharedRef< IPropertyTypeCustomization > FDialogueEdge_Details::MakeInstance ( )
inlinestatic

Definition at line 22 of file DialogueEdge_Details.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bShowTextProperty

bool FDialogueEdge_Details::bShowTextProperty = true
private

Bool flag indicating to show or not the Text Property of the Edge

Definition at line 82 of file DialogueEdge_Details.h.

◆ Dialogue

UDlgDialogue* FDialogueEdge_Details::Dialogue = nullptr
private

Hold a reference to dialogue we are displaying.

Definition at line 90 of file DialogueEdge_Details.h.

◆ SpeakerStatePropertyRow

TSharedPtr<FDialogueTextPropertyPickList_CustomRowHelper> FDialogueEdge_Details::SpeakerStatePropertyRow
private

Definition at line 87 of file DialogueEdge_Details.h.

◆ StructPropertyHandle

TSharedPtr<IPropertyHandle> FDialogueEdge_Details::StructPropertyHandle
private

The property handle of the entire struct.

Definition at line 79 of file DialogueEdge_Details.h.

◆ TextPropertyHandle

TSharedPtr<IPropertyHandle> FDialogueEdge_Details::TextPropertyHandle
private

Cache some properties

Definition at line 85 of file DialogueEdge_Details.h.

◆ TextPropertyRow

TSharedPtr<FDialogueMultiLineEditableTextBox_CustomRowHelper> FDialogueEdge_Details::TextPropertyRow
private

Definition at line 86 of file DialogueEdge_Details.h.


The documentation for this class was generated from the following files: