A Demo Project for the UnrealEngineSDK
|
#include <DlgDataDisplayTreeNode.h>
Public Member Functions | |
FDlgDataDisplayTreeCategoryNode (const FText &InDisplayText, const TSharedPtr< FDlgDataDisplayTreeNode > &InParent, EDlgDataDisplayCategoryTreeNodeType InCategoryType) | |
virtual void | AddChild (const TSharedPtr< FDlgDataDisplayTreeNode > &ChildNode) |
virtual void | ClearChildren () |
void | ClearParent () |
bool | DoesDisplayTextContains (const FString &InSearch, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) |
void | ExpandAllChildren (const TSharedPtr< STreeView< TSharedPtr< FDlgDataDisplayTreeNode > > > &TreeView, bool bRecursive=true) |
virtual void | FilterPathsToNodesThatContainText (const FString &InSearch, TArray< TArray< TSharedPtr< FDlgDataDisplayTreeNode > > > &OutNodes) |
void | GetAllNodes (TArray< TSharedPtr< FDlgDataDisplayTreeNode > > &OutNodeArray) const |
EDlgDataDisplayCategoryTreeNodeType | GetCategoryType () const |
const TArray< TSharedPtr< FDlgDataDisplayTreeNode > > & | GetChildren () const |
FText | GetDisplayText () const |
FName | GetDisplayTextAsFName () const |
TWeakPtr< FDlgDataDisplayTreeNode > | GetParent () const |
virtual TWeakObjectPtr< AActor > | GetParentActor () const |
EDlgDataDisplayTextTreeNodeType | GetTextType () const |
void | GetVisibleChildren (TArray< TSharedPtr< FDlgDataDisplayTreeNode > > &OutChildren) |
bool | HasChildren () const |
bool | HasParent () const |
bool | IsCategory () const override |
virtual bool | IsEqual (const Self &Other) |
bool | IsLeaf () const |
bool | IsRoot () const |
virtual bool | IsSeparator () const |
bool | IsText () const override |
bool | IsVisible () const |
virtual FReply | OnClick () |
bool | operator== (const Self &Other) |
virtual void | SetChildren (const TArray< TSharedPtr< FDlgDataDisplayTreeNode > > &InChildren) |
void | SetDisplayText (const FText &InText) |
void | SetIsVisible (bool InIsVisible) |
void | SetParent (TWeakPtr< FDlgDataDisplayTreeNode > InParentNode) |
Protected Member Functions | |
bool | FilterDoesChildContainText (const TSharedPtr< Self > &Child, const FString &InSearch) override |
bool | FilterIsChildVisible (const TSharedPtr< Self > &GrandChild) override |
virtual void | GetPathToChildThatContainsText (const TSharedPtr< FDlgDataDisplayTreeNode > &Child, const FString &InSearch, TArray< TArray< TSharedPtr< FDlgDataDisplayTreeNode > > > &OutNodes) |
void | PostBuildPathToTopMostParent (const TSharedPtr< Self > &CurrentParentNode) override |
void | PostFilterPathsToNodes (const TSharedPtr< Self > &Child) override |
Protected Attributes | |
bool | bIsVisible |
EDlgDataDisplayCategoryTreeNodeType | CategoryType |
TArray< TSharedPtr< FDlgDataDisplayTreeNode > > | Children |
FText | DisplayText |
TWeakPtr< FDlgDataDisplayTreeNode > | Parent |
EDlgDataDisplayTextTreeNodeType | TextType |
Private Types | |
typedef FDlgDataDisplayTreeNode | Self |
typedef FDlgDataDisplayTreeNode | Super |
Node Representing a Category.
Definition at line 149 of file DlgDataDisplayTreeNode.h.
|
privateinherited |
Definition at line 53 of file DlgDataDisplayTreeNode.h.
|
private |
Definition at line 151 of file DlgDataDisplayTreeNode.h.
FDlgDataDisplayTreeCategoryNode::FDlgDataDisplayTreeCategoryNode | ( | const FText & | InDisplayText, |
const TSharedPtr< FDlgDataDisplayTreeNode > & | InParent, | ||
EDlgDataDisplayCategoryTreeNodeType | InCategoryType ) |
Definition at line 57 of file DlgDataDisplayTreeNode.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.
|
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.
|
inlineoverrideprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText to determine if the child has the text
Reimplemented from FDlgTreeViewNode< FDlgDataDisplayTreeNode >.
Definition at line 104 of file DlgDataDisplayTreeNode.h.
|
inlineoverrideprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText after we got the path of the GrandChild
Reimplemented from FDlgTreeViewNode< FDlgDataDisplayTreeNode >.
Definition at line 100 of file DlgDataDisplayTreeNode.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 |
Definition at line 60 of file DlgDataDisplayTreeNode.h.
|
inlineinherited |
Definition at line 46 of file DlgTreeViewNode.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 |
Gets the Actor that has this Node belongs to.
Reimplemented in FDlgDataDisplayTreeActorNode.
Definition at line 13 of file DlgDataDisplayTreeNode.cpp.
|
inlineprotectedvirtualinherited |
Definition at line 168 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 59 of file DlgDataDisplayTreeNode.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.
|
inlineoverridevirtual |
Reimplemented from FDlgDataDisplayTreeNode.
Definition at line 160 of file DlgDataDisplayTreeNode.h.
Is this equal with Other?
Reimplemented in FDlgDataDisplayTreeVariableNode.
Definition at line 70 of file DlgDataDisplayTreeNode.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.
|
inlinevirtualinherited |
Definition at line 67 of file DlgDataDisplayTreeNode.h.
|
inlineoverridevirtual |
Reimplemented from FDlgDataDisplayTreeNode.
Definition at line 159 of file DlgDataDisplayTreeNode.h.
|
inlineinherited |
Definition at line 78 of file DlgTreeViewNode.h.
|
inlinevirtualinherited |
Definition at line 18 of file DlgTreeViewNode.h.
Definition at line 78 of file DlgDataDisplayTreeNode.h.
|
inlineoverrideprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText after we advanced one parent in the path
Reimplemented from FDlgTreeViewNode< FDlgDataDisplayTreeNode >.
Definition at line 95 of file DlgDataDisplayTreeNode.h.
|
inlineoverrideprotectedvirtualinherited |
Called inside FilterPathsToNodesThatContainText after we got the path for the current Child.
Reimplemented from FDlgTreeViewNode< FDlgDataDisplayTreeNode >.
Definition at line 85 of file DlgDataDisplayTreeNode.h.
|
inlinevirtualinherited |
Definition at line 63 of file DlgTreeViewNode.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 111 of file DlgDataDisplayTreeNode.h.
|
protectedinherited |
Any children listed under this node.
Definition at line 217 of file DlgTreeViewNode.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.
|
protectedinherited |
Definition at line 114 of file DlgDataDisplayTreeNode.h.