19#include "STableViewBase.generated.h"
397 UE_DEPRECATED(5.5,
"The Pinned items visibility is no more an attribute.")
599 bool bItemsNeedRefresh =
false;
602 bool ShouldScrollToFixedLineOffsetAtZeroVelocity()
const;
605 bool bIsInertialScroll =
false;
613 const float ShadowFadeDistance = 32.0f;
616 int32 DeltaTimeCircularIndex = 0;
620 float SmoothDeltaTime = -1.0f;
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DELEGATE_OneParam(DelegateName, Param1Type)
Definition DelegateCombinations.h:48
UE::Math::TVector2< float > FVector2f
Definition MathFwd.h:74
#define UENUM(...)
Definition ObjectMacros.h:749
EScrollIntoViewAlignment
Definition STableViewBase.h:60
EListItemAlignment
Definition STableViewBase.h:34
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
EActiveTimerReturnType
Definition SlateEnums.h:329
EOrientation
Definition SlateEnums.h:261
EUINavigation
Definition SlateEnums.h:99
ENavigationSource
Definition SlateEnums.h:145
EConsumeMouseWheel
Definition SlateTypes.h:26
ESlateVisibility
Definition SlateWrapperTypes.h:22
uint32 Size
Definition VulkanMemory.cpp:4034
Definition ArrangedChildren.h:15
Definition ChildrenBase.h:27
Definition CursorReply.h:16
Definition SlateTypes.h:2250
Definition PaintArgs.h:23
Definition SlateRect.h:26
Definition DrawElements.h:220
Definition ITableRow.h:15
Definition SBoxPanel.h:175
Definition SListPanel.h:22
Definition STableViewBase.h:110
SVerticalBox::FSlot * HorizontalScrollBarSlot
Definition STableViewBase.h:626
virtual SLATE_API float GetNumLiveWidgets() const
Definition STableViewBase.cpp:1242
virtual SLATE_API FReply OnMouseButtonDown(const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
Definition STableViewBase.cpp:526
bool bEnableRightClickScrolling
Definition STableViewBase.h:480
virtual SLATE_API void OnClippingChanged() override
Definition STableViewBase.cpp:1360
TAttribute< ESelectionMode::Type > SelectionMode
Definition STableViewBase.h:526
const FScrollBoxStyle * ShadowBoxStyle
Definition STableViewBase.h:559
SLATE_API int32 GetNumPinnedItems() const
Definition STableViewBase.cpp:1390
SLATE_API void AppendWidget(const TSharedRef< ITableRow > &WidgetToAppend)
Definition STableViewBase.cpp:1173
SLATE_API void ScrollToBottom()
Definition STableViewBase.cpp:1333
virtual SLATE_API FVector2D GetScrollDistanceRemaining() override
Definition STableViewBase.cpp:1350
TSharedPtr< SHeaderRow > HeaderRow
Definition STableViewBase.h:529
FOverscroll Overscroll
Definition STableViewBase.h:586
virtual SLATE_API ~STableViewBase()
bool bIsPointerScrollingEnabled
Definition STableViewBase.h:544
SLATE_API int32 FindChildUnderPosition(FArrangedChildren &ArrangedChildren, const FVector2D &ArrangedSpacePosition) const
Definition STableViewBase.cpp:1265
SLATE_API void SetIsPointerScrollingEnabled(bool bInIsPointerScrollingEnabled)
Definition STableViewBase.cpp:1150
FMargin ScrollBarSlotPadding
Definition STableViewBase.h:446
FReGenerateResults LastGenerateResults
Definition STableViewBase.h:511
virtual SLATE_API void OnMouseEnter(const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
Definition STableViewBase.cpp:651
void UpdateSmoothDeltaTime(float InDeltaTime)
Definition STableViewBase.cpp:961
virtual SLATE_API FReply OnMouseButtonUp(const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
Definition STableViewBase.cpp:567
SLATE_API void SetIsTouchScrollingEnabled(const bool bInEnableTouchScrolling)
Definition STableViewBase.cpp:1134
double DesiredScrollOffset
Definition STableViewBase.h:496
virtual int32 GetNumItemsBeingObserved() const =0
virtual SLATE_API TSharedRef< class SWidget > GetScrollWidget() override
Definition STableViewBase.cpp:1355
virtual SLATE_API FReply OnTouchEnded(const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override
Definition STableViewBase.cpp:790
virtual SLATE_API FReply OnKeyDown(const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) override
Definition STableViewBase.cpp:716
virtual SLATE_API int32 OnPaint(const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const override
Definition STableViewBase.cpp:852
SLATE_API bool IsScrolling() const
Definition STableViewBase.cpp:1340
SLATE_API void NavigateToWidget(const uint32 UserIndex, const TSharedPtr< SWidget > &NavigationDestination, ENavigationSource NavigationSource=ENavigationSource::FocusedWidget, EUINavigation NavigationType=EUINavigation::Invalid) const
Definition STableViewBase.cpp:1260
FSlateColor GetEndShadowOpacity() const
Definition STableViewBase.cpp:1373
float TickScrollDelta
Definition STableViewBase.h:508
SLATE_API UE::Slate::FDeprecateVector2DResult GetItemSize() const
Definition STableViewBase.cpp:1225
float GetScrollComponentFromVector(FVector2f Vector) const
Definition STableViewBase.h:452
virtual SLATE_API void OnMouseLeave(const FPointerEvent &MouseEvent) override
Definition STableViewBase.cpp:668
virtual SLATE_API float ScrollTo(float InScrollOffset)
Definition STableViewBase.cpp:1007
bool bWasAtEndOfList
Definition STableViewBase.h:514
bool bShouldUseShadowBoxStyle
Definition STableViewBase.h:556
SLATE_API void SetScrollbarVisibility(const EVisibility InVisibility)
Definition STableViewBase.cpp:1057
SLATE_API void SetWheelScrollMultiplier(float NewWheelScrollMultiplier)
Definition STableViewBase.cpp:1145
float WheelScrollMultiplier
Definition STableViewBase.h:541
virtual SLATE_API FReply OnTouchStarted(const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override
Definition STableViewBase.cpp:739
SLATE_API void SetItemHeight(TAttribute< float > Height)
Definition STableViewBase.cpp:1232
float GetSmoothDeltaTime(float InDeltaTime)
Definition STableViewBase.cpp:955
float AmountScrolledWhileRightMouseDown
Definition STableViewBase.h:502
virtual SLATE_API void OnFocusLost(const FFocusEvent &InFocusEvent) override
Definition STableViewBase.cpp:287
FSimpleDelegate OnItemsRebuilt
Definition STableViewBase.h:523
SLATE_API float GetItemWidth() const
Definition STableViewBase.cpp:1215
virtual SLATE_API void RequestListRefresh()
Definition STableViewBase.cpp:837
virtual void UpdateSelectionSet()=0
SLATE_API EVisibility GetScrollbarVisibility() const
Definition STableViewBase.cpp:1085
SLATE_API bool IsScrollbarNeeded() const
Definition STableViewBase.cpp:1090
bool bEnableTouchAnimatedScrolling
Definition STableViewBase.h:477
FGeometry PanelGeometryLastTick
Definition STableViewBase.h:517
EAllowOverscroll AllowOverscroll
Definition STableViewBase.h:589
bool bIsScrollingActiveTimerRegistered
Definition STableViewBase.h:582
SLATE_API void SetIsScrollAnimationEnabled(bool bInEnableScrollAnimation)
Definition STableViewBase.cpp:1109
SLATE_API void SetScrollingAnimationInterpolationSpeed(float InScrollingAnimationInterpolationSpeed)
Definition STableViewBase.cpp:1114
virtual SLATE_API int32 GetNumItemsPerLine() const
Definition STableViewBase.cpp:1247
SLATE_API void SetScrollOffset(const float InScrollOffset)
Definition STableViewBase.cpp:1027
virtual SLATE_API FReply OnMouseMove(const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
Definition STableViewBase.cpp:597
TSharedPtr< SListPanel > ItemsPanel
Definition STableViewBase.h:437
SLATE_API void EndInertialScrolling(const bool bInShouldStopScrollNow=false)
Definition STableViewBase.cpp:1038
virtual SLATE_API float GetFirstLineScrollOffset() const
Definition STableViewBase.cpp:1252
SLATE_API EActiveTimerReturnType EnsureTickToRefresh(double InCurrentTime, float InDeltaTime)
Definition STableViewBase.cpp:356
bool bEnableTouchScrolling
Definition STableViewBase.h:483
bool bShowSoftwareCursor
Definition STableViewBase.h:538
virtual void RebuildList()=0
SLATE_API void SetItemWidth(TAttribute< float > Width)
Definition STableViewBase.cpp:1237
bool bSelectItemOnNavigation
Definition STableViewBase.h:486
SLATE_API TSharedPtr< SWidget > GetGeneratedChildAt(int32 Index) const
Definition STableViewBase.cpp:815
SLATE_API float GetScrollOffset() const
Definition STableViewBase.cpp:1022
FVector2f PressedScreenSpacePosition
Definition STableViewBase.h:505
SLATE_API void ScrollBar_OnUserScrolled(float InScrollOffsetFraction)
Definition STableViewBase.cpp:497
SLATE_API void InsertPinnedWidget(const TSharedRef< SWidget > &WidgetToInset)
Definition STableViewBase.cpp:1191
SLATE_API void SetIsGamepadScrollingEnabled(bool bInIsGamepadScrollingEnabled)
Definition STableViewBase.cpp:1155
SLATE_API EActiveTimerReturnType UpdateInertialScroll(double InCurrentTime, float InDeltaTime)
Definition STableViewBase.cpp:299
SLATE_API void ClearPinnedWidgets()
Definition STableViewBase.cpp:1209
SLATE_API bool CanUseInertialScroll(float ScrollAmount) const
Definition STableViewBase.cpp:1381
FOnContextMenuOpening OnContextMenuOpening
Definition STableViewBase.h:520
EOrientation Orientation
Definition STableViewBase.h:550
EScrollIntoViewResult
Definition STableViewBase.h:401
FOnTableViewScrolled OnTableViewScrolled
Definition STableViewBase.h:449
virtual SLATE_API bool SupportsKeyboardFocus() const override
Definition STableViewBase.cpp:281
FInvalidatableBrushAttribute BackgroundBrush
Definition STableViewBase.h:562
FInertialScrollManager InertialScrollManager
Definition STableViewBase.h:532
virtual SLATE_API bool ComputeVolatility() const override
Definition STableViewBase.cpp:847
SLATE_API void SetEnableTouchAnimatedScrolling(bool bInEnableTouchAnimatedScrolling)
Definition STableViewBase.cpp:1119
virtual SLATE_API FReply OnMouseButtonDoubleClick(const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) override
Definition STableViewBase.cpp:555
virtual FReGenerateResults ReGenerateItems(const FGeometry &MyGeometry)=0
virtual SLATE_API FVector2D GetScrollDistance() override
Definition STableViewBase.cpp:1345
SLATE_API float GetItemHeight() const
Definition STableViewBase.cpp:1220
SLATE_API EVisibility GetPinnedItemsVisiblity() const
Definition STableViewBase.cpp:1395
SLATE_API TSharedPtr< SHeaderRow > GetHeaderRow() const
Definition STableViewBase.cpp:820
SLATE_API void ClearWidgets()
Definition STableViewBase.cpp:1181
SLATE_API void SetSelectItemOnNavigation(const bool bInSelectItemOnNavigation)
Definition STableViewBase.cpp:1140
SLATE_API bool IsPendingRefresh() const
Definition STableViewBase.cpp:842
SLATE_API double GetTargetScrollOffset() const
Definition STableViewBase.cpp:918
TSharedPtr< SScrollBar > ScrollBar
Definition STableViewBase.h:443
double CurrentScrollOffset
Definition STableViewBase.h:489
SLATE_API void SetBackgroundBrush(const TAttribute< const FSlateBrush * > &InBackgroundBrush)
Definition STableViewBase.cpp:1160
EConsumeMouseWheel ConsumeMouseWheel
Definition STableViewBase.h:592
virtual SLATE_API float ScrollBy(const FGeometry &MyGeometry, float ScrollByAmount, EAllowOverscroll InAllowOverscroll)
Definition STableViewBase.cpp:995
virtual SLATE_API FReply OnTouchMoved(const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override
Definition STableViewBase.cpp:747
SLATE_API void RequestLayoutRefresh()
Definition STableViewBase.cpp:1310
virtual EScrollIntoViewResult ScrollIntoView(const FGeometry &ListViewGeometry)=0
bool bStartedTouchInteraction
Definition STableViewBase.h:499
virtual SLATE_API FReply OnMouseWheel(const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
Definition STableViewBase.cpp:681
SLATE_API bool IsRightClickScrolling() const
Definition STableViewBase.cpp:825
SLATE_API void InsertWidget(const TSharedRef< ITableRow > &WidgetToInset)
Definition STableViewBase.cpp:1165
virtual SLATE_API void OnMouseCaptureLost(const FCaptureLostEvent &CaptureLostEvent) override
Definition STableViewBase.cpp:292
virtual SLATE_API FCursorReply OnCursorQuery(const FGeometry &MyGeometry, const FPointerEvent &CursorEvent) const override
Definition STableViewBase.cpp:726
virtual SLATE_API void OnRightMouseButtonUp(const FPointerEvent &MouseEvent)
Definition STableViewBase.cpp:1278
bool bEnableAnimatedScrolling
Definition STableViewBase.h:471
const ETableViewMode::Type TableViewMode
Definition STableViewBase.h:158
virtual void NotifyFinishedScrolling()=0
SLATE_API int32 GetNumGeneratedChildren() const
Definition STableViewBase.cpp:808
TSharedPtr< SListPanel > PinnedItemsPanel
Definition STableViewBase.h:440
virtual void OnRightMouseButtonDown(const FPointerEvent &MouseEvent)
Definition STableViewBase.h:343
float ScrollingAnimationInterpolationSpeed
Definition STableViewBase.h:474
FVector2f SoftwareCursorPosition
Definition STableViewBase.h:535
bool bIsGamepadScrollingEnabled
Definition STableViewBase.h:547
SHorizontalBox::FSlot * VerticalScrollBarSlot
Definition STableViewBase.h:625
FSlateColor GetStartShadowOpacity() const
Definition STableViewBase.cpp:1365
SLATE_API void SetScrollbarPadding(const FMargin &InScrollbarPadding)
Definition STableViewBase.cpp:1065
SLATE_API bool IsUserScrolling() const
Definition STableViewBase.cpp:831
SLATE_API void AddScrollOffset(const float InScrollOffsetDelta, bool RefreshList=false)
Definition STableViewBase.cpp:1044
SLATE_API void AppendPinnedWidget(const TSharedRef< SWidget > &WidgetToAppend)
Definition STableViewBase.cpp:1200
virtual void NotifyItemScrolledIntoView()=0
virtual SLATE_API FReply OnPreviewMouseButtonDown(const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
Definition STableViewBase.cpp:504
SLATE_API void ScrollToTop()
Definition STableViewBase.cpp:1326
SLATE_API void SetFixedLineScrollOffset(TOptional< double > InFixedLineScrollOffset)
Definition STableViewBase.cpp:1100
SLATE_API void SetIsRightClickScrollingEnabled(const bool bInEnableRightClickScrolling)
Definition STableViewBase.cpp:1129
SLATE_API void SetAllowOverscroll(EAllowOverscroll InAllowOverscroll)
Definition STableViewBase.cpp:1124
SLATE_API void ConstructChildren(const TAttribute< float > &InItemWidth, const TAttribute< float > &InItemHeight, const TAttribute< EListItemAlignment > &InItemAlignment, const TSharedPtr< SHeaderRow > &InHeaderRow, const TSharedPtr< SScrollBar > &InScrollBar, EOrientation InScrollOrientation, const FOnTableViewScrolled &InOnTableViewScrolled, const FScrollBarStyle *InScrollBarStyle=nullptr, const bool bInPreventThrottling=false)
Definition STableViewBase.cpp:130
TOptional< double > FixedLineScrollOffset
Definition STableViewBase.h:468
SLATE_API const FChildren * GetConstructedTableItems() const
Definition STableViewBase.cpp:1186
SLATE_API float GetScrollRateInItems() const
Definition STableViewBase.cpp:1301
Definition SBoxPanel.h:326
Definition Attribute.h:17
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Type
Definition ITypedTableView.h:37
Definition STableViewBase.h:632
SLATE_API const TBitArray & GetEmptyBitArray()
Definition STableViewBase.cpp:1402
FDeprecateSlateVector2D FDeprecateVector2DResult
Definition SlateVector2.h:469
U16 Index
Definition radfft.cpp:71
Definition Visibility.h:12
Definition SlateColor.h:42
Definition STableViewBase.h:80
UE::Slate::FDeprecateVector2DResult ToVector2D() const
Definition STableViewBase.h:85
EOrientation Orientation
Definition STableViewBase.h:95
FTableViewDimensions operator+(const FTableViewDimensions &Other) const
Definition STableViewBase.h:90
float ScrollAxis
Definition STableViewBase.h:98
float LineAxis
Definition STableViewBase.h:101
Definition STableViewBase.h:365
double LengthOfGeneratedItems
Definition STableViewBase.h:377
FReGenerateResults(double InNewScrollOffset, double InLengthGenerated, double InItemsOnScreen, bool AtEndOfList)
Definition STableViewBase.h:366
double NewScrollOffset
Definition STableViewBase.h:374
double ExactNumLinesOnScreen
Definition STableViewBase.h:380
bool bGeneratedPastLastItem
Definition STableViewBase.h:383
Definition Optional.h:131
Definition SlateVector2.h:485