| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Input/SInputKeySelector.h |
Include |
#include "Widgets/Input/SInputKeySelector.h" |
class SInputKeySelector : public SCompoundWidget
A widget for selecting keys or input chords.
Name | Description | ||
---|---|---|---|
|
Construct ( |
||
|
GetIsSelectingKey() |
Returns true whenever key selection mode is active, otherwise returns false. |
|
|
GetSelectedKey() |
Gets the currently selected key chord. |
|
|
SetAllowGamepadKeys ( |
When true gamepad keys are captured in the selected key chord, otherwise they are ignored. |
|
|
SetAllowModifierKeys ( |
When true modifier keys are captured in the selected key chord, otherwise they are ignored. |
|
|
SetButtonStyle ( |
Sets the style of the button which is used enter key selection mode. |
|
|
SetEscapeKeys |
Sets the escape keys to check against. |
|
|
SetKeySelectionText ( |
Sets the text which is displayed when selecting a key. |
|
|
SetMargin ( |
Sets the margin around the text used to display the currently selected key |
|
|
SetNoKeySpecifiedText ( |
Sets the text to display when no key text is available or not selecting a key. |
|
|
SetSelectedKey ( |
Sets the currently selected key chord. |
|
|
SetTextBlockVisibility ( |
Sets the visibility of the text block. |
|
|
SetTextStyle ( |
Sets the style of the text on the button which is used enter key selection mode. |
Name | Description | ||
---|---|---|---|
|
OnFocusLost ( |
Called when this widget loses focus. This event does not bubble. |
|
|
OnKeyDown |
Called after a key is pressed when this widget has focus (this event bubbles if not handled) |
|
|
OnKeyUp |
Called after a key is released when this widget has focus |
|
|
OnMouseButtonDown ( |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
|
|
FNavigationR... |
OnNavigation ( |
Called when navigation is requested e.g. Left Joystick, Direction Pad, Arrow Keys can generate navigation events. |
|
OnPreviewKeyDown |
Called after a key is pressed when this widget or a child of this widget has focus If a widget handles this event, OnKeyDown will not be passed to the focused widget. |
|
|
OnPreviewMouseButtonDown ( |
Just like OnMouseButtonDown, but tunnels instead of bubbling. |
|
|
SupportsKeyboardFocus() |
Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FOnIsSelectingKeyChanged |
|
FOnKeySelected |