Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/ListViewBase.h |
Include |
#include "Components/ListViewBase.h" |
class UListViewBase : public UWidget
Bare-bones base class to make creating custom UListView widgets easier. Child classes should also inherit from ITypedUMGListView<T> to get a basic public ListView API for free.
Child classes will own the actual SListView<T> widgets, but this provides some boilerplate functionality for generating entries. To generate a row for the child list, use GenerateTypedRow with the appropriate SObjectTableRow<T> type for your list
Additionally, the entry widget class can be filtered for a particular class and interface with the EntryClass and EntryInterface metadata arguments This can be specified either on the class directly (see below) or on any BindWidget FProperty
Name | Description | ||
---|---|---|---|
|
AllowOverscroll |
Disable to stop scrollbars from activating inertial overscrolling |
|
|
bAllowDragging |
True to allow dragging of row widgets in the list |
|
|
bEnableFixedLineOffset |
||
|
bEnableRightClickScrolling |
True to allow right click drag scrolling. |
|
|
bEnableScrollAnimation |
True to enable lerped animation when scrolling through the list |
|
|
TSubclassOf< UU... |
EntryWidgetClass |
The type of widget to create for each entry displayed in the list. |
|
float |
FixedLineScrollOffset |
Optional fixed offset (in lines) to always apply to the top/left (depending on orientation) of the list. |
|
float |
WheelScrollMultiplier |
The multiplier to apply when wheel scrolling |
Name | Description | |
---|---|---|
|
UListViewBase ( |
Name | Description | ||
---|---|---|---|
|
WidgetEntryT... |
GenerateTypedEntry ( |
|
|
const TArray... |
GetDisplayedEntryWidgets() |
Gets all of the list entry widgets currently being displayed by the list |
|
TSubclassOf<... |
GetEntryWidgetClass() |
|
|
float |
GetScrollOffset() |
Get the scroll offset of this view (in items) |
|
HandleListEntryHovered ( |
||
|
HandleListEntryUnhovered ( |
||
|
HandleRowReleased ( |
Expected to be bound to the actual ListView widget created by a child class (automatically taken care of via the construction helpers within ITypedUMGListView) |
|
|
FOnListEntry... |
OnEntryWidgetGenerated() |
|
|
FOnEntryWidg... |
OnEntryWidgetReleased() |
|
|
OnRefreshDesignerItems() |
Called during design time to allow lists to generate preview entries via dummy data. |
|
|
TSharedRef< ... |
RebuildListWidget() |
Implement in child classes to construct the actual ListView Slate widget |
|
RefreshDesignerItems ( |
Helper intended to be called by overrides of OnRefreshDesignerItems. |
|
|
RegenerateAllEntries() |
Full regeneration of all entries in the list. |
|
|
RequestRefresh() |
Sets the list to refresh on the next tick. |
|
|
ScrollToBottom() |
Scroll the entire list down to the bottom-most item |
|
|
ScrollToTop() |
Scroll the entire list up to the first item |
|
|
SetScrollbarVisibility ( |
||
|
SetScrollOffset ( |
Set the scroll offset of this view (in items) |
|
|
SetWheelScrollMultiplier ( |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
|
|
ValidateCompiledDefaults ( |
Called at the end of Widget Blueprint compilation. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name |
Description |
|
---|---|---|
|
FOnEntryWidgetReleased |
|
|
FOnListEntryGenerated |