A Demo Project for the UnrealEngineSDK
|
#include <DialogueSearchResult.h>
Public Member Functions | |
FDialogueSearchResult_RootNode () | |
virtual void | AddChild (const TSharedPtr< FDialogueSearchResult > &ChildNode) |
virtual void | ClearChildren () |
void | ClearParent () |
virtual TSharedRef< SWidget > | CreateIcon () const |
bool | DoesDisplayTextContains (const FString &InSearch, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) |
void | ExpandAllChildren (const TSharedPtr< STreeView< TSharedPtr< FDialogueSearchResult > > > &TreeView, bool bRecursive=true) |
virtual void | FilterPathsToNodesThatContainText (const FString &InSearch, TArray< TArray< TSharedPtr< FDialogueSearchResult > > > &OutNodes) |
void | GetAllNodes (TArray< TSharedPtr< FDialogueSearchResult > > &OutNodeArray) const |
FText | GetCategory () const |
const TArray< TSharedPtr< FDialogueSearchResult > > & | GetChildren () const |
FString | GetCommentString () const |
FText | GetDisplayText () const |
FName | GetDisplayTextAsFName () const |
TWeakPtr< FDialogueSearchResult > | GetParent () const |
virtual TWeakObjectPtr< const UDlgDialogue > | GetParentDialogue () const |
void | GetVisibleChildren (TArray< TSharedPtr< FDialogueSearchResult > > &OutChildren) |
bool | HasChildren () const |
bool | HasParent () const |
bool | IsLeaf () const |
bool | IsRoot () const |
bool | IsVisible () const |
virtual FReply | OnClick () |
void | SetCategory (const FText &InCategory) |
virtual void | SetChildren (const TArray< TSharedPtr< FDialogueSearchResult > > &InChildren) |
void | SetCommentString (const FString &InCommentString) |
void | SetDisplayText (const FText &InText) |
void | SetIsVisible (bool InIsVisible) |
void | SetParent (TWeakPtr< FDialogueSearchResult > InParentNode) |
Protected Member Functions | |
virtual bool | FilterDoesChildContainText (const TSharedPtr< FDialogueSearchResult > &Child, const FString &InSearch) |
virtual bool | FilterIsChildVisible (const TSharedPtr< FDialogueSearchResult > &GrandChild) |
virtual void | GetPathToChildThatContainsText (const TSharedPtr< FDialogueSearchResult > &Child, const FString &InSearch, TArray< TArray< TSharedPtr< FDialogueSearchResult > > > &OutNodes) |
virtual void | PostBuildPathToTopMostParent (const TSharedPtr< FDialogueSearchResult > &CurrentParentNode) |
virtual void | PostFilterPathsToNodes (const TSharedPtr< FDialogueSearchResult > &Child) |
Protected Attributes | |
bool | bIsVisible |
FText | Category |
TArray< TSharedPtr< FDialogueSearchResult > > | Children |
FString | CommentString |
FText | DisplayText |
TWeakPtr< FDialogueSearchResult > | Parent |
Private Types | |
typedef FDialogueSearchResult | Self |
typedef FDialogueSearchResult | Super |
Definition at line 89 of file DialogueSearchResult.h.
|
privateinherited |
Definition at line 59 of file DialogueSearchResult.h.
|
private |
Definition at line 91 of file DialogueSearchResult.h.
FDialogueSearchResult_RootNode::FDialogueSearchResult_RootNode | ( | ) |
Definition at line 44 of file DialogueSearchResult.cpp.
|
inlinevirtualinherited |
Definition at line 57 of file DlgTreeViewNode.h.
|
inlinevirtualinherited |
Definition at line 72 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 42 of file DlgTreeViewNode.h.
|
virtualinherited |
Reimplemented in FDialogueSearchResult_DialogueNode, FDialogueSearchResult_GraphNode, FDialogueSearchResult_EdgeNode, and FDialogueSearchResult_CommentNode.
Definition at line 21 of file DialogueSearchResult.cpp.
|
inlineinherited |
Definition at line 33 of file DlgTreeViewNode.h.
|
inlineinherited |
Takes the tree view and expands its elements for each child.
TreeView | The tree responsible for visualizing this node hierarchy. |
bRecursive | Determines if you want children/descendants to expand their children as well. |
Definition at line 93 of file DlgTreeViewNode.h.
|
inlineprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText to determine if the child has the text
Definition at line 163 of file DlgTreeViewNode.h.
|
inlineprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText after we got the path of the GrandChild
Definition at line 157 of file DlgTreeViewNode.h.
|
inlinevirtualinherited |
Searches the node so that the OutNodes will only contains paths to nodes that contains the specified string.
InSearch | The string to search by |
OutNodes | Array of arrays, each array inside represents a node path that points to the Node that contains the InSearch |
Definition at line 136 of file DlgTreeViewNode.h.
|
inlineinherited |
Recursively collects all child/grandchild/descendant nodes. Aka Flattened tree.
OutNodeArray | The array to fill out with descendant nodes. |
Definition at line 122 of file DlgTreeViewNode.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 46 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 76 of file DialogueSearchResult.h.
|
inlineinherited |
Definition at line 30 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 31 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 40 of file DlgTreeViewNode.h.
|
virtualinherited |
Reimplemented in FDialogueSearchResult_DialogueNode.
Definition at line 32 of file DialogueSearchResult.cpp.
|
inlineprotectedvirtualinherited |
Definition at line 168 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 47 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 45 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 39 of file DlgTreeViewNode.h.
|
inlineinherited |
Is this the leaf node? Aka no children.
Definition at line 85 of file DlgTreeViewNode.h.
|
inlineinherited |
Is this the root node? Aka no parent.
Definition at line 82 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 78 of file DlgTreeViewNode.h.
|
inlinevirtualinherited |
Reimplemented in FDialogueSearchResult_DialogueNode, FDialogueSearchResult_GraphNode, FDialogueSearchResult_EdgeNode, and FDialogueSearchResult_CommentNode.
Definition at line 18 of file DlgTreeViewNode.h.
|
inlineprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText after we advanced one parent in the path
Definition at line 154 of file DlgTreeViewNode.h.
|
inlineprotectedvirtualinherited |
Called inside FilterPathsToNodesThatContainText after we got the path for the current Child.
Definition at line 151 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 73 of file DialogueSearchResult.h.
|
inlinevirtualinherited |
Definition at line 63 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 77 of file DialogueSearchResult.h.
|
inlineinherited |
Definition at line 32 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 79 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 41 of file DlgTreeViewNode.h.
|
protectedinherited |
Is this node displayed?
Definition at line 226 of file DlgTreeViewNode.h.
|
protectedinherited |
Definition at line 81 of file DialogueSearchResult.h.
|
protectedinherited |
Any children listed under this node.
Definition at line 217 of file DlgTreeViewNode.h.
|
protectedinherited |
Definition at line 84 of file DialogueSearchResult.h.
|
protectedinherited |
The displayed text for this item.
Definition at line 223 of file DlgTreeViewNode.h.
|
protectedinherited |
The node that this is a direct child of (empty if this is a root node)
Definition at line 220 of file DlgTreeViewNode.h.