IEditableTextProperty

Interface to allow [STextPropertyEditableTextBox](API\Editor\EditorWidgets\STextPropertyEditableTextBox) to be used to edit both properties and Blueprint pins

Unreal Engine C++ API Reference > Editor > EditorWidgets

References

   
Module EditorWidgets
Header /Engine/Source/Editor/EditorWidgets/Public/STextPropertyEditableTextBox.h
Include #include "STextPropertyEditableTextBox.h"

Syntax

class IEditableTextProperty  

Remarks

Interface to allow STextPropertyEditableTextBox to be used to edit both properties and Blueprint pins

Destructors

Type Name Description
  ~IEditableTextProperty ()  

Functions

Type Name Description
int32 GetNumTexts () Get the number of FText instances being edited by this property
void GetStableTextId ( const int32 InIndex, const ETextPropertyEditAction InEdi..., const FString& InTextSource, const FString& InProposedNamespace, const FString& InProposedKey, FString& OutStableNamespace, FString& OutStableKey ) Get the stable text ID for the given index (check against GetNumTexts)
FText GetText ( const int32 InIndex ) Get the text at the given index (check against GetNumTexts)
FText GetToolTipText () Get the tooltip text associated with the property being edited
bool IsDefaultValue () Is the value associated with the properties the default value?
bool IsMultiLineText () Are the text properties being edited marked as multi-line?
bool IsPassword () Are the text properties being edited marked as password fields?
bool IsReadOnly () Are the text properties being edited read-only?
bool IsValidText ( const FText& InText, FText& OutErrorMsg ) Check to see if the given text is valid to use
void SetText ( const int32 InIndex, const FText& InText ) Set the text at the given index (check against GetNumTexts)
void StaticStableTextId ( UObject* InObject, const ETextPropertyEditAction InEdi..., const FString& InTextSource, const FString& InProposedNamespace, const FString& InProposedKey, FString& OutStableNamespace, FString& OutStableKey ) Get the localization ID we should use for the given object, and the given text instance
void StaticStableTextId ( UPackage* InPackage, const ETextPropertyEditAction InEdi..., const FString& InTextSource, const FString& InProposedNamespace, const FString& InProposedKey, FString& OutStableNamespace, FString& OutStableKey ) Get the localization ID we should use for the given package, and the given text instance

Enums

Type Name Description
Public enum ETextPropertyEditAction  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library