Mirrored SListView<T> API for easier interaction with a bound UListViewBase widget See declarations on SListView for more info on each function and event 更多...
#include <ListViewBase.h>
类 | |
| struct | FListViewConstructArgs |
| ListView construction helpers Use these instead of SNew-ing your owned ListView directly to get exposed events for free 更多... | |
Public 成员函数 | |
| virtual TSubclassOf< UUserWidget > | GetDesiredEntryClassForItem (ItemType Item) const |
| Default behavior is to check the delegate, then fall back to the default if that fails. 更多... | |
Protected 成员函数 | |
| virtual FMargin | GetDesiredEntryPadding (ItemType Item) const |
| Gets the desired padding for the entry representing the given item | |
| template<template< typename > class ObjectRowT = SObjectTableRow> | |
| TSharedPtr< ObjectRowT< ItemType > > | GetObjectRowFromItem (const ItemType &Item) const |
| Gets the SObjectTableRow underlying the UMG EntryWidget that represents the given item (if one exists) | |
| virtual UUserWidget & | OnGenerateEntryWidgetInternal (ItemType Item, TSubclassOf< UUserWidget > DesiredEntryClass, const TSharedRef< STableViewBase > &OwnerTable)=0 |
| Generates the actual entry widget that represents the given item. 更多... | |
| virtual void | OnGetChildrenInternal (ItemType Item, TArray< ItemType > &OutChildren) const |
| TreeViews only. 更多... | |
| virtual void | OnItemClickedInternal (ItemType Item) |
| ListView events - implement these instead of binding handlers directly to a list | |
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.
|
inlinevirtual |
Default behavior is to check the delegate, then fall back to the default if that fails.
Feel free to override directly in child classes to determine the class yourself.
|
protectedpure virtual |
Generates the actual entry widget that represents the given item.
Expected to be used in concert with UListViewBase::GenerateTypedEntry().
在 UListView 内被实现.
|
inlineprotectedvirtual |
TreeViews only.
Gets the items to consider children of the given item when generating child entries.
被 UTreeView 重载.