Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd
Inheritance Hierarchy
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/SKeySelector.h |
Include | #include "SKeySelector.h" |
Syntax
class SKeySelector : public SCompoundWidget
Remarks
Widget for selecting an input key
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bEnabledFromKeyStructCustomization | |
![]() |
bool | bListenForNextInput | |
![]() |
FSlateFontInfo | CategoryFont | Font used for category tree entries |
![]() |
TAttribute< TOptional< FKey > > | CurrentKey | The key attribute that we're modifying with this widget, or an empty optional if the key contains multiple values |
![]() |
FText | DisabledSelectorToolTip | Tooltip to display on the selector when the selector is disabled |
![]() |
TArray< FKeyTreeItem > | FilteredKeyTreeRoot | Array containing a filtered list, according to the text in the searchbox |
![]() |
TSharedPtr< SSearchBox > | FilterTextBox | |
![]() |
TSharedPtr< SComboButton > | KeyComboButton | Combo Button that shows current key and icon |
![]() |
FSlateFontInfo | KeyFont | Font used for key tree entries |
![]() |
TArray< FKeyTreeItem > | KeyTreeRoot | Array containing the unfiltered list of all values this key could possibly have |
![]() |
TSharedPtr< SKeyTreeView > | KeyTreeView | |
![]() |
TSharedPtr< SWidget > | MenuContent | Reference to the menu content that's displayed when the key button is clicked on |
![]() |
FOnKeyChanged | OnKeyChanged | Delegate that is called every time the key changes. |
![]() |
FText | SearchText | |
![]() |
TAttribute< FOptionalSize > | TreeViewHeight | Desired height of the tree view widget |
![]() |
TAttribute< FOptionalSize > | TreeViewWidth | Desired width of the tree view widget |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Construct
(
const FArguments& InArgs |
|
![]() ![]() |
TSharedRef< ITableRow > | GenerateKeyTreeRow
(
FKeyTreeItem InItem, |
Treeview support functions |
![]() |
bool | GetChildrenMatchingSearch
(
const TArray< FString >& SearchTokens, |
Helper to generate the filtered list of keys, based on the search string matching |
![]() ![]() |
FText | Gets tooltip on the KeySelector when it is disabled | |
![]() ![]() |
const FSlateBrush * | GetIconFromKey
(
FKey Key |
Determine the best icon to represent the given key. |
![]() |
void | GetKeyChildren
(
FKeyTreeItem InItem, |
|
![]() ![]() |
FText | Gets a succinct description for the key being manipulated | |
![]() ![]() |
FText | Gets a description tooltip for the key being manipulated | |
![]() ![]() |
FSlateColor | Toggles the icon's color when in listen mode | |
![]() ![]() |
const FSlateBrush * | Gets the icon for the key being manipulated | |
![]() ![]() |
FText | Gets a tooltip for the selected key | |
![]() ![]() |
TSharedRef< SWidget > | Gets the Menu Content, setting it up if necessary | |
![]() ![]() |
void | GetSearchTokens
(
const FString& SearchString, |
|
![]() ![]() |
bool | Gets bEnabledFromKeyStructCustomization bool | |
![]() |
FReply | Start listening for the next key press | |
![]() |
void | OnFilterTextChanged
(
const FText& NewText |
Key searching support |
![]() |
void | OnFilterTextCommitted
(
const FText& NewText, |
|
![]() |
void | OnKeySelectionChanged
(
FKeyTreeItem Selection, |
|
![]() |
FReply | ProcessHeardInput
(
FKey KeyHeard |
Assigns the heard input as the current key |
![]() |
void | SetDisabledKeySelectorToolTip
(
const FText& InToolTip |
Sets tooltip on the KeySelector when it is disabled |
![]() |
void | SetEnabledFromKeyStructCustomization
(
bool bIsEnabled |
Sets bool to produce tooltip notifying this key selector it was disabled from KeyStructCustomization |
Overridden from SWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FReply | OnAnalogValueChanged
(
const FGeometry& MyGeometry, |
Called when an analog value changes on a button that supports analog |
![]() ![]() |
FReply | Input listeners | |
![]() ![]() |
FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
![]() ![]() |
FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. |
![]() ![]() |
FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called when the mouse wheel is spun. This event is bubbled. |
![]() ![]() ![]() |
bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FArguments |