Navigation
API > API/Editor > API/Editor/GraphEditor
Widget for searching for items that are part of a UEdGraph
| Name | SFindInGraph |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/FindInGraph.h |
| Include Path | #include "FindInGraph.h" |
Syntax
class SFindInGraph : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SFindInGraph
- FSlateControlledConstruction → SWidget → SCompoundWidget → SFindInGraph
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FSearchResult | TSharedPtr< FFindInGraphResult > | FindInGraph.h | |
| STreeViewType | STreeView< FSearchResult > | FindInGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
FindInGraph.h | ||
virtual void FocusForUse() |
Focuses this widget's search box | FindInGraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UEdGraph * GetGraph() |
Get a graph corresponding to this editor, implement if you want to want to use the default graph node search | FindInGraph.h | |
virtual void InitiateSearch() |
Begins the search based on the SearchValue | FindInGraph.h | |
virtual TSharedPtr< FFindInGraphResult > MakeSearchResult
(
const FFindInGraphResult::FCreateParams& InParams |
Override this to create the search result of your type | FindInGraph.h | |
virtual void MatchTokens
(
const TArray< FString >& Tokens |
Find any results that contain all of the tokens | FindInGraph.h | |
virtual void MatchTokensInGraph
(
const UEdGraph* Graph, |
Find any results that contain all of the tokens in provided graph and subgraphs | FindInGraph.h | |
virtual bool MatchTokensInNode
(
const UEdGraphNode* Node, |
Implement this if you have node-specific search behavior. | FindInGraph.h | |
virtual TSharedRef< ITableRow > OnGenerateRow
(
FSearchResult InItem, |
Called when a new row is being generated | FindInGraph.h | |
virtual void OnGetChildren
(
FSearchResult InItem, |
Get the children of a row | FindInGraph.h | |
virtual void OnSearchTextChanged
(
const FText& Text |
Called when user changes the text they are searching for | FindInGraph.h | |
virtual void OnSearchTextCommitted
(
const FText& Text, |
Called when user changes commits text to the search box | FindInGraph.h | |
virtual void OnTreeSelectionChanged
(
FSearchResult Item, |
Called when user clicks on a new result | FindInGraph.h | |
virtual void OnTreeSelectionDoubleClick
(
FSearchResult Item |
Called when user double clicks on a new result | FindInGraph.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool StringMatchesSearchTokens
(
const TArray< FString >& Tokens, |
Determines if a string matches the search tokens | FindInGraph.h |