Navigation
Unreal Engine C++ API Reference > Developer > ToolWidgets > Filters
Inheritance Hierarchy
References
Module | ToolWidgets |
Header | /Engine/Source/Developer/ToolWidgets/Public/Filters/SFilterSearchBox.h |
Include | #include "Filters/SFilterSearchBox.h" |
Syntax
class SFilterSearchBox : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)
Remarks
A SearchBox widget that contains support for displaying search history When used with a FilterBar widget (
Functions
Type | Name | Description |
---|---|---|
void | Construct ( const FArguments& InArgs ) | Constructs this widget with InArgs |
FText | GetText () | Get the text string currently being edited |
void | SetError ( const FText& InError ) | Set or clear the current error reporting information for this search box |
void | SetError ( const FString& InError ) | Set or clear the current error reporting information for this search box |
void | SetOnSaveSearchHandler ( FOnSaveSearchClicked InOnSaveSearch... ) | Show a + button next to the current search, and set the handler for when that is clicked |
void | SetText ( const TAttribute< FText >& InNewTe... ) | Sets the text string currently being edited |
Overridden from SWidget
Type | Name | Description |
---|---|---|
bool | HasKeyboardFocus () | Checks to see if this widget currently has the keyboard focus |
void | OnFocusLost ( const FFocusEvent& InFocusEvent ) | SWidget interface |
FReply | OnFocusReceived ( const FGeometry& MyGeometry, const FFocusEvent& InFocusEvent ) | KEY INPUT Called when focus is given to this widget. This event does not bubble. |
bool | SupportsKeyboardFocus () | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Classes
Type | Name | Description |
---|---|---|
Public struct | FArguments |
Typedefs
Name | Description |
---|---|
FOnSaveSearchClicked |
See Also
SBasicFilterBar or SFilterBar)
it allows the user to save searches from the history as filter pills