| SCompoundWidget | ||
| FGCObject
|
Module |
|
Header |
/Engine/Source/Editor/GraphEditor/Public/SGraphActionMenu.h |
Include |
#include "SGraphActionMenu.h" |
class SGraphActionMenu :
public SCompoundWidget,
public FGCObject
Class that displays a list of graph actions and them to be searched and selected
Name | Description | ||
---|---|---|---|
|
AllActions |
List of all actions we can browser |
|
|
bAlphaSortItems |
Don't sort items alphabetically |
|
|
bAutoExpandActionMenu |
Should we auto-expand categories |
|
|
bIgnoreUIUpdate |
Allows us to set selection (via keyboard) without triggering action |
|
|
bShowFilterTextBox |
Should we display the filter text box |
|
|
bUseSectionStyling |
Should the rows and sections be styled like the details panel? |
|
|
FilteredActionNodes |
Flattened list of all actions passing the filter |
|
|
TSharedPtr< FGr... |
FilteredRootAction |
Root of filtered actions tree |
|
TSharedPtr< SSe... |
FilterTextBox |
Text box used for searching for actions |
|
OnActionDoubleClicked |
Delegate to call when action is double clicked |
|
|
OnActionDragged |
Delegate to call when an action is dragged. |
|
|
OnActionMatchesName |
Delegate to check if an action matches a specified name (used for renaming items etc.) |
|
|
OnActionSelected |
Delegate to call when action is selected |
|
|
OnCanRenameSelectedAction |
Delegate to call to check if a selected action is valid for renaming |
|
|
OnCategoryDragged |
Delegate to call when a category is dragged. |
|
|
OnCategoryTextCommitted |
Delegate to call to handle any post-category rename events |
|
|
OnCollectAllActions |
Delegate to call to collect all actions |
|
|
OnCollectStaticSections |
Delegate to call to collect all always visible sections |
|
|
OnCreateCustomRowExpander |
Delegate to call for creating a custom "expander" widget for indenting a menu row with |
|
|
OnCreateWidgetForAction |
Delegate to call to create widget for an action |
|
|
OnGetFilterText |
Delegate to get the filter text if supplied from an external source |
|
|
OnGetSectionTitle |
Delegate to get the name of a section separator. |
|
|
OnGetSectionToolTip |
Delegate to get the tooltip of a section separator. |
|
|
OnGetSectionWidget |
Delegate to get the widgets of a section separator. |
|
|
SelectedSuggestion |
Used to track selected action for keyboard interaction |
|
|
TSharedPtr< STr... |
TreeView |
Tree view for showing actions |
Name | Description | ||
---|---|---|---|
|
CanRenameNode ( |
Checks if the passed in node is safe for renaming |
|
|
CanRequestRenameOnActionNode() |
Queries if a rename on the selected action node is possible |
|
|
Construct ( |
||
|
ExpandCategory ( |
Expands any category with the associated name |
|
|
GenerateFilteredItems ( |
Regenerated filtered results (FilteredRootAction and FilteredActionNodes) based on filter text |
|
|
float |
GetActionFilteredWeight ( |
Get the 'weight' of the given action relevance to a given filter list |
|
GetCategorySubActions ( |
Get category child actions for the passed in action |
|
|
GetFilterText() |
Get current filter text |
|
|
TSharedRef< ... |
GetFilterTextBox() |
Get filter text box widget |
|
GetSectionExpansion |
Returns a map of all top level sections and their current expansion state. |
|
|
GetSelectedActions ( |
Get action that is currently selected |
|
|
GetSelectedCategoryName() |
Get category that is currently selected |
|
|
GetSelectedCategorySubActions ( |
Get category child actions that is currently selected |
|
|
HandleSelection ( |
Executes the selection delegate providing it has been bound, and the provided action node given is valid and is an action node |
|
|
TSharedRef< ... |
MakeWidget ( |
Create widget for the supplied node |
|
MarkActiveSuggestion() |
Change the selection to reflect the active suggestion |
|
|
OnFilterTextChanged ( |
Called when filter text changes |
|
|
OnFilterTextCommitted ( |
Called when enter is hit in search box |
|
|
OnGetChildrenForCategory ( |
Get children |
|
|
OnItemDoubleClicked ( |
Called when tree item is double clicked |
|
|
OnItemDragDetected ( |
Called when tree item dragged |
|
|
OnItemScrolledIntoView ( |
Handler for when an item has scrolled into view after having been requested to do so |
|
|
OnItemSelected ( |
Called when tree item is selected |
|
|
OnMouseButtonDownEvent ( |
Handler for mouse button going down |
|
|
OnNameTextCommitted ( |
Callback when rename text is committed |
|
|
OnRequestRenameOnActionNode() |
Initiates a rename on the selected action node, if possible |
|
|
OnSetExpansionRecursive ( |
Callback for expanding tree items recursively |
|
|
RefreshAllActions |
Refreshes the actions that this widget should display |
|
|
SelectItemByName ( |
Selects an non-creation item in the list, searching by FName, deselects if name is none |
|
|
SetSectionExpansion |
Sets the sections to be expanded of all top level sections. |
|
|
ShouldExpandNodes() |
Returns true if the tree should be autoexpanded |
|
|
TryToSpawnActiveSuggestion() |
Try to spawn the node reflected by the active suggestion |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
FGCObject override. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FCanRenameSelectedAction |
Delegate executed to check if the selected action is valid for renaming |
FGetFilterText |
Delegate to get the filter text |
FGetSectionTitle |
Delegate to get the name of a section if the widget is a section separator. |
FGetSectionToolTip |
Delegate to get the tooltip of a section if the widget is a section separator. |
FGetSectionWidget |
Delegate to get the widget that appears on the section bar in the section separator. |
FOnActionDoubleClicked |
Delegate executed when an action is double clicked |
FOnActionDragged |
Delegate executed when an action is dragged |
FOnActionMatchesName |
Delegate to check if an action matches a specified name (used for renaming items etc.) |
FOnActionSelected |
Delegate executed when an action is selected |
FOnCategoryDragged |
Delegate executed when a category is dragged |
FOnCategoryTextCommitted |
Delegate executed when a category is being renamed so any post-rename actions can be handled |
FOnCollectAllActions |
Delegate executed when the list of all actions needs to be refreshed |
FOnCollectStaticSections |
Delegate executed when the list of all actions needs to be refreshed, should return any sections that should always be visible, even if they don't have children. |
FOnCreateCustomRowExpander |
Delegate that can be used to create a custom "expander" widget for a particular row |
FOnCreateWidgetForAction |
Delegate that can be used to create a widget for a particular action |