36 UE_DEPRECATED(5.1,
"Direct access to Text is deprecated. Please use the getter or setter.")
38 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintGetter = "GetText", BlueprintSetter = "SetText", FieldNotify, Category = "
Content")
48 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category=
Appearance, meta=(DisplayName="Style", ShowOnlyInnerProperties))
53 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetHintText", Category =
Content, meta = (MultiLine = "
true"))
67 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetIsPassword", Category =
Appearance)
72 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter=SetMinDesiredWidth, Category = "
Appearance")
73 float MinimumDesiredWidth;
77 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category=Behavior, AdvancedDisplay)
78 bool IsCaretMovedWhenGainFocus;
82 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category=Behavior, AdvancedDisplay)
83 bool SelectAllTextWhenFocused;
87 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category=Behavior, AdvancedDisplay)
88 bool RevertTextOnEscape;
92 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category=Behavior, AdvancedDisplay)
93 bool ClearKeyboardFocusOnCommit;
97 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category=Behavior, AdvancedDisplay)
98 bool SelectAllTextOnCommit;
101 UPROPERTY(EditAnywhere, Category=Behavior, AdvancedDisplay)
102 bool AllowContextMenu;
105 UPROPERTY(EditAnywhere, Category=Behavior, AdvancedDisplay)
109 UPROPERTY(EditAnywhere, Category=Behavior, AdvancedDisplay)
113 UPROPERTY(EditAnywhere, Category = Behavior, AdvancedDisplay)
117 UPROPERTY(EditAnywhere, Category=Behavior, AdvancedDisplay)
122 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = SetJustification, Category =
Appearance)
127 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter="GetTextOverflowPolicy", Setter= "SetTextOverflowPolicy", BlueprintSetter = "SetTextOverflowPolicy", Category = "Clipping", AdvancedDisplay, meta = (DisplayName = "
Overflow Policy"))
132 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category=
Localization, AdvancedDisplay, meta=(ShowOnlyInnerProperties))
176 UMG_API float GetMinimumDesiredWidth() const;
186 UMG_API void SetIsCaretMovedWhenGainFocus(
bool bIsCaretMovedWhenGainFocus);
189 UMG_API bool GetIsCaretMovedWhenGainFocus() const;
192 UMG_API void SetSelectAllTextWhenFocused(
bool bSelectAllTextWhenFocused);
195 UMG_API bool GetSelectAllTextWhenFocused() const;
198 UMG_API void SetRevertTextOnEscape(
bool bRevertTextOnEscape);
201 UMG_API bool GetRevertTextOnEscape() const;
204 UMG_API void SetClearKeyboardFocusOnCommit(
bool bClearKeyboardFocusOnCommit);
207 UMG_API bool GetClearKeyboardFocusOnCommit() const;
210 UMG_API void SetSelectAllTextOnCommit(
bool bSelectAllTextOnCommit);
213 UMG_API bool GetSelectAllTextOnCommit() const;
219 UMG_API bool GetIsReadOnly() const;
225 UMG_API bool GetIsPassword() const;
227 UFUNCTION(BlueprintCallable, Category = "
Widget", meta = (DisplayName = "IsPassword"))
228 UMG_API void SetIsPassword(
bool bIsPassword);
280#if WITH_ACCESSIBILITY
294#if WITH_EDITORONLY_DATA
Definition SEditableTextBox.h:29
Definition EditableTextBox.h:27
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnEditableTextBoxCommittedEvent, const FText &, Text, ETextCommit::Type, CommitMethod)
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnEditableTextBoxChangedEvent, const FText &, Text)
TSharedPtr< SEditableTextBox > MyEditableTextBlock
Definition EditableTextBox.h:285
Definition TextLayout.h:26