Choose your operating system:
Windows
macOS
Linux
| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Text/SInlineEditableTextBlock.h |
Include |
#include "Widgets/Text/SInlineEditableTextBlock.h" |
class SInlineEditableTextBlock : public SCompoundWidget
Slate's InlineEditableTextBlock's are double selectable to go from a STextBlock to become SEditableTextBox.
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bIsMultiLine |
Attribute to look up if the widget is multiline |
|
TAttribute< boo... |
bIsReadOnly |
Attribute to look up if the widget is read-only |
|
float |
DoubleSelectDelay |
When selection of widget is managed by another widget, this delays the "double select" from occurring immediately, offering a chance for double clicking to take action. |
|
TSharedPtr< SHo... |
HorizontalBox |
Main horizontal box, used to dynamically add and remove the editable slot. |
|
IsSelected |
Delegate to execute to check the status of if the widget is selected or not Only needs to be hooked up if an external widget is managing selection, such as a SListView or STreeView. |
|
|
TSharedPtr< SMu... |
MultiLineTextBox |
The widget used when in editing mode |
|
OnBeginTextEditDelegate |
Delegate to execute when the text starts to be edited |
|
|
FSimpleDelegate |
OnEnterEditingMode |
|
|
FSimpleDelegate |
OnExitEditingMode |
|
|
OnTextCommittedDelegate |
Delegate to execute when editing mode text is committed. |
|
|
FOnVerifyTextCh... |
OnVerifyTextChanged |
Callback to verify text when changed. Will return an error message to de problems. |
|
TAttribute< FTe... |
Text |
Attribute for the text to use for the widget |
|
TSharedPtr< STe... |
TextBlock |
The widget used when in label mode |
|
TSharedPtr< SEd... |
TextBox |
The widget used when in editing mode |
|
WidgetToFocus |
Widget to focus when we finish editing |
Name | Description | |
---|---|---|
|
~SInlineEditableTextBlock() |
Name | Description | ||
---|---|---|---|
|
CancelEditMode() |
Cancels the edit mode and switches back to label mode |
|
|
Construct ( |
Construct this widget. Called by the SNew()Slate macro. |
|
|
EnterEditingMode() |
Switches the widget to editing mode |
|
|
ExitEditingMode() |
Switches the widget to label mode. |
|
|
IsInEditMode() |
Checks if the widget is in edit mode |
|
|
OnTextBoxCommitted ( |
Callback when the text box is committed, switches back to label mode. |
|
|
OnTextChanged ( |
Callback for the text box's OnTextChanged event |
|
|
SetOverflowPolicy ( |
Sets the overflow policy for this text block |
|
|
SetReadOnly ( |
||
|
SetText ( |
||
|
SetText ( |
||
|
SetWrapTextAt ( |
Sets the wrap text at attribute. See WrapTextAt attribute |
Name | Description | ||
---|---|---|---|
|
OnDragOver ( |
Called during drag and drop when the the mouse is being dragged over a widget. |
|
|
OnKeyDown |
Called after a key is pressed when this widget has focus (this event bubbles if not handled) |
|
|
OnMouseButtonDoubleClick ( |
Called when a mouse button is double clicked. Override this in derived classes. |
|
|
OnMouseButtonDown ( |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
|
|
SupportsKeyboardFocus() |
Name |
Description |
|
---|---|---|
|
FArguments |