SItemSelector

A generic widget for selecting an item from an array of items including optional filtering and categorization.

Windows
MacOS
Linux

Inheritance Hierarchy

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>
class SItemSelector : public SCompoundWidget

Remarks

A generic widget for selecting an item from an array of items including optional filtering and categorization.

Functions

Name Description

Public function

void

 

ClearSelectedItems()

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function

TArray< Item...

 

GetSelectedItems()

Public function

void

 

RefreshItems

(
    const TArray< ItemType >& InItems
)

Public function

void

 

RefreshItemsAndDefaultCategories

(
    const TArray< ItemType >& InItems,
    const TArray< TArray< CategoryType ...
)

Public function

void

 

RefreshItemsAndDefaultCategories

(
    const TArray< ItemType >& InItems,
    const TArray< CategoryType >& InDe...
)

Public function

void

 

SetSelectedItems

(
    const TArray< ItemType >& NewSelec...
)

Overridden from SWidget

Name Description

Public function Virtual

FReply

 

OnKeyDown

(
    const FGeometry& MyGeometry,
    const FKeyEvent& InKeyEvent
)

Called after a key is pressed when this widget has focus (this event bubbles if not handled)

Classes

Name

Description

Public struct

FArguments

Enums

Typedefs

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss