4#include "Widgets/DeclarativeSyntaxSupport.h"
5#include "Widgets/SCompoundWidget.h"
6#include "Widgets/Views/STreeView.h"
7#include "Framework/Commands/UICommandList.h"
23 : _bIsSearchWindow(true)
24 , _bHideSearchBar(false)
27 SLATE_ARGUMENT(
bool, bIsSearchWindow)
28 SLATE_ARGUMENT(
bool, bHideSearchBar)
29 SLATE_ARGUMENT(TSharedPtr<SDockTab>, ContainingTab)
78 void HandleGetChildren(TSharedPtr<FDialogueSearchResult> InItem, TArray<TSharedPtr<FDialogueSearchResult>>& OutChildren);
84 TSharedRef<ITableRow>
HandleGenerateRow(TSharedPtr<FDialogueSearchResult> InItem,
const TSharedRef<STableViewBase>& OwnerTable);
97 TSharedPtr<STreeView<TSharedPtr<FDialogueSearchResult>>>
TreeView;
TSharedRef< SWidget > FillFilterEntries()
void HandleGetChildren(TSharedPtr< FDialogueSearchResult > InItem, TArray< TSharedPtr< FDialogueSearchResult > > &OutChildren)
FName GetHostTabId() const
void FocusForUse(bool bSetFindWithinDialogue, const FDialogueSearchFilter &SearchFilter=FDialogueSearchFilter(), bool bSelectFirstResult=false)
TSharedPtr< SWidget > HandleContextMenuOpening()
bool bIsInFindWithinDialogueMode
void HandleTreeSelectionDoubleClicked(TSharedPtr< FDialogueSearchResult > Item)
TSharedRef< ITableRow > HandleGenerateRow(TSharedPtr< FDialogueSearchResult > InItem, const TSharedRef< STableViewBase > &OwnerTable)
void HandleHostTabClosed(TSharedRef< SDockTab > DockTab)
TWeakPtr< SDockTab > HostTab
TSharedPtr< SSearchBox > SearchTextBoxWidget
TSharedPtr< STreeView< TSharedPtr< FDialogueSearchResult > > > TreeView
TSharedPtr< FUICommandList > CommandList
void HandleFindModeChanged(ECheckBoxState CheckState)
FReply HandleOpenGlobalFindResults()
TWeakPtr< FDialogueEditor > DialogueEditorPtr
void HandleSearchTextCommitted(const FText &Text, ETextCommit::Type CommitType)
TWeakPtr< SVerticalBox > MainVerticalBoxWidget
void HandleSearchTextChanged(const FText &Text)
void MakeSearchQuery(const FDialogueSearchFilter &SearchFilter, bool bInIsFindWithinDialogue)
FDialogueSearchFilter CurrentFilter
TArray< TSharedPtr< FDialogueSearchResult > > ItemsFound
ECheckBoxState HandleGetFindModeChecked() const
TSharedPtr< FDialogueSearchResult > RootSearchResult
void Construct(const FArguments &InArgs, const TSharedPtr< FDialogueEditor > &InDialogueEditor=nullptr)