Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/Widgets > API/Plugins/NiagaraEditor/Widgets/SItemSelector
Inheritance Hierarchy
- SItemSelector< CategoryType, ItemType, SectionType, CategoryKeyType, ItemKeyType, SectionKeyType >::IItemSelectorItemViewModelUtilities
- TSharedFromThis
- SItemSelector::FItemSelectorViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/Widgets/SItemSelector.h |
| Include | #include "Widgets/SItemSelector.h" |
Syntax
class FItemSelectorViewModel :
public SItemSelector< CategoryType, ItemType, SectionType, CategoryKeyType, ItemKeyType, SectionKeyType >::IItemSelectorItemViewModelUtilities,
public TSharedFromThis< FItemSelectorViewModel >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FItemSelectorViewModel
(
TArray< ItemType > InItems, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCategoryToRoot
(
const CategoryType& Category |
||
| void | AddItemRecursive
(
const ItemType& Item |
||
| void | AddItemToRoot
(
const ItemType& Item, |
||
| bool | |||
| bool | CompareCategoriesForEquality
(
const CategoryType& CategoryA, |
||
| int32 | CompareItems
(
const ItemType& ItemA, |
||
| bool | CompareItemsForEquality
(
const ItemType& ItemA, |
||
| bool | CompareSectionsForEquality
(
const SectionType& SectionA, |
||
| bool | DoesItemPassFilter
(
const ItemType& InItem |
||
| bool | DoesSectionPassFilter
(
const SectionType& InSection |
||
| TSharedPtr< FItemSelectorItemCategoryViewModel > | FindOrAddNestedCategory
(
TSharedRef< FSectionViewModel >& SectionViewModel, |
||
| TSharedPtr< FItemSelectorItemCategoryViewModel > | FindOrAddNestedCategoryInRoot
(
const TArray< CategoryType >& CategoryPath |
||
| TSharedRef< FSectionViewModel > | FindOrAddSection
(
const SectionType& Section |
||
| void | GetChildrenRecursive
(
TArray< TSharedRef< FItemSelectorItemViewModel >>& OutChildren |
||
| int32 | |||
| int32 | |||
| const FText & | |||
| const TArray< TSharedRef< FItemSelectorItemContainerViewModel > > & | |||
| void | GetItemViewModelsForItems
(
const TArray< ItemType >& InItems, |
||
| int32 | GetItemWeight
(
const ItemType& InItem, |
||
| const ItemKeyType | GetKeyForItem
(
const ItemType& InItem |
||
| const FOnCompareCategoriesForSorting & | |||
| const FOnCompareItemsForSorting & | |||
| const FOnCompareSectionsForSorting & | |||
| const TArray< TSharedRef< FItemSelectorItemViewModel > > * | GetRootItems () |
||
| TSharedPtr< FRootViewModel > | |||
| const TArray< TSharedRef< FSectionViewModel > > & | GetSections () |
||
| bool | IsFiltering () |
||
| bool | IsSearching () |
||
| int32 | |||
| void | Refresh
(
const TArray< ItemType >& InItems, |
||
| void | SetFilterText
(
FText InFilterText, |
||
| bool | |||
| void | UpdateCurrentMaxWeight
(
int32 InCurrentWeight |
||
| void | UpdateCurrentSuggestionIndex
(
const int32& Index |
||
| void |