A Demo Project for the UnrealEngineSDK
|
#include <DialogueBrowserTreeNode.h>
Public Member Functions | |
FDialogueBrowserTreeSeparatorNode (const TSharedPtr< FDialogueBrowserTreeNode > &InParent=nullptr) | |
void | AddChild (const TSharedPtr< Self > &ChildNode) override |
void | AddInlineChild (const TSharedPtr< Self > &ChildNode, bool bIsInline=false) |
void | ClearChildren () override |
void | ClearParent () |
bool | DoesDisplayTextContains (const FString &InSearch, ESearchCase::Type SearchCase=ESearchCase::IgnoreCase) |
void | ExpandAllChildren (const TSharedPtr< STreeView< TSharedPtr< FDialogueBrowserTreeNode > > > &TreeView, bool bRecursive=true) |
virtual void | FilterPathsToNodesThatContainText (const FString &InSearch, TArray< TArray< TSharedPtr< FDialogueBrowserTreeNode > > > &OutNodes) |
void | GetAllNodes (TArray< TSharedPtr< FDialogueBrowserTreeNode > > &OutNodeArray) const |
EDialogueTreeNodeCategoryType | GetCategoryType () const |
const TArray< TSharedPtr< FDialogueBrowserTreeNode > > & | GetChildren () const |
FText | GetDisplayText () const |
FName | GetDisplayTextAsFName () const |
const TArray< TSharedPtr< Self > > & | GetInlineChildren () const |
TWeakPtr< FDialogueBrowserTreeNode > | GetParent () const |
virtual UClass * | GetParentClass () const |
virtual FName | GetParentParticipantName () const |
virtual FName | GetParentVariableName () const |
EDialogueTreeNodeTextType | GetTextType () const |
void | GetVisibleChildren (TArray< TSharedPtr< FDialogueBrowserTreeNode > > &OutChildren) |
bool | HasChildren () const |
bool | HasInlineChildren () const |
bool | HasParent () const |
bool | IsCategory () const override |
bool | IsConditionText () const |
bool | IsCustomEventText () const |
bool | IsDialogueText () const |
bool | IsEdgeNodeText () |
virtual bool | IsEqual (const Self &Other) |
bool | IsEventText () const |
bool | IsGraphNodeText () const |
bool | IsLeaf () const |
bool | IsRoot () const |
bool | IsSeparator () const override |
bool | IsText () const override |
bool | IsVisible () const |
virtual FReply | OnClick () |
bool | operator== (const Self &Other) |
virtual void | SetChildren (const TArray< TSharedPtr< FDialogueBrowserTreeNode > > &InChildren) |
void | SetDisplayText (const FText &InText) |
void | SetInlineChildren (const TArray< TSharedPtr< Self > > &InChildren) |
void | SetIsVisible (bool InIsVisible) |
void | SetParent (TWeakPtr< FDialogueBrowserTreeNode > InParentNode) |
void | SetTextType (EDialogueTreeNodeTextType InTextType) |
FString | ToString () const |
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< FDialogueBrowserTreeNode > &Child, const FString &InSearch, TArray< TArray< TSharedPtr< FDialogueBrowserTreeNode > > > &OutNodes) |
void | PostBuildPathToTopMostParent (const TSharedPtr< Self > &CurrentParentNode) override |
void | PostFilterPathsToNodes (const TSharedPtr< Self > &Child) override |
Protected Attributes | |
bool | bIsVisible |
EDialogueTreeNodeCategoryType | CategoryType = EDialogueTreeNodeCategoryType::Default |
TArray< TSharedPtr< FDialogueBrowserTreeNode > > | Children |
FText | DisplayText |
TArray< TSharedPtr< Self > > | InlineChildren |
TWeakPtr< FDialogueBrowserTreeNode > | Parent |
EDialogueTreeNodeTextType | TextType = EDialogueTreeNodeTextType::Default |
Private Types | |
typedef FDialogueBrowserTreeNode | Self |
typedef FDialogueBrowserTreeNode | Super |
Definition at line 284 of file DialogueBrowserTreeNode.h.
|
privateinherited |
Definition at line 101 of file DialogueBrowserTreeNode.h.
|
private |
Definition at line 286 of file DialogueBrowserTreeNode.h.
FDialogueBrowserTreeSeparatorNode::FDialogueBrowserTreeSeparatorNode | ( | const TSharedPtr< FDialogueBrowserTreeNode > & | InParent = nullptr | ) |
Definition at line 104 of file DialogueBrowserTreeNode.cpp.
|
inlineoverridevirtualinherited |
Reimplemented from FDlgTreeViewNode< FDialogueBrowserTreeNode >.
Definition at line 128 of file DialogueBrowserTreeNode.h.
|
inlineoverridevirtualinherited |
Reimplemented from FDlgTreeViewNode< FDialogueBrowserTreeNode >.
Definition at line 133 of file DialogueBrowserTreeNode.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< FDialogueBrowserTreeNode >.
Definition at line 257 of file DialogueBrowserTreeNode.h.
|
inlineoverrideprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText after we got the path of the GrandChild
Reimplemented from FDlgTreeViewNode< FDialogueBrowserTreeNode >.
Definition at line 252 of file DialogueBrowserTreeNode.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 125 of file DialogueBrowserTreeNode.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 147 of file DialogueBrowserTreeNode.h.
|
inlineinherited |
Definition at line 40 of file DlgTreeViewNode.h.
|
virtualinherited |
Gets the Class that this Node belongs to if any. This could be empty in most cases.
Reimplemented in FDialogueBrowserTreeCustomObjectNode.
Definition at line 37 of file DialogueBrowserTreeNode.cpp.
|
virtualinherited |
Gets the Participant Name that this Node belongs to. This must always return a valid value.
Reimplemented in FDialogueBrowserTreeParticipantNode.
Definition at line 17 of file DialogueBrowserTreeNode.cpp.
|
virtualinherited |
Gets the Variable name that this Node belongs to if any. This could be empty in most cases.
Reimplemented in FDialogueBrowserTreeVariableNode.
Definition at line 27 of file DialogueBrowserTreeNode.cpp.
|
inlineprotectedvirtualinherited |
Definition at line 168 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 121 of file DialogueBrowserTreeNode.h.
|
inlineinherited |
Definition at line 47 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 45 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 146 of file DialogueBrowserTreeNode.h.
|
inlineinherited |
Definition at line 39 of file DlgTreeViewNode.h.
|
inlineoverridevirtual |
Reimplemented from FDialogueBrowserTreeNode.
Definition at line 290 of file DialogueBrowserTreeNode.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in FDialogueBrowserTreeDialogueNode, FDialogueBrowserTreeGraphNode, and FDialogueBrowserTreeEdgeNode.
Definition at line 217 of file DialogueBrowserTreeNode.h.
|
inlineinherited |
|
inlineinherited |
|
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.
|
inlineoverridevirtual |
Reimplemented from FDialogueBrowserTreeNode.
Definition at line 291 of file DialogueBrowserTreeNode.h.
|
inlineoverridevirtual |
Reimplemented from FDialogueBrowserTreeNode.
Definition at line 289 of file DialogueBrowserTreeNode.h.
|
inlineinherited |
Definition at line 78 of file DlgTreeViewNode.h.
|
inlinevirtualinherited |
Reimplemented in FDialogueBrowserTreeDialogueNode, FDialogueBrowserTreeGraphNode, and FDialogueBrowserTreeEdgeNode.
Definition at line 18 of file DlgTreeViewNode.h.
|
inlineoverrideprotectedvirtualinherited |
Called inside GetPathToChildThatContainsText after we advanced one parent in the path
Reimplemented from FDlgTreeViewNode< FDialogueBrowserTreeNode >.
Definition at line 246 of file DialogueBrowserTreeNode.h.
|
inlineoverrideprotectedvirtualinherited |
Called inside FilterPathsToNodesThatContainText after we got the path for the current Child.
Reimplemented from FDlgTreeViewNode< FDialogueBrowserTreeNode >.
Definition at line 233 of file DialogueBrowserTreeNode.h.
|
inlinevirtualinherited |
Definition at line 63 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 32 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 148 of file DialogueBrowserTreeNode.h.
|
inlineinherited |
Definition at line 79 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 41 of file DlgTreeViewNode.h.
|
inlineinherited |
Definition at line 122 of file DialogueBrowserTreeNode.h.
|
inherited |
Definition at line 47 of file DialogueBrowserTreeNode.cpp.
|
protectedinherited |
Is this node displayed?
Definition at line 226 of file DlgTreeViewNode.h.
|
protectedinherited |
Definition at line 264 of file DialogueBrowserTreeNode.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 |
Definition at line 270 of file DialogueBrowserTreeNode.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 267 of file DialogueBrowserTreeNode.h.