#include <UICommandInfo.h>
|
| static SLATE_API void | MakeCommandInfo (const TSharedRef< class FBindingContext > &InContext, TSharedPtr< FUICommandInfo > &OutCommand, const FName InCommandName, const FText &InCommandLabel, const FText &InCommandDesc, const FSlateIcon &InIcon, const EUserInterfaceActionType InUserInterfaceType, const FInputChord &InDefaultChord, const FInputChord &InAlternateDefaultChord=FInputChord(), const FName InBundle=NAME_None) |
| |
| static SLATE_API void | UnregisterCommandInfo (const TSharedRef< class FBindingContext > &InContext, const TSharedRef< FUICommandInfo > &InCommand) |
| |
◆ FUICommandInfo()
| FUICommandInfo::FUICommandInfo |
( |
const FName |
InBindingContext | ) |
|
Creates and initializes a new instance.
- Parameters
-
| InBindingContext | The name of the binding context to use. |
◆ GetActiveChord()
- Returns
- Returns the active chord at the specified index for this command
◆ GetBindingContext()
| FName FUICommandInfo::GetBindingContext |
( |
| ) |
const |
|
inline |
- Returns
- The name of the context where the command is valid
◆ GetBundle()
| FName FUICommandInfo::GetBundle |
( |
| ) |
const |
|
inline |
- Returns
- The name of the bundle this command is assigned to
◆ GetCommandName()
| FName FUICommandInfo::GetCommandName |
( |
| ) |
const |
|
inline |
- Returns
- The name of the command
◆ GetDefaultChord()
◆ GetDescription()
| const FText & FUICommandInfo::GetDescription |
( |
| ) |
const |
|
inline |
- Returns
- The description of this command
◆ GetFirstValidChord()
- Returns
- Checks if there is an active chord for this command matching the input chord
◆ GetIcon()
| const FSlateIcon & FUICommandInfo::GetIcon |
( |
| ) |
const |
|
inline |
- Returns
- The icon to used when this command is displayed in UI that shows icons
◆ GetInputText()
| const FText FUICommandInfo::GetInputText |
( |
| ) |
const |
Returns the friendly, localized string name of the first valid chord in the key bindings list that is required to perform the command
- Returns
- Localized friendly text for the chord
◆ GetLabel()
| const FText & FUICommandInfo::GetLabel |
( |
| ) |
const |
|
inline |
- Returns
- The display label for this command
◆ GetUseLongDisplayName()
| bool FUICommandInfo::GetUseLongDisplayName |
( |
| ) |
const |
|
inline |
- Returns
- True if should we use long names for when getting text for input chords
◆ GetUserInterfaceType()
- Returns
- The type of command this is. Used to determine what UI to create for it
◆ HasActiveChord()
| const bool FUICommandInfo::HasActiveChord |
( |
const FInputChord |
InChord | ) |
const |
|
inline |
- Returns
- Checks if there is an active chord for this command matching the input chord
◆ HasDefaultChord()
| const bool FUICommandInfo::HasDefaultChord |
( |
const FInputChord |
InChord | ) |
const |
|
inline |
- Returns
- Checks if there is an active chord for this command matching the input chord
◆ MakeCommandInfo()
◆ MakeTooltip()
Makes a tooltip for this command.
- Parameters
-
| InText | Optional dynamic text to be displayed in the tooltip. |
- Returns
- The tooltip widget
◆ RemoveActiveChord()
Removes the active chord from this command
◆ SetActiveChord()
Sets the new active chord for this command
◆ SetUseLongDisplayName()
| void FUICommandInfo::SetUseLongDisplayName |
( |
const bool |
bInUseLongDisplayName | ) |
|
|
inline |
Sets if we should use a long display name or not
◆ UnregisterCommandInfo()
◆ FInputBindingManager
◆ FUICommandInfoDecl
The documentation for this class was generated from the following files: