Module |
|
Header |
/Engine/Source/Developer/ToolWidgets/Public/Filters/FilterBase.h |
Include |
#include "Filters/FilterBase.h" |
template<typename FilterType>
class FFilterBase : public IFilter< FilterType >
The base class for all Filters that can be used with FilterBar Widgets
Name | Description | ||
---|---|---|---|
|
FChangedEvent |
ChangedEvent |
|
|
TSharedPtr< FFi... |
FilterCategory |
|
|
SetActiveEvent |
Name | Description | |
---|---|---|
|
FFilterBase ( |
Name | Description | ||
---|---|---|---|
|
void |
ActiveStateChanged ( |
Notification that the filter became active or inactive |
|
void |
BroadcastChangedEvent() |
|
|
TSharedPtr< ... |
GetCategory() |
|
|
GetColor() |
Returns the color this filter button will be when displayed as a button |
|
|
GetDisplayName() |
Returns the human readable name for this filter |
|
|
GetIconName() |
Returns the name of the icon to use in menu entries |
|
|
GetName() |
Returns the system name for this filter |
|
|
GetToolTipText() |
Returns the tooltip for this filter, shown in the filters menu |
|
|
bool |
IsInverseFilter() |
If true, the filter will be active in the FilterBar when it is inactive in the UI (i.e the filter pill is grayed out) : FFrontendFilter_ShowOtherDevelopers in Content Browser |
|
void |
LoadSettings |
Can be overriden for custom FilterBar subclasses to load settings, currently not implemented in any gneeric Filter Bar |
|
void |
ModifyContextMenu ( |
Called when the right-click context menu is being built for this filter |
|
void |
SaveSettings |
Can be overriden for custom FilterBar subclasses to save settings, currently not implemented in any gneeric Filter Bar |
|
void |
SetActive ( |
Set this filter as active/inactive |
Name | Description | ||
---|---|---|---|
|
FChangedEven... |
OnChanged() |
IFilter implementation. |
Name |
Description |
|
---|---|---|
|
FSetActiveEvent |
This event is broadcast to when this filter is set Active |
FGenericFilterfor a subclass that allows easy creation of filters