|
| | SLATE_BEGIN_ARGS (SObjectTableRow< ItemType >) |
| |
| void | Construct (const FArguments &InArgs, const TSharedRef< STableViewBase > &InOwnerTableView, UUserWidget &InWidgetObject, UListViewBase *InOwnerListView=nullptr) |
| |
| virtual | ~SObjectTableRow () |
| |
| virtual UUserWidget * | GetUserWidget () const |
| |
| virtual UListViewBase * | GetOwningListView () const |
| |
| EActiveTimerReturnType | DetectItemSelectionChanged (double InCurrentTime, float InDeltaTime) |
| |
| virtual void | NotifyItemExpansionChanged (bool bIsExpanded) |
| |
| virtual void | InitializeRow () override final |
| |
| virtual void | ResetRow () override final |
| |
| virtual TSharedRef< SWidget > | AsWidget () override |
| |
| virtual void | SetIndexInList (int32 InIndexInList) override |
| |
| virtual int32 | GetIndexInList () override |
| |
| virtual TSharedPtr< SWidget > | GetContent () override |
| |
| virtual int32 | GetIndentLevel () const override |
| |
| virtual int32 | DoesItemHaveChildren () const override |
| |
| virtual void | Private_OnExpanderArrowShiftClicked () override |
| |
| virtual ESelectionMode::Type | GetSelectionMode () const override |
| |
| virtual FVector2D | GetRowSizeForColumn (const FName &InColumnName) const override |
| |
| virtual bool | IsItemExpanded () const override |
| |
| virtual void | ToggleExpansion () override |
| |
| virtual bool | IsItemSelected () const override |
| |
| virtual TBitArray | GetWiresNeededByDepth () const override |
| |
| virtual bool | IsLastChild () const override |
| |
| virtual bool | SupportsKeyboardFocus () const override |
| |
| virtual void | OnMouseEnter (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual void | OnMouseLeave (const FPointerEvent &MouseEvent) override |
| |
| virtual FReply | OnMouseButtonDoubleClick (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) override |
| |
| virtual FReply | OnTouchStarted (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override |
| |
| virtual FReply | OnTouchEnded (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override |
| |
| virtual FReply | OnDragDetected (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual void | OnDragEnter (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) override |
| |
| virtual void | OnDragLeave (FDragDropEvent const &DragDropEvent) override |
| |
| EItemDropZone | ZoneFromPointerPosition (UE::Slate::FDeprecateVector2DParameter LocalPointerPos, UE::Slate::FDeprecateVector2DParameter LocalSize, EOrientation Orientation) |
| |
| virtual FReply | OnDragOver (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) override |
| |
| virtual FReply | OnDrop (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) override |
| |
| void | OnDragCancelled (const FDragDropEvent &DragDropEvent, UDragDropOperation *Operation) override |
| |
| virtual void | HandleEntryDropped (UDragDropOperation *Operation) |
| |
| virtual void | HandleEntryDragged (UDragDropOperation *Operation) |
| |
| virtual FReply | OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual FReply | OnMouseButtonUp (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| bool | GetAllowDragDrop () const |
| |
| const FVector2D | GetContentScale () const |
| |
| void | SetContentScale (TAttribute< FVector2D > InContentScale) |
| |
| FLinearColor | GetColorAndOpacity () const |
| |
| void | SetColorAndOpacity (TAttribute< FLinearColor > InColorAndOpacity) |
| |
| void | SetForegroundColor (TAttribute< FSlateColor > InForegroundColor) |
| |
| virtual SLATECORE_API FChildren * | GetChildren () override |
| |
| virtual SLATECORE_API void | OnArrangeChildren (const FGeometry &AllottedGeometry, FArrangedChildren &ArrangedChildren) const override |
| |
| virtual SLATECORE_API FSlateColor | GetForegroundColor () const override |
| |
| virtual SLATECORE_API void | SetVisibility (TAttribute< EVisibility > InVisibility) override final |
| |
| SLATECORE_API int32 | Paint (const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const |
| |
| virtual SLATECORE_API TOptional< TSharedRef< SWidget > > | OnMapCursor (const FCursorReply &CursorReply) const |
| |
| virtual SLATECORE_API bool | OnVisualizeTooltip (const TSharedPtr< SWidget > &TooltipContent) |
| |
| virtual SLATECORE_API TSharedPtr< FPopupLayer > | OnVisualizePopup (const TSharedRef< SWidget > &PopupContent) |
| |
| virtual SLATECORE_API TOptional< bool > | OnQueryShowFocus (const EFocusCause InFocusCause) const |
| |
| virtual SLATECORE_API FPopupMethodReply | OnQueryPopupMethod () const |
| |
| virtual SLATECORE_API TOptional< FVirtualPointerPosition > | TranslateMouseCoordinateForCustomHitTestChild (const SWidget &ChildWidget, const FGeometry &MyGeometry, const FVector2D ScreenSpaceMouseCoordinate, const FVector2D LastScreenSpaceMouseCoordinate) const |
| |
| virtual SLATECORE_API void | OnFinishedKeyInput () |
| |
| virtual SLATECORE_API EWindowZone::Type | GetWindowZoneOverride () const |
| |
| bool | NeedsPrepass () const |
| |
| SLATECORE_API void | SlatePrepass () |
| |
| SLATECORE_API void | SlatePrepass (float InLayoutScaleMultiplier) |
| |
| void | SetCanTick (bool bInCanTick) |
| |
| bool | GetCanTick () const |
| |
| bool | HasRegisteredSlateAttribute () const |
| |
| bool | IsAttributesUpdatesEnabled () const |
| |
| const FSlateWidgetPersistentState & | GetPersistentState () const |
| |
| const FWidgetProxyHandle | GetProxyHandle () const |
| |
| SLATECORE_API UE::Slate::FDeprecateVector2DResult | GetDesiredSize () const |
| |
| SLATECORE_API void | AssignParentWidget (TSharedPtr< SWidget > InParent) |
| |
| SLATECORE_API bool | ConditionallyDetatchParentWidget (SWidget *InExpectedParent) |
| |
| virtual bool | ValidatePathToChild (SWidget *InChild) |
| |
| bool | IsParentValid () const |
| |
| TSharedPtr< SWidget > | GetParentWidget () const |
| |
| TSharedPtr< SWidget > | Advanced_GetPaintParentWidget () const |
| |
| SLATECORE_API FSlateRect | CalculateCullingAndClippingRules (const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, bool &bClipToBounds, bool &bAlwaysClip, bool &bIntersectClipBounds) const |
| |
| bool | HasAnyUpdateFlags (EWidgetUpdateFlags FlagsToCheck) const |
| |
| TStatId | GetStatID (bool bForDeferredUse=false) const |
| |
| virtual SLATECORE_API float | GetRelativeLayoutScale (const int32 ChildIndex, float LayoutScaleMultiplier) const |
| |
| SLATECORE_API void | ArrangeChildren (const FGeometry &AllottedGeometry, FArrangedChildren &ArrangedChildren, bool bUpdateAttributes=false) const |
| |
| virtual FChildren * | GetAllChildren () |
| |
| virtual SLATECORE_API bool | HasKeyboardFocus () const |
| |
| SLATECORE_API TOptional< EFocusCause > | HasUserFocus (int32 UserIndex) const |
| |
| SLATECORE_API TOptional< EFocusCause > | HasAnyUserFocus () const |
| |
| SLATECORE_API bool | HasUserFocusedDescendants (int32 UserIndex) const |
| |
| SLATECORE_API bool | HasFocusedDescendants () const |
| |
| SLATECORE_API bool | HasAnyUserFocusOrFocusedDescendants () const |
| |
| SLATECORE_API bool | HasMouseCapture () const |
| |
| SLATECORE_API bool | HasMouseCaptureByUser (int32 UserIndex, TOptional< int32 > PointerIndex=TOptional< int32 >()) const |
| |
| void | SetEnabled (TAttribute< bool > InEnabledState) |
| |
| bool | IsEnabled () const |
| |
| virtual SLATECORE_API TSharedPtr< IToolTip > | GetToolTip () |
| |
| virtual SLATECORE_API void | OnToolTipClosing () |
| |
| SLATECORE_API void | EnableToolTipForceField (const bool bEnableForceField) |
| |
| bool | HasToolTipForceField () const |
| |
| bool | IsHovered () const |
| |
| SLATECORE_API bool | IsDirectlyHovered () const |
| |
| EVisibility | GetVisibility () const |
| |
| bool | IsVolatile () const |
| |
| bool | IsVolatileIndirectly () const |
| |
| void | ForceVolatile (bool bForce) |
| |
| bool | ShouldInvalidatePrepassDueToVolatility () |
| |
| SLATECORE_API void | Invalidate (EInvalidateWidgetReason InvalidateReason) |
| |
| void | CacheVolatility () |
| |
| void | MarkPrepassAsDirty () |
| |
| float | GetRenderOpacity () const |
| |
| void | SetRenderOpacity (float InRenderOpacity) |
| |
| void | SetTag (FName InTag) |
| |
| const TOptional< FSlateRenderTransform > & | GetRenderTransform () const |
| |
| TOptional< FSlateRenderTransform > | GetRenderTransformWithRespectToFlowDirection () const |
| |
| UE::Slate::FDeprecateVector2DResult | GetRenderTransformPivotWithRespectToFlowDirection () const |
| |
| void | SetRenderTransform (TAttribute< TOptional< FSlateRenderTransform > > InTransform) |
| |
| UE::Slate::FDeprecateVector2DResult | GetRenderTransformPivot () const |
| |
| void | SetRenderTransformPivot (TAttribute< FVector2D > InTransformPivot) |
| |
| SLATECORE_API void | SetClipping (EWidgetClipping InClipping) |
| |
| EWidgetClipping | GetClipping () const |
| |
| SLATECORE_API void | SetPixelSnapping (EWidgetPixelSnapping InPixelSnappingMethod) |
| |
| EWidgetPixelSnapping | GetPixelSnapping () const |
| |
| void | SetCullingBoundsExtension (const FMargin &InCullingBoundsExtension) |
| |
| FMargin | GetCullingBoundsExtension () const |
| |
| void | SetFlowDirectionPreference (EFlowDirectionPreference InFlowDirectionPreference) |
| |
| EFlowDirectionPreference | GetFlowDirectionPreference () const |
| |
| SLATECORE_API void | SetToolTipText (const TAttribute< FText > &ToolTipText) |
| |
| SLATECORE_API void | SetToolTipText (const FText &InToolTipText) |
| |
| SLATECORE_API void | SetToolTip (const TAttribute< TSharedPtr< IToolTip > > &InToolTip) |
| |
| SLATECORE_API void | SetCursor (const TAttribute< TOptional< EMouseCursor::Type > > &InCursor) |
| |
| template<typename MetaDataType > |
| TSharedPtr< MetaDataType > | GetMetaData () const |
| |
| template<typename MetaDataType > |
| TArray< TSharedRef< MetaDataType > > | GetAllMetaData () const |
| |
| template<typename MetaDataType > |
| void | AddMetadata (const TSharedRef< MetaDataType > &AddMe) |
| |
| template<typename MetaDataType > |
| int32 | RemoveMetaData (const TSharedRef< MetaDataType > &RemoveMe) |
| |
| SLATECORE_API void | SetOnMouseButtonDown (FPointerEventHandler EventHandler) |
| |
| SLATECORE_API void | SetOnMouseButtonUp (FPointerEventHandler EventHandler) |
| |
| SLATECORE_API void | SetOnMouseMove (FPointerEventHandler EventHandler) |
| |
| SLATECORE_API void | SetOnMouseDoubleClick (FPointerEventHandler EventHandler) |
| |
| SLATECORE_API void | SetOnMouseEnter (FNoReplyPointerEventHandler EventHandler) |
| |
| SLATECORE_API void | SetOnMouseLeave (FSimpleNoReplyPointerEventHandler EventHandler) |
| |
| virtual SLATECORE_API FString | ToString () const |
| |
| SLATECORE_API FString | GetTypeAsString () const |
| |
| SLATECORE_API FName | GetType () const |
| |
| virtual SLATECORE_API FString | GetReadableLocation () const |
| |
| SLATECORE_API FName | GetCreatedInLocation () const |
| |
| virtual SLATECORE_API FName | GetTag () const |
| |
| virtual SLATECORE_API FSlateColor | GetDisabledForegroundColor () const |
| |
| SLATECORE_API const FGeometry & | GetCachedGeometry () const |
| |
| SLATECORE_API const FGeometry & | GetTickSpaceGeometry () const |
| |
| SLATECORE_API const FGeometry & | GetPaintSpaceGeometry () const |
| |
| const TOptional< FSlateClippingState > & | GetCurrentClippingState () const |
| |
| virtual bool | Advanced_IsWindow () const |
| |
| virtual bool | Advanced_IsInvalidationRoot () const |
| |
| virtual const FSlateInvalidationRoot * | Advanced_AsInvalidationRoot () const |
| |
| SLATECORE_API TSharedRef< FActiveTimerHandle > | RegisterActiveTimer (float TickPeriod, FWidgetActiveTimerDelegate TickFunction) |
| |
| SLATECORE_API void | UnRegisterActiveTimer (const TSharedRef< FActiveTimerHandle > &ActiveTimerHandle) |
| |
| bool | HasActiveTimers () const |
| |
| | FSlateControlledConstruction ()=default |
| |
| virtual | ~FSlateControlledConstruction ()=default |
| |
| virtual const FSlateWidgetClassData & | GetWidgetClass () const =0 |
| |
| void | operator delete (void *mem) |
| |
| TSharedRef< SWidget, Mode > | AsShared () |
| |
| TSharedRef< SWidget const, Mode > | AsShared () const |
| |
| TSharedRef< SubobjectType, Mode > | AsSharedSubobject (SubobjectType *SubobjectPtr) const |
| |
| TWeakPtr< SWidget, Mode > | AsWeak () |
| |
| TWeakPtr< SWidget const, Mode > | AsWeak () const |
| |
| TWeakPtr< SubobjectType, Mode > | AsWeakSubobject (SubobjectType *SubobjectPtr) const |
| |
| void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const |
| |
| void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const |
| |
| UE_FORCEINLINE_HINT bool | DoesSharedInstanceExist () const |
| |
| | FGCObject () |
| |
| | FGCObject (const FGCObject &Other) |
| |
| | FGCObject (FGCObject &&Other) |
| |
| | FGCObject (EFlags Flags) |
| |
| virtual | ~FGCObject () |
| |
| FGCObject & | operator= (const FGCObject &) |
| |
| FGCObject & | operator= (FGCObject &&) |
| |
| COREUOBJECT_API void | RegisterGCObject () |
| |
| COREUOBJECT_API void | UnregisterGCObject () |
| |
| virtual bool | GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const |
| |
|
| virtual void | InitializeObjectRow () |
| |
| virtual void | ResetObjectRow () |
| |
| virtual void | DetectItemSelectionChanged () |
| |
| virtual void | OnItemSelectionChanged (bool bIsItemSelected) |
| |
| bool | IsItemSelectable () const |
| |
| const TObjectPtrWrapTypeOf< ItemType > * | GetItemForThis (const TSharedRef< ITypedTableView< ItemType > > &OwnerTable) const |
| |
| TSlateAttributeRef< FVector2D > | GetContentScaleAttribute () const |
| |
| TSlateAttributeRef< FLinearColor > | GetColorAndOpacityAttribute () const |
| |
| TSlateAttributeRef< FSlateColor > | GetForegroundColorAttribute () const |
| |
| SLATECORE_API | SCompoundWidget () |
| |
| virtual SLATECORE_API | ~SCompoundWidget () |
| |
| void | SetVolatilePrepass (bool bVolatile) |
| |
| virtual bool | CustomPrepass (float LayoutScaleMultiplier) |
| |
| virtual SLATECORE_API void | CacheDesiredSize (float InLayoutScaleMultiplier) |
| |
| void | SetHover (TAttribute< bool > InHovered) |
| |
| bool | IsChildWidgetCulled (const FSlateRect &, const FArrangedWidget &) const |
| |
| SLATECORE_API void | InvalidateChildRemovedFromTree (SWidget &Child) |
| |
| bool | Advanced_InvalidateVolatility () |
| |
| EFlowDirection | ComputeFlowDirection () const |
| |
| SLATECORE_API void | SetDebugInfo (const ANSICHAR *InType, const ANSICHAR *InFile, int32 OnLine, size_t InAllocSize) |
| |
| virtual SLATECORE_API TOptional< EMouseCursor::Type > | GetCursor () const |
| |
| SLATECORE_API | SWidget () |
| |
| SLATECORE_API void | SWidgetConstruct (const FSlateBaseNamedArgs &Args) |
| |
| bool | IsConstructed () const |
| |
| SLATECORE_API bool | FindChildGeometries (const FGeometry &MyGeometry, const TSet< TSharedRef< SWidget > > &WidgetsToFind, TMap< TSharedRef< SWidget >, FArrangedWidget > &OutResult) const |
| |
| SLATECORE_API void | FindChildGeometries_Helper (const FGeometry &MyGeometry, const TSet< TSharedRef< SWidget > > &WidgetsToFind, TMap< TSharedRef< SWidget >, FArrangedWidget > &OutResult) const |
| |
| SLATECORE_API FGeometry | FindChildGeometry (const FGeometry &MyGeometry, TSharedRef< SWidget > WidgetToFind) const |
| |
| bool | ShouldBeEnabled (bool InParentEnabled) const |
| |
| virtual SLATECORE_API const FSlateBrush * | GetFocusBrush () const |
| |
| virtual bool | ComputeVolatility () const |
| |
| virtual SLATECORE_API void | OnClippingChanged () |
| |
| float | GetPrepassLayoutScaleMultiplier () const |
| |
| SLATECORE_API void | Prepass_ChildLoop (float InLayoutScaleMultiplier, FChildren *MyChildren) |
| |
| template<typename TargetValueType , typename SourceValueType > |
| bool | SetAttribute (TAttribute< TargetValueType > &TargetValue, const TAttribute< SourceValueType > &SourceValue, EInvalidateWidgetReason BaseInvalidationReason) |
| |
| TSlateAttributeRef< bool > | GetEnabledStateAttribute () const |
| |
| TSlateAttributeRef< bool > | GetHoveredAttribute () const |
| |
| TSlateAttributeRef< EVisibility > | GetVisibilityAttribute () const |
| |
| TSlateAttributeRef< TOptional< FSlateRenderTransform > > | GetRenderTransformAttribute () const |
| |
| TSlateAttributeRef< FVector2D > | GetRenderTransformPivotAttribute () const |
| |
| virtual SLATECORE_API | ~SWidget () |
| |
| | TSharedFromThis () |
| |
| | TSharedFromThis (TSharedFromThis const &) |
| |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| |
| | ~TSharedFromThis () |
| |
template<
typename ItemType>
class SObjectTableRow< ItemType >
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 IUserListEntry UInterface, which allows the row widget to respond to various list-related events.
Note: Much of the implementation here matches STableRow<T> exactly, so refer there if looking for additional information.