|
|
A Demo Project for the UnrealEngineSDK
|
#include <DlgTreeViewNode.h>
Public Member Functions | |
| FDlgTreeViewNode (const FText &InDisplayText, const TSharedPtr< SelfType > &InParent) | |
| virtual | ~FDlgTreeViewNode () |
| virtual void | AddChild (const TSharedPtr< SelfType > &ChildNode) |
| virtual void | ClearChildren () |
| void | ClearParent () |
| bool | DoesDisplayTextContains (const FString &InSearch, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) |
| void | ExpandAllChildren (const TSharedPtr< STreeView< TSharedPtr< SelfType > > > &TreeView, bool bRecursive=true) |
| virtual void | FilterPathsToNodesThatContainText (const FString &InSearch, TArray< TArray< TSharedPtr< SelfType > > > &OutNodes) |
| void | GetAllNodes (TArray< TSharedPtr< SelfType > > &OutNodeArray) const |
| const TArray< TSharedPtr< SelfType > > & | GetChildren () const |
| FText | GetDisplayText () const |
| FName | GetDisplayTextAsFName () const |
| TWeakPtr< SelfType > | GetParent () const |
| void | GetVisibleChildren (TArray< TSharedPtr< SelfType > > &OutChildren) |
| bool | HasChildren () const |
| bool | HasParent () const |
| bool | IsLeaf () const |
| bool | IsRoot () const |
| bool | IsVisible () const |
| virtual FReply | OnClick () |
| virtual void | SetChildren (const TArray< TSharedPtr< SelfType > > &InChildren) |
| void | SetDisplayText (const FText &InText) |
| void | SetIsVisible (bool InIsVisible) |
| void | SetParent (TWeakPtr< SelfType > InParentNode) |
Protected Member Functions | |
| virtual bool | FilterDoesChildContainText (const TSharedPtr< SelfType > &Child, const FString &InSearch) |
| virtual bool | FilterIsChildVisible (const TSharedPtr< SelfType > &GrandChild) |
| virtual void | GetPathToChildThatContainsText (const TSharedPtr< SelfType > &Child, const FString &InSearch, TArray< TArray< TSharedPtr< SelfType > > > &OutNodes) |
| virtual void | PostBuildPathToTopMostParent (const TSharedPtr< SelfType > &CurrentParentNode) |
| virtual void | PostFilterPathsToNodes (const TSharedPtr< SelfType > &Child) |
Protected Attributes | |
| bool | bIsVisible = true |
| TArray< TSharedPtr< SelfType > > | Children |
| FText | DisplayText |
| TWeakPtr< SelfType > | Parent |
Base Tree Node for all Nodes used in the STreeView.
Definition at line 9 of file DlgTreeViewNode.h.
|
inline |
Definition at line 13 of file DlgTreeViewNode.h.
|
inlinevirtual |
Definition at line 15 of file DlgTreeViewNode.h.
|
inlinevirtual |
Reimplemented in FDialogueBrowserTreeNode.
Definition at line 57 of file DlgTreeViewNode.h.
|
inlinevirtual |
Reimplemented in FDialogueBrowserTreeNode.
Definition at line 72 of file DlgTreeViewNode.h.
|
inline |
Definition at line 42 of file DlgTreeViewNode.h.
|
inline |
Definition at line 33 of file DlgTreeViewNode.h.
|
inline |
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.
|
inlineprotectedvirtual |
Called inside GetPathToChildThatContainsText to determine if the child has the text
Reimplemented in FDlgDataDisplayTreeNode, and FDialogueBrowserTreeNode.
Definition at line 163 of file DlgTreeViewNode.h.
|
inlineprotectedvirtual |
Called inside GetPathToChildThatContainsText after we got the path of the GrandChild
Reimplemented in FDlgDataDisplayTreeNode, and FDialogueBrowserTreeNode.
Definition at line 157 of file DlgTreeViewNode.h.
|
inlinevirtual |
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.
|
inline |
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.
|
inline |
Definition at line 46 of file DlgTreeViewNode.h.
|
inline |
Definition at line 30 of file DlgTreeViewNode.h.
|
inline |
Definition at line 31 of file DlgTreeViewNode.h.
|
inline |
Definition at line 40 of file DlgTreeViewNode.h.
|
inlineprotectedvirtual |
Definition at line 168 of file DlgTreeViewNode.h.
|
inline |
Definition at line 47 of file DlgTreeViewNode.h.
|
inline |
|
inline |
Definition at line 39 of file DlgTreeViewNode.h.
|
inline |
Is this the leaf node? Aka no children.
Definition at line 85 of file DlgTreeViewNode.h.
|
inline |
Is this the root node? Aka no parent.
Definition at line 82 of file DlgTreeViewNode.h.
|
inline |
Definition at line 78 of file DlgTreeViewNode.h.
|
inlinevirtual |
Reimplemented in FDialogueBrowserTreeDialogueNode, FDialogueBrowserTreeGraphNode, FDialogueBrowserTreeEdgeNode, FDialogueSearchResult_DialogueNode, FDialogueSearchResult_GraphNode, FDialogueSearchResult_EdgeNode, and FDialogueSearchResult_CommentNode.
Definition at line 18 of file DlgTreeViewNode.h.
|
inlineprotectedvirtual |
Called inside GetPathToChildThatContainsText after we advanced one parent in the path
Reimplemented in FDlgDataDisplayTreeNode, and FDialogueBrowserTreeNode.
Definition at line 154 of file DlgTreeViewNode.h.
|
inlineprotectedvirtual |
Called inside FilterPathsToNodesThatContainText after we got the path for the current Child.
Reimplemented in FDlgDataDisplayTreeNode, and FDialogueBrowserTreeNode.
Definition at line 151 of file DlgTreeViewNode.h.
|
inlinevirtual |
Definition at line 63 of file DlgTreeViewNode.h.
|
inline |
Definition at line 32 of file DlgTreeViewNode.h.
|
inline |
Definition at line 79 of file DlgTreeViewNode.h.
|
inline |
Definition at line 41 of file DlgTreeViewNode.h.
|
protected |
Is this node displayed?
Definition at line 226 of file DlgTreeViewNode.h.
|
protected |
Any children listed under this node.
Definition at line 217 of file DlgTreeViewNode.h.
|
protected |
The displayed text for this item.
Definition at line 223 of file DlgTreeViewNode.h.
|
protected |
The node that this is a direct child of (empty if this is a root node)
Definition at line 220 of file DlgTreeViewNode.h.