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, 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

Name Description

Public function

void

 

ClearSelectedItems()

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function

void

 

ExpandTree()

Public function Const

const FText ...

 

GetFilterText()

Public function Const

FText

 

GetFilterTextNoRef()

Public function Const

TSharedRef< ...

 

GetSearchBox()

Public function

TArray< Cate...

 

GetSelectedCategories()

Public function

TArray< Item...

 

GetSelectedItems()

Public function Const

bool

 

IsFiltering()

Public function

bool

 

IsItemSelected

(
    const ItemType Item
)

Public function Const

bool

 

IsPendingRefresh()

Public function Const

bool

 

IsSearching()

Public function

void

 

RefreshAllCurrentItems

(
    bool bForceExpansion
)

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

 

RequestScrollIntoView

(
    const ItemType& Item
)

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

Public struct

FSectionData

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