Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/Widgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SItemSelector
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/Widgets/SItemSelector.h |
| Include | #include "Widgets/SItemSelector.h" |
Syntax
template<typename CategoryType, typename ItemType, typename SectionType, typename CategoryKeyType, typename ItemKeyType, typename SectionKeyType>
class SItemSelector : public SCompoundWidget
Remarks
A generic widget for selecting an item from an array of items including optional filtering and categorization.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Construct
(
const FArguments& InArgs |
||
| void | ExpandTree () |
||
| void | ExpandTreeByFilter
(
const FOnCategoryPassesFilter& InFilter |
||
| void | GetExpandedCategoryItems
(
TArray< CategoryType >& OutExpandedItems |
||
| const FText & | |||
| FText | |||
| TSharedRef< SWidget > | GetSearchBox () |
||
| TArray< CategoryType > | |||
| TArray< ItemType > | |||
| bool | IsFiltering () |
||
| bool | IsItemSelected
(
const ItemType Item |
||
| bool | |||
| bool | IsSearching () |
||
| void | RefreshAllCurrentItems
(
bool bForceExpansion |
||
| void | RefreshItems
(
const TArray< ItemType >& InItems |
||
| void | RefreshItemsAndDefaultCategories
(
const TArray< ItemType >& InItems, |
||
| void | RefreshItemsAndDefaultCategories
(
const TArray< ItemType >& InItems, |
||
| void | RequestScrollIntoView
(
const ItemType& Item |
||
| void | SetSelectedItems
(
const TArray< ItemType >& NewSelectedItems, |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FSectionData |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EItemSelectorItemViewModelType |