Navigation
API > API/Editor > API/Editor/UnrealEd
Widget for selecting an input key
| Name | SKeySelector |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/SKeySelector.h |
| Include Path | #include "SKeySelector.h" |
Syntax
class SKeySelector : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SKeySelector
- FSlateControlledConstruction → SWidget → SCompoundWidget → SKeySelector
Structs
| Name | Remarks |
|---|---|
| FArguments |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
SKeySelector.h | ||
FText GetDisabledKeySelectorToolTip() |
Gets tooltip on the KeySelector when it is disabled | SKeySelector.h | |
bool GetSetEnabledFromKeyStructCustomization() |
Gets bEnabledFromKeyStructCustomization bool | SKeySelector.h | |
void SetDisabledKeySelectorToolTip
(
const FText& InToolTip |
Sets tooltip on the KeySelector when it is disabled | SKeySelector.h | |
void SetEnabledFromKeyStructCustomization
(
bool bIsEnabled |
Sets bool to produce tooltip notifying this key selector it was disabled from KeyStructCustomization | SKeySelector.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanChangeKey() |
Returns true if this key selector can actually change the that it's assigned to or not | SKeySelector.h | |
virtual TSharedRef< ITableRow > GenerateKeyTreeRow
(
FKeyTreeItem InItem, |
Treeview support functions | SKeySelector.h | |
| Helper to generate the filtered list of keys, based on the search string matching | SKeySelector.h | ||
const FSlateBrush * GetIconFromKey
(
FKey Key |
Determine the best icon to represent the given key. | SKeySelector.h | |
void GetKeyChildren
(
FKeyTreeItem InItem, |
SKeySelector.h | ||
FText GetKeyDescription() |
Gets a succinct description for the key being manipulated | SKeySelector.h | |
FText GetKeyDescriptionToolTip() |
Gets a description tooltip for the key being manipulated | SKeySelector.h | |
FSlateColor GetKeyIconColor() |
Toggles the icon's color when in listen mode | SKeySelector.h | |
const FSlateBrush * GetKeyIconImage() |
Gets the icon for the key being manipulated | SKeySelector.h | |
FText GetKeyTooltip() |
Gets a tooltip for the selected key | SKeySelector.h | |
virtual TSharedRef< SWidget > GetMenuContent() |
Gets the Menu Content, setting it up if necessary | SKeySelector.h | |
| SKeySelector.h | |||
FReply ListenForInput() |
Start listening for the next key press | SKeySelector.h | |
void OnFilterTextChanged
(
const FText& NewText |
Key searching support | SKeySelector.h | |
void OnFilterTextCommitted
(
const FText& NewText, |
SKeySelector.h | ||
void OnKeySelectionChanged
(
FKeyTreeItem Selection, |
SKeySelector.h | ||
| Assigns the heard input as the current key | SKeySelector.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FReply OnAnalogValueChanged
(
const FGeometry& MyGeometry, |
SKeySelector.h | ||
| Input listeners | SKeySelector.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
SKeySelector.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
SKeySelector.h | ||
virtual FReply OnMouseWheel
(
const FGeometry& MyGeometry, |
SKeySelector.h | ||
virtual bool SupportsKeyboardFocus() |
SKeySelector.h |