Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Views/STableRow.h |
Include |
#include "Widgets/Views/STableRow.h" |
The ListView is populated by Selectable widgets. A Selectable widget is a way of the ListView containing it (OwnerTable) and holds arbitrary Content (Content). A Selectable works with its corresponding ListView to provide selection functionality.
Name | Description | ||
---|---|---|---|
|
bAllowPreselectedItemActivation |
When activating an item via mouse button, we generally don't allow pre-selected items to be activated |
|
|
bChangedSelectionOnMouseDown |
||
|
bDragWasDetected |
||
|
bProcessingSelectionTouch |
Did the current a touch interaction start in this item? |
|
|
bShowSelection |
Whether or not to visually show that this row is selected |
|
|
Content |
The widget in the content slot for this row |
|
|
const ISlateSty... |
ExpanderStyleSet |
The slate style to use with the expander |
|
IndexInList |
Index of the corresponding data item in the list |
|
|
InnerContentSlot |
The slot that contains the inner content for this row. |
|
|
ItemDropZone |
Are we currently dragging/dropping over this item? |
|
|
OnAcceptDrop |
||
|
OnCanAcceptDrop |
||
|
OnDragDetected_Handler |
Delegate triggered when a user starts to drag a list item |
|
|
OnDragEnter_Handler |
Delegate triggered when a user's drag enters the bounds of this list item |
|
|
OnDragLeave_Handler |
Delegate triggered when a user's drag leaves the bounds of this list item |
|
|
OnDrop_Handler |
Delegate triggered when a user's drag is dropped in the bounds of this list item |
|
|
OwnerTablePtr |
The list that owns this Selectable |
|
|
SignalSelectionMode |
When should we signal that selection changed for a left click |
|
|
const FTableRow... |
Style |
Style used to draw this table row |
Name | Description | |
---|---|---|
|
STableRow() |
Protected constructor; SWidgets should only be instantiated via declarative syntax. |
Name | Description | ||
---|---|---|---|
|
Construct ( |
Construct this widget |
|
|
ConstructChildren ( |
||
|
ConstructInternal ( |
An internal method to construct and setup this row widget (purposely avoids child construction). |
|
|
const FSlate... |
GetBorder() |
|
|
GetForegroundBasedOnSelection() |
||
|
const ItemTy... |
GetItemForThis ( |
|
|
IsSelected() |
Callback to determine if the row is selected or not |
|
|
IsSelectedExclusively() |
Callback to determine if the row is selected singularly and has keyboard focus or not |
|
|
OnDragEnter ( |
||
|
OnDragLeave ( |
||
|
SetOwnerTableView ( |
||
|
SetRowContent ( |
Set the entire content of this row, replacing any extra UI (such as the expander arrows for tree views) that was added by ConstructChildren |
|
|
EItemDropZon... |
ZoneFromPointerPosition ( |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
AsWidget() |
|
|
DoesItemHaveChildren() |
||
|
TSharedPtr< ... |
GetContent() |
Get the inner content of this row |
|
GetIndentLevel() |
||
|
GetIndexInList() |
||
|
GetRowSizeForColumn ( |
By default, this function does nothing, it should be implemented by derived class |
|
|
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 | ||
---|---|---|---|
|
SetContent ( |
Set the inner content of this row, preserving any extra UI (such as the expander arrows for tree views) that was added by ConstructChildren |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
CreateAccessibleWidget() |
|
|
OnDragDetected ( |
Called when Slate detects that a widget started to be dragged. |
|
|
OnDragOver ( |
Called during drag and drop when the the mouse is being dragged over a widget. |
|
|
OnDrop ( |
Called when the user is dropping something onto a widget; terminates drag and drop. |
|
|
OnMouseButtonDoubleClick ( |
Called when a mouse button is double clicked. Override this in derived classes. |
|
|
OnMouseButtonDown ( |
||
|
OnMouseButtonUp ( |
||
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
|
|
OnTouchEnded ( |
Called when a touchpad touch is ended (finger lifted) |
|
|
OnTouchStarted ( |
Called when a touchpad touch is started (finger down) |
Name |
Description |
|
---|---|---|
|
FArguments |
|
|
FSlateAccessibleTableRow |
An accessible implementation of STableRow exposed to platform accessibility APIs. |
Name |
Description |
---|---|
FOnAcceptDrop |
Delegate signature for handling the drop of FDragDropEvent onto target of type ItemType |
FOnCanAcceptDrop |
Delegate signature for querying whether this FDragDropEvent will be handled by the drop target of type ItemType. |