Choose your operating system:
Windows
macOS
Linux
| SObjectWidget | ||||
| IObjectTableRow
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Slate/SObjectTableRow.h |
Include |
#include "Slate/SObjectTableRow.h" |
template<typename ItemType>
class SObjectTableRow :
public SObjectWidget,
public IObjectTableRow
It's an SObjectWidget! It's an ITableRow! It does it all!
By using UUserWidget::TakeDerivedWidget<T>(), this class allows UMG to fully leverage the robust Slate list view widgets. The major gain from this is item virtualization, which is an even bigger deal when unnecessary widgets come with a boatload of additional UObject allocations.
The owning UUserWidget is expected to implement the IUserListItem UInterface, which allows the row widget to respond to various list-related events.
Much of the implementation here matches STableRow<T> exactly, so refer there if looking for additional information.
Name | Description | ||
---|---|---|---|
|
OnHovered |
||
|
OnUnhovered |
||
|
TWeakObjectPtr<... |
OwnerListView |
|
|
OwnerTablePtr |
Name | Description | |
---|---|---|
|
~SObjectTableRow() |
Name | Description | ||
---|---|---|---|
|
Construct ( |
||
|
EActiveTimer... |
DetectItemSelectionChanged ( |
|
|
const ItemTy... |
GetItemForThis ( |
|
|
InitializeObjectRow() |
||
|
IsItemSelectable() |
||
|
NotifyItemExpansionChanged ( |
||
|
OnItemSelectionChanged ( |
||
|
ResetObjectRow() |
Name | Description | ||
---|---|---|---|
|
OnDragDetected ( |
Called when Slate detects that a widget started to be dragged. |
|
|
OnMouseButtonDoubleClick ( |
Called when a mouse button is double clicked. Override this in derived classes. |
|
|
OnMouseButtonDown ( |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
|
|
OnMouseButtonUp ( |
The system calls this method to notify the widget that a mouse button was release within it. |
|
|
OnMouseEnter ( |
The system will use this event to notify a widget that the cursor has entered it. |
|
|
OnMouseLeave ( |
The system will use this event to notify a widget that the cursor has left it. |
|
|
OnTouchEnded ( |
Called when a touchpad touch is ended (finger lifted) |
|
|
OnTouchStarted ( |
Called when a touchpad touch is started (finger down) |
|
|
SupportsKeyboardFocus() |
Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Name | Description | ||
---|---|---|---|
|
UListViewBas... |
GetOwningListView() |
|
|
UUserWidget ... |
GetUserWidget() |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
AsWidget() |
|
|
DoesItemHaveChildren() |
||
|
TSharedPtr< ... |
GetContent() |
|
|
GetIndentLevel() |
||
|
GetIndexInList() |
||
|
GetRowSizeForColumn ( |
||
|
ESelectionMo... |
GetSelectionMode() |
Called to query the selection mode for the row |
|
GetWiresNeededByDepth() |
||
|
InitializeRow() |
Called when the row has been generated and associated with an item in the owning table. |
|
|
IsItemExpanded() |
||
|
IsItemSelected() |
||
|
IsLastChild() |
||
|
Private_OnExpanderArrowShiftClicked() |
Called when the expander arrow for this row is shift+clicked |
|
|
ResetRow() |
Called when the row has been released from the owning table and is no longer associated with any items therein. |
|
|
SetIndexInList ( |
||
|
ToggleExpansion() |
Toggle the expansion of the item associated with this row |
Name |
Description |
|
---|---|---|
|
FArguments |