Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/ListViewBase.h |
Include |
#include "Components/ListViewBase.h" |
template<typename ItemType>
class ITypedUMGListView
Mirrored SListView<T> API for easier interaction with a bound UListViewBase widget See declarations on SListView for more info on each function and event
Note that, being a template class, this is not a UClass and therefore cannot be exposed to Blueprint. If you are using UObject* items, just use (or inherit from) UListView directly Otherwise, it is up to the child class to propagate events and/or expose functions to BP as needed
Use the IMPLEMENT_TYPED_UMG_LIST() macro for the implementation boilerplate in your implementing class.
Name | Description | ||
---|---|---|---|
|
CancelScrollIntoView() |
||
|
ClearSelection() |
||
|
TSharedRef< ... |
ConstructListView ( |
|
|
TSharedRef< ... |
ConstructTileView ( |
|
|
TSharedRef< ... |
ConstructTreeView ( |
|
|
TSubclassOf<... |
GetDefaultEntryClass() |
|
|
TSubclassOf<... |
GetDesiredEntryClassForItem ( |
Default behavior is to check the delegate, then fall back to the default if that fails. |
|
GetDesiredEntryPadding ( |
Gets the desired padding for the entry representing the given item |
|
|
RowWidgetT &... |
GetEntryWidgetFromItem ( |
|
|
SListView< I... |
GetMyListView() |
|
|
GetNumItemsSelected() |
||
|
TSharedPtr< ... |
GetObjectRowFromItem ( |
Gets the SObjectTableRow underlying the UMG EntryWidget that represents the given item (if one exists) |
|
GetOwningUserIndex() |
||
|
NullableItem... |
GetSelectedItem() |
Public API to match that of SListView. |
|
GetSelectedItems ( |
||
|
IsDesignerPreview() |
||
|
IsItemSelected ( |
||
|
IsItemVisible ( |
||
|
const ItemTy... |
ItemFromEntryWidget ( |
|
|
UUserWidget ... |
OnGenerateEntryWidgetInternal ( |
Generates the actual entry widget that represents the given item. |
|
OnGetChildrenInternal ( |
TreeViews only. |
|
|
FOnGetEntryC... |
OnGetEntryClassForItem() |
|
|
OnIsSelectableOrNavigableInternal ( |
||
|
FSimpleListI... |
OnItemClicked() |
|
|
OnItemClickedInternal ( |
ListView events - implement these instead of binding handlers directly to a list |
|
|
FSimpleListI... |
OnItemDoubleClicked() |
|
|
OnItemDoubleClickedInternal ( |
||
|
FOnItemExpan... |
OnItemExpansionChanged() |
|
|
OnItemExpansionChangedInternal ( |
||
|
FOnItemIsHov... |
OnItemIsHoveredChanged() |
|
|
FOnItemScrol... |
OnItemScrolledIntoView() |
|
|
OnItemScrolledIntoViewInternal ( |
||
|
FOnItemSelec... |
OnItemSelectionChanged() |
|
|
FOnListViewS... |
OnListViewScrolled() |
|
|
OnListViewScrolledInternal ( |
||
|
OnSelectionChangedInternal ( |
||
|
RequestNavigateToItem ( |
||
|
RequestScrollItemIntoView ( |
||
|
SetItemSelection ( |
||
|
SetSelectedItem ( |
Name |
Description |
|
---|---|---|
|
FListViewConstructArgs |
ListView construction helpers Use these instead of SNew-ing your owned ListView directly to get exposed events for free |
|
FTileViewConstructArgs |
|
|
FTreeViewConstructArgs |
Name |
Description |
---|---|
FOnGetEntryClassForItem |
|
FOnItemExpansionChanged |
|
FOnItemIsHoveredChanged |
|
FOnItemScrolledIntoView |
|
FOnItemSelectionChanged |
|
FOnListViewScrolled |
|
FSimpleListItemEvent |
Automatically implemented via IMPLEMENT_TYPED_UMG_LIST() |
NullableItemType |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
ConstructListView ( |
Use ConstructListView with FListViewConstructArgs instead of individual arguments. |
|
TSharedRef< ... |
ConstructTileView ( |
Use ConstructTileView with FTileViewConstructArgs instead of individual arguments. |
|
TSharedRef< ... |
ConstructTreeView ( |
Use ConstructTreeView with FTreeViewConstructArgs instead of individual arguments. |
UListView for an implementation example.