Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Views/STableViewBase.h |
Include |
#include "Widgets/Views/STableViewBase.h" |
class STableViewBase :
public SCompoundWidget,
public IScrollableWidget
Contains ListView functionality that does not depend on the type of data being observed by the ListView.
Name | Description | ||
---|---|---|---|
|
AllowOverscroll |
Whether to permit overscroll on this list view |
|
|
float |
AmountScrolledWhileRightMouseDown |
How much we scrolled while the rmb has been held |
|
BackgroundBrush |
Brush resource representing the background area of the view |
|
|
bEnableAnimatedScrolling |
True to lerp smoothly between offsets when the desired scroll offset changes. |
|
|
bEnableRightClickScrolling |
True to allow right click drag scrolling. |
|
|
bIsScrollingActiveTimerRegistered |
Whether the active timer to update the inertial scrolling is currently registered |
|
|
bShowSoftwareCursor |
Whether the software cursor should be drawn in the viewport |
|
|
bStartedTouchInteraction |
Did the user start an interaction in this list? |
|
|
bWasAtEndOfList |
Last time we scrolled, did we end up at the end of the list. |
|
|
ConsumeMouseWheel |
How we should handle scrolling with the mouse wheel |
|
|
double |
CurrentScrollOffset |
The currently displayed scroll offset from the beginning of the list in items. |
|
double |
DesiredScrollOffset |
The raw desired scroll offset from the beginning of the list in items. |
|
TOptional< doub... |
FixedLineScrollOffset |
The fixed offset in lines to always apply to the top/left (depending on orientation) of the list. |
|
TSharedPtr< SHe... |
HeaderRow |
Column headers that describe which columns this list shows |
|
InertialScrollManager |
Helper object to manage inertial scrolling |
|
|
TSharedPtr< SLi... |
ItemsPanel |
The panel which holds the visible widgets in this list |
|
LastGenerateResults |
Information about the widgets we generated during the last regenerate pass |
|
|
OnContextMenuOpening |
Delegate to invoke when the context menu should be opening. |
|
|
OnTableViewScrolled |
Delegate to call when the table view is scrolled |
|
|
Orientation |
The layout and scroll orientation of the list |
|
|
Overscroll |
||
|
PanelGeometryLastTick |
What the list's geometry was the last time a refresh occurred. |
|
|
PressedScreenSpacePosition |
The location in screenspace the view was pressed |
|
|
TSharedPtr< SSc... |
ScrollBar |
The scroll bar widget |
|
TAttribute< ESe... |
SelectionMode |
The selection mode that this tree/list is in. |
|
SoftwareCursorPosition |
The current position of the software cursor |
|
|
const ETableVie... |
TableViewMode |
Is this list backing a tree or just a standalone list |
|
float |
TickScrollDelta |
The amount we have scrolled this tick cycle |
|
float |
WheelScrollMultiplier |
How much to scroll when using mouse wheel |
Name | Description | |
---|---|---|
|
STableViewBase ( |
Name | Description | ||
---|---|---|---|
|
AddScrollOffset ( |
Add the scroll offset of this view (in items) |
|
|
AppendWidget ( |
Add a WidgetToAppend to the bottom of the view. |
|
|
CanUseInertialScroll ( |
Check whether the current state of the table warrants inertial scroll by the specified amount |
|
|
ClearWidgets() |
Remove all the widgets from the view. |
|
|
ConstructChildren ( |
Create the child widgets that comprise the list |
|
|
EndInertialScrolling() |
Reset the inertial scroll velocity accumulated in the InertialScrollManager |
|
|
EActiveTimer... |
EnsureTickToRefresh ( |
One-off active timer to refresh the contents of the table as needed |
|
float |
GetFirstLineScrollOffset() |
Get the offset of the first list item. |
|
TSharedPtr< ... |
GetHeaderRow() |
|
|
float |
GetItemHeight() |
Get the uniform item height that is enforced by ListViews. |
|
GetItemSize() |
Get the uniform item |
|
|
float |
GetItemWidth() |
Get the uniform item width. |
|
GetNumGeneratedChildren() |
||
|
GetNumItemsBeingObserved() |
||
|
GetNumItemsPerLine() |
Get the number of items that can fit in the view along the line axis (orthogonal to the scroll axis) before creating a new line. |
|
|
float |
GetNumLiveWidgets() |
|
|
GetScrollbarVisibility() |
||
|
float |
GetScrollOffset() |
Gets the scroll offset of this view (in items) |
|
float |
GetScrollRateInItems() |
Get the scroll rate in items that best approximates a constant physical scroll rate. |
|
double |
GetTargetScrollOffset() |
Returns the "true" scroll offset where the list will ultimately settle (and may already be). |
|
InsertWidget ( |
Insert WidgetToInsert at the top of the view. |
|
|
IsPendingRefresh() |
Return true if there is currently a refresh pending, false otherwise |
|
|
IsRightClickScrolling() |
||
|
IsScrollbarNeeded() |
Returns true if scrolling is possible; false if the view is big enough to fit all the content. |
|
|
IsScrolling() |
Returns whether the attached scrollbar is scrolling |
|
|
IsUserScrolling() |
||
|
NavigateToWidget ( |
Util Function so templates classes don't need to include SlateApplication |
|
|
NotifyItemScrolledIntoView() |
Called when an item has entered the visible geometry to check to see if the ItemScrolledIntoView delegate should be fired. |
|
|
OnRightMouseButtonDown ( |
Right click down |
|
|
OnRightMouseButtonUp ( |
Opens a context menu as the result of a right click if OnContextMenuOpening is bound and we are not right click scrolling. |
|
|
RebuildList() |
Completely wipe existing widgets and fully regenerate them on next tick. |
|
|
FReGenerateR... |
ReGenerateItems ( |
Update generate Widgets for Items as needed and clean up any Widgets that are no longer needed. |
|
RequestLayoutRefresh() |
Internal request for a layout update on the next tick (i.e. a refresh without implication that the source items have changed) |
|
|
RequestListRefresh() |
Mark the list as dirty so that it will refresh its widgets on next tick. |
|
|
ScrollBar_OnUserScrolled ( |
Invoked by the scrollbar when the user scrolls. |
|
|
float |
ScrollBy ( |
Scroll the list view by some number of screen units. |
|
EScrollIntoV... |
ScrollIntoView ( |
If there is a pending request to scroll an item into view, do so. |
|
float |
ScrollTo ( |
Scroll the view to an offset and resets the inertial scroll velocity |
|
ScrollToBottom() |
Scrolls the view to the bottom |
|
|
ScrollToTop() |
Scrolls the view to the top |
|
|
SetAllowOverscroll ( |
Sets whether to permit overscroll on this list view |
|
|
SetBackgroundBrush ( |
Sets the Background Brush |
|
|
SetFixedLineScrollOffset ( |
Sets the fixed offset in items to always apply to the top/left (depending on orientation) of the list. |
|
|
SetIsRightClickScrollingEnabled ( |
Enables/disables being able to scroll with the right mouse button. |
|
|
SetIsScrollAnimationEnabled ( |
Sets whether the list should lerp between scroll offsets or jump instantly between them. |
|
|
SetItemHeight ( |
Sets the item height |
|
|
SetItemWidth ( |
Sets the item width |
|
|
SetScrollbarVisibility ( |
||
|
SetScrollOffset ( |
Set the scroll offset of this view (in items) |
|
|
SetWheelScrollMultiplier ( |
Sets the multiplier applied when wheel scrolling. |
|
|
EActiveTimer... |
UpdateInertialScroll ( |
Active timer to update the inertial scroll |
|
UpdateSelectionSet() |
Remove any items that are no longer in the list from the selection set. |
Name | Description | ||
---|---|---|---|
|
ComputeVolatility() |
Recomputes the volatility of the widget. |
|
|
OnClippingChanged() |
Passing over the clipping to SListPanel |
|
|
OnCursorQuery ( |
The system asks each widget under the mouse to provide a cursor. This event is bubbled. |
|
|
OnFocusLost ( |
Called when this widget loses focus. This event does not bubble. |
|
|
OnKeyDown |
Called after a key is pressed when this widget has focus (this event bubbles if not handled) |
|
|
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. |
|
|
OnMouseCaptureLost ( |
Called when this widget had captured the mouse, but that capture has been revoked for some reason. |
|
|
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. |
|
|
OnMouseMove ( |
The system calls this method to notify the widget that a mouse moved within it. |
|
|
OnMouseWheel ( |
Called when the mouse wheel is spun. This event is bubbled. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
|
|
OnPreviewMouseButtonDown ( |
Just like OnMouseButtonDown, but tunnels instead of bubbling. |
|
|
OnTouchEnded ( |
Called when a touchpad touch is ended (finger lifted) |
|
|
OnTouchMoved ( |
Called when a touchpad touch is moved (finger moved) |
|
|
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. |
|
|
Tick ( |
Ticks this widget with Geometry. |
Name | Description | ||
---|---|---|---|
|
GetScrollDistance() |
Gets the distance that user has scrolled into the control in normalized coordinates (0 - 1) |
|
|
GetScrollDistanceRemaining() |
Gets the distance that user has left to scroll in the control before reaching the end in normalized coordinates (0 - 1) |
|
|
TSharedRef< ... |
GetScrollWidget() |
Returns the typed SWidget that implements this interface |
Name |
Description |
|
---|---|---|
|
FReGenerateResults |
Information about the outcome of the WidgetRegeneratePass |
Name |
Description |
|
---|---|---|
|
EScrollIntoViewResult |