34 IDetailChildrenBuilder& StructBuilder, IPropertyTypeCustomizationUtils& StructCustomizationUtils)
36 const bool bHasDialogue =
Dialogue !=
nullptr;
40 const TSharedPtr<IPropertyHandle> ParticipantNamePropertyHandle =
42 FDetailWidgetRow* DetailWidgetRow = &StructBuilder.AddCustomRow(LOCTEXT(
"ParticipantNameSearchKey",
"Participant Name"));
44 ParticipantNamePropertyRow = MakeShared<FDialogueTextPropertyPickList_CustomRowHelper>(DetailWidgetRow, ParticipantNamePropertyHandle);
49 .HasContextCheckbox(bHasDialogue)
50 .IsContextCheckBoxChecked(
true)
59 FDetailWidgetRow* DetailWidgetRow = &StructBuilder.AddCustomRow(LOCTEXT(
"TextSearchKey",
"Text"));
62 TextPropertyRow->SetPropertyUtils(StructCustomizationUtils.GetPropertyUtilities());
70 FDetailWidgetRow* DetailWidgetRow = &StructBuilder.AddCustomRow(LOCTEXT(
"EdgeTextSearchKey",
"Edge Text"));
83 const TSharedPtr<IPropertyHandle> SpeakerStatePropertyHandle =
86 FDetailWidgetRow* DetailWidgetRow = &StructBuilder.AddCustomRow(LOCTEXT(
"SpeakerStateSearchKey",
"Speaker State"));
88 SpeakerStatePropertyRow = MakeShared<FDialogueTextPropertyPickList_CustomRowHelper>(DetailWidgetRow, SpeakerStatePropertyHandle);
93 .HasContextCheckbox(
false)
IDetailPropertyRow * NodeDataPropertyRow
TSharedPtr< IPropertyHandle > EdgeTextPropertyHandle
IDetailPropertyRow * VoiceDialogueWavePropertyRow
TSharedPtr< IPropertyHandle > StructPropertyHandle
IDetailPropertyRow * VoiceSoundWavePropertyRow
IDetailPropertyRow * GenericDataPropertyRow
TArray< FName > GetAllDialoguesSpeakerStates() const
TSharedPtr< FDialogueTextPropertyPickList_CustomRowHelper > SpeakerStatePropertyRow
TSharedPtr< FDialogueTextPropertyPickList_CustomRowHelper > ParticipantNamePropertyRow
TArray< FName > GetAllDialoguesParticipantNames() const
TSharedPtr< IPropertyHandle > TextPropertyHandle
TSharedPtr< FDialogueMultiLineEditableTextBox_CustomRowHelper > TextPropertyRow
void CustomizeHeader(TSharedRef< IPropertyHandle > StructPropertyHandle, FDetailWidgetRow &HeaderRow, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
void HandleTextCommitted(const FText &InSearchText, ETextCommit::Type CommitInfo) const
void CustomizeChildren(TSharedRef< IPropertyHandle > StructPropertyHandle, IDetailChildrenBuilder &StructBuilder, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
TArray< FName > GetCurrentDialogueParticipantNames() const
TSharedPtr< FDialogueMultiLineEditableTextBox_CustomRowHelper > EdgeTextPropertyRow