A Demo Project for the UnrealEngineSDK
|
#include <SDialogueBrowser.h>
Public Member Functions | |
void | Construct (const FArguments &InArgs) |
FText | GetFilterText () const |
void | RefreshTree (bool bPreserveExpansion) |
SLATE_BEGIN_ARGS (Self) | |
Protected Member Functions | |
void | AddDialogueChildrenToItemFromProperty (const TSharedPtr< FDialogueBrowserTreeNode > &InItem, const TSharedPtr< FDialogueBrowserTreeVariableProperties > *PropertyPtr, EDialogueTreeNodeTextType TextType) |
void | AddEdgeNodeChildrenToItem (const TSharedPtr< FDialogueBrowserTreeNode > &InItem, const TSet< TWeakObjectPtr< const UDialogueGraphNode_Edge > > &EdgeNodes, EDialogueTreeNodeTextType TextType) |
void | AddGraphNodeBaseChildrenToItemFromProperty (const TSharedPtr< FDialogueBrowserTreeNode > &InItem, const TSharedPtr< FDialogueBrowserTreeVariableProperties > *PropertyPtr, EDialogueTreeNodeTextType GraphNodeTextType, EDialogueTreeNodeTextType EdgeNodeTextType) |
void | AddGraphNodeChildrenToItem (const TSharedPtr< FDialogueBrowserTreeNode > &InItem, const TSet< TWeakObjectPtr< const UDialogueGraphNode > > &GraphNodes, EDialogueTreeNodeTextType TextType) |
void | AddVariableChildrenToItem (const TSharedPtr< FDialogueBrowserTreeNode > &Item, const TMap< FName, TSharedPtr< FDialogueBrowserTreeVariableProperties > > &Variables, EDialogueTreeNodeTextType VariableType) |
void | BuildTreeViewItem (const TSharedPtr< FDialogueBrowserTreeNode > &Item) |
TSharedRef< SWidget > | FillViewOptionsEntries () |
FReply | FindInContentBrowserForItem (TSharedPtr< FDialogueBrowserTreeNode > InItem) |
void | GenerateFilteredItems () |
TSharedRef< SWidget > | GetFilterTextBoxWidget () |
void | HandleDoubleClick (TSharedPtr< FDialogueBrowserTreeNode > InItem) |
TSharedRef< ITableRow > | HandleGenerateRow (TSharedPtr< FDialogueBrowserTreeNode > InItem, const TSharedRef< STableViewBase > &OwnerTable) |
void | HandleGetChildren (TSharedPtr< FDialogueBrowserTreeNode > InItem, TArray< TSharedPtr< FDialogueBrowserTreeNode > > &OutChildren) |
FReply | HandleOnRefresh () |
void | HandleSearchTextCommitted (const FText &InText, ETextCommit::Type InCommitType) |
void | HandleSetExpansionRecursive (TSharedPtr< FDialogueBrowserTreeNode > InItem, bool bInIsItemExpanded) |
void | HandleSortSelectionChanged (SortOptionType Selection, ESelectInfo::Type SelectInfo) |
void | HandleTreeSelectionChanged (TSharedPtr< FDialogueBrowserTreeNode > NewValue, ESelectInfo::Type SelectInfo) |
TSharedRef< SWidget > | MakeButtonsWidgetForDialogue (const TSharedPtr< FDialogueBrowserTreeNode > &InItem) |
TSharedRef< SWidget > | MakeButtonWidgetForGraphNodes (const TArray< TSharedPtr< FDialogueBrowserTreeNode > > &InChildren) |
TArray< TSharedPtr< FDialogueBrowserTreeNode > > | MakeClassVariableCategoriesChildren (const TSharedPtr< FDialogueBrowserTreeNode > &Parent, const TSharedPtr< FDialogueBrowserTreeParticipantProperties > &ParticipantProperties, bool bHideEmptyCategories) const |
TSharedRef< SHorizontalBox > | MakeCustomObjectIconAndTextWidget (const FText &InText, const FSlateBrush *IconBrush, UClass *Class, EDialogueBlueprintOpenType OpenType, FName FunctionNameToOpen, int32 IconSize=24) |
TSharedRef< SHorizontalBox > | MakeIconAndTextWidget (const FText &InText, const FSlateBrush *IconBrush, int32 IconSize=24) |
TSharedRef< SWidget > | MakeInlineWidget (const TSharedPtr< FDialogueBrowserTreeNode > &InItem) |
TArray< TSharedPtr< FDialogueBrowserTreeNode > > | MakeParticipantCategoriesChildren (const TSharedPtr< FDialogueBrowserTreeNode > &Parent, const TSharedPtr< FDialogueBrowserTreeParticipantProperties > &ParticipantProperties, bool bHideEmptyCategories) const |
TArray< TSharedPtr< FDialogueBrowserTreeNode > > | MakeVariableCategoriesChildren (const TSharedPtr< FDialogueBrowserTreeNode > &Parent, const TSharedPtr< FDialogueBrowserTreeParticipantProperties > &ParticipantProperties, bool bHideEmptyCategories) const |
Static Protected Member Functions | |
static EVisibility | GetBrowseAssetButtonVisibility (UClass *Class) |
static FText | GetBrowseAssetText (UClass *Class) |
static FText | GetJumpToAssetText (UClass *Class) |
static EVisibility | GetOpenAssetButtonVisibility (UClass *Class) |
static FReply | OnBrowseAssetClicked (UClass *Class) |
static FReply | OnOpenAssetClicked (UClass *Class, EDialogueBlueprintOpenType OpenType, FName FunctionNameToOpen) |
Protected Attributes | |
SortOptionType | DefaultSortOption |
FString | FilterString |
TSharedPtr< SSearchBox > | FilterTextBoxWidget |
TMap< FName, TSharedPtr< FDialogueBrowserTreeParticipantProperties > > | ParticipantsProperties |
TSharedPtr< STreeView< TSharedPtr< FDialogueBrowserTreeNode > > > | ParticipantsTreeView |
TArray< TSharedPtr< FDialogueBrowserTreeNode > > | RootChildren |
TSharedPtr< FDialogueBrowserTreeNode > | RootTreeItem |
SortOptionType | SelectedSortOption |
TArray< SortOptionType > | SortOptions |
Private Types | |
typedef SDialogueBrowser | Self |
typedef TSharedPtr< FDialogueBrowserSortOption > | SortOptionType |
Implements the Dialogue Browser
Definition at line 21 of file SDialogueBrowser.h.
|
private |
Definition at line 23 of file SDialogueBrowser.h.
|
private |
Definition at line 24 of file SDialogueBrowser.h.
|
protected |
|
protected |
|
protected |
Definition at line 643 of file SDialogueBrowser.cpp.
|
protected |
|
protected |
|
protected |
Definition at line 692 of file SDialogueBrowser.cpp.
void SDialogueBrowser::Construct | ( | const FArguments & | InArgs | ) |
|
protected |
Definition at line 1874 of file SDialogueBrowser.cpp.
|
protected |
|
protected |
Definition at line 509 of file SDialogueBrowser.cpp.
|
staticprotected |
Definition at line 1790 of file SDialogueBrowser.cpp.
|
staticprotected |
|
inline |
|
protected |
Definition at line 541 of file SDialogueBrowser.cpp.
|
staticprotected |
Definition at line 1854 of file SDialogueBrowser.cpp.
|
staticprotected |
Definition at line 1778 of file SDialogueBrowser.cpp.
|
protected |
|
protected |
Definition at line 1234 of file SDialogueBrowser.cpp.
|
protected |
|
inlineprotected |
Definition at line 108 of file SDialogueBrowser.h.
|
protected |
Definition at line 1226 of file SDialogueBrowser.cpp.
|
protected |
Definition at line 1480 of file SDialogueBrowser.cpp.
|
protected |
Definition at line 1492 of file SDialogueBrowser.cpp.
|
protected |
|
protected |
Definition at line 1178 of file SDialogueBrowser.cpp.
|
protected |
Definition at line 1098 of file SDialogueBrowser.cpp.
|
protected |
|
protected |
Definition at line 1724 of file SDialogueBrowser.cpp.
|
protected |
Definition at line 1691 of file SDialogueBrowser.cpp.
|
protected |
Definition at line 1134 of file SDialogueBrowser.cpp.
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
Definition at line 1821 of file SDialogueBrowser.cpp.
void SDialogueBrowser::RefreshTree | ( | bool | bPreserveExpansion | ) |
Definition at line 243 of file SDialogueBrowser.cpp.
|
inline |
Definition at line 27 of file SDialogueBrowser.h.
|
protected |
Definition at line 206 of file SDialogueBrowser.h.
|
protected |
Definition at line 180 of file SDialogueBrowser.h.
|
protected |
Definition at line 177 of file SDialogueBrowser.h.
|
protected |
Used for fast lookup of each participants Key: Participant Name Value: participant properties
Definition at line 196 of file SDialogueBrowser.h.
|
protected |
Definition at line 189 of file SDialogueBrowser.h.
|
protected |
Definition at line 186 of file SDialogueBrowser.h.
|
protected |
Definition at line 183 of file SDialogueBrowser.h.
|
protected |
Definition at line 209 of file SDialogueBrowser.h.
|
protected |
Definition at line 203 of file SDialogueBrowser.h.