|
| | SLATE_BEGIN_ARGS (STreeView< ItemType >) |
| |
| | SLATE_ATTRIBUTE (int32, MaxPinnedItems) |
| |
| | SLATE_ARGUMENT (EConsumeMouseWheel, ConsumeMouseWheel) |
| |
| | SLATE_ARGUMENT (EAllowOverscroll, AllowOverscroll) |
| |
| | SLATE_STYLE_ARGUMENT (FScrollBarStyle, ScrollBarStyle) |
| |
| | SLATE_ARGUMENT (float, WheelScrollMultiplier) |
| |
| | SLATE_EVENT (FOnTableViewBadState, OnEnteredBadState) |
| |
| | SLATE_ARGUMENT (bool, HandleGamepadEvents) |
| |
| | SLATE_ARGUMENT (bool, HandleDirectionalNavigation) |
| |
| | SLATE_ARGUMENT (bool, AllowInvisibleItemSelection) |
| |
| | SLATE_ARGUMENT (bool, HighlightParentNodesForSelection) |
| |
| void | Construct (const FArguments &InArgs) |
| |
| | STreeView () |
| |
| virtual FReply | OnKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) override |
| |
| virtual void | Private_SignalSelectionChanged (ESelectInfo::Type SelectInfo) override |
| |
| virtual void | Tick (const FGeometry &AllottedGeometry, const double InCurrentTime, const float InDeltaTime) override |
| |
| bool | PopulateLinearizedItems (TArrayView< const ItemType > InItemsSource, TArray< ItemType > &InLinearizedItems, TArray< FItemInfo > &NewDenseItemInfos, TBitArray<> NeedsParentWire, TItemSet &OutNewSelectedItems, TSparseItemMap &NewSparseItemInfo, bool bAddingItems, int32 ParentIndex) |
| |
| int32 | PopulatePinnedItems (const TArray< ItemType > &InItemsSource, TArray< ItemType > &InPinnedItems, const STableViewBase::FReGenerateResults &Results) |
| |
| virtual TSharedRef< ITableRow > | GenerateNewWidget (ItemType InItem) override |
| |
| virtual void | RequestListRefresh () override |
| |
| void | RequestTreeRefresh () |
| |
| virtual void | RebuildList () override |
| |
| void | SetStyle (const FTableViewStyle *InStyle) |
| |
| void | SetItemExpansion (const ItemType &InItem, bool InShouldExpandItem) |
| |
| void | SetSingleExpandedItem (const ItemType &InItem) |
| |
| bool | IsItemExpanded (const ItemType &InItem) const |
| |
| void | SetItemsSource (const TArray< ItemType > *InListItemsSource) |
| |
| void | SetItemsSource (TSharedRef<::UE::Slate::Containers::TObservableArray< ItemType > > InListItemsSource) |
| |
| void | SetItemsSource (TUniquePtr< UE::Slate::ItemsSource::IItemsSource< ItemType > > Provider) |
| |
| void | ClearItemsSource () |
| |
| bool | HasValidItemsSource () const |
| |
| TArrayView< const ItemType > | GetItems () const |
| |
| void | SetTreeItemsSource (const TArray< ItemType > *InItemsSource) |
| |
| void | SetRootItemsSource (const TArray< ItemType > *InItemsSource) |
| |
| void | SetRootItemsSource (TSharedRef< UE::Slate::Containers::TObservableArray< ItemType > > InItemsSource) |
| |
| void | SetRootItemsSource (TUniquePtr< UE::Slate::ItemsSource::IItemsSource< ItemType > > Provider) |
| |
| void | ClearRootItemsSource () |
| |
| bool | HasValidRootItemsSource () const |
| |
| TArrayView< const ItemType > | GetRootItems () const |
| |
| void | GetExpandedItems (TItemSet &ExpandedItems) const |
| |
| void | ClearExpandedItems () |
| |
| virtual STableViewBase::FReGenerateResults | ReGenerateItems (const FGeometry &MyGeometry) override |
| |
| | DECLARE_DELEGATE_OneParam (FOnWidgetToBeRemoved, const TSharedRef< ITableRow > &) |
| |
| | DECLARE_DELEGATE_TwoParams (FOnEntryInitialized, ItemType, const TSharedRef< ITableRow > &) |
| |
| | SLATE_BEGIN_ARGS (SListView< ItemType >) |
| |
| | SLATE_ARGUMENT (EAllowOverscroll, AllowOverscroll) |
| |
| | SLATE_STYLE_ARGUMENT (FScrollBarStyle, ScrollBarStyle) |
| |
| | SLATE_ARGUMENT (bool, PreventThrottling) |
| |
| | SLATE_ARGUMENT (EConsumeMouseWheel, ConsumeMouseWheel) |
| |
| | SLATE_ARGUMENT (float, WheelScrollMultiplier) |
| |
| | SLATE_ARGUMENT (float, NavigationScrollOffset) |
| |
| | SLATE_ARGUMENT (FMargin, ScrollBarPadding) |
| |
| | SLATE_ARGUMENT (bool, HandleGamepadEvents) |
| |
| | SLATE_ARGUMENT (bool, HandleDirectionalNavigation) |
| |
| | SLATE_ARGUMENT (bool, HandleSpacebarSelection) |
| |
| | SLATE_EVENT (FOnTableViewBadState, OnEnteredBadState) |
| |
| void | Construct (const typename SListView< ItemType >::FArguments &InArgs) |
| |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | SListView (ETableViewMode::Type InListMode=ETableViewMode::List) |
| |
| virtual bool | SupportsKeyboardFocus () const override |
| |
| virtual FNavigationReply | OnNavigation (const FGeometry &MyGeometry, const FNavigationEvent &InNavigationEvent) override |
| |
| virtual FReply | OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual FReply | OnMouseButtonUp (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| void | Private_OnEntryInitialized (ItemType TheItem, const TSharedRef< ITableRow > &TableRow) |
| |
| virtual void | Private_SetItemSelection (ItemType TheItem, bool bShouldBeSelected, bool bWasUserDirected=false) override |
| |
| virtual void | Private_ClearSelection () override |
| |
| virtual void | Private_SelectRangeFromCurrentTo (ItemType InRangeSelectionEnd) override |
| |
| virtual const TObjectPtrWrapTypeOf< ItemType > * | Private_ItemFromWidget (const ITableRow *TheWidget) const override |
| |
| virtual bool | Private_UsesSelectorFocus () const override |
| |
| virtual bool | Private_HasSelectorFocus (const ItemType &TheItem) const override |
| |
| virtual bool | Private_IsItemSelected (const ItemType &TheItem) const override |
| |
| virtual bool | Private_IsItemHighlighted (const ItemType &TheItem) const override |
| |
| virtual bool | Private_IsItemSelectableOrNavigable (const ItemType &TheItem) const override |
| |
| virtual int32 | Private_GetNumSelectedItems () const override |
| |
| virtual void | Private_SetItemHighlighted (ItemType TheItem, bool bShouldBeHighlighted) override |
| |
| virtual void | Private_ClearHighlightedItems () override |
| |
| virtual ESelectionMode::Type | Private_GetSelectionMode () const override |
| |
| virtual EOrientation | Private_GetOrientation () const override |
| |
| virtual bool | Private_IsPendingRefresh () const override |
| |
| virtual void | Private_OnItemRightClicked (ItemType TheItem, const FPointerEvent &MouseEvent) override |
| |
| virtual bool | Private_OnItemClicked (ItemType TheItem) override |
| |
| virtual bool | Private_OnItemDoubleClicked (ItemType TheItem) override |
| |
| virtual ETableViewMode::Type | GetTableViewMode () const override |
| |
| virtual TSharedRef< SWidget > | AsWidget () override |
| |
| void | SetStyle (const FTableViewStyle *InStyle) |
| |
| void | SetShadowBoxStyle (const FScrollBoxStyle *InScrollBoxStyle) |
| |
| void | SetOnEntryInitialized (const FOnEntryInitialized &Delegate) |
| |
| virtual void | UpdateSelectionSet () override |
| |
| float | GenerateWidgetForItem (const ItemType &CurItem, int32 ItemIndex, int32 StartIndex, float LayoutScaleMultiplier) |
| |
| void | ReGeneratePinnedItems (const TArray< ItemType > &InItems, const FGeometry &MyGeometry, int32 MaxPinnedItemsOverride=-1) |
| |
| void | GeneratePinnedWidgetForItem (const ItemType &CurItem, int32 ItemIndex, int32 NumPinnedItems, float LayoutScaleMultiplier) |
| |
| virtual int32 | GetNumItemsBeingObserved () const override |
| |
| virtual TSharedRef< ITableRow > | GenerateNewPinnedWidget (ItemType InItem, const int32 ItemIndex, const int32 NumPinnedItems) |
| |
| void | SetItemsSource (const TArray< ItemType > *InListItemsSource) |
| |
| void | SetItemsSource (TSharedRef<::UE::Slate::Containers::TObservableArray< ItemType > > InListItemsSource) |
| |
| void | SetItemsSource (TUniquePtr< UE::Slate::ItemsSource::IItemsSource< ItemType > > Provider) |
| |
| void | ClearItemsSource () |
| |
| void | BindToRefreshRow (const FOnRefreshRow &Binding) |
| |
| void | SetListItemsSource (const TArray< ItemType > &InListItemsSource) |
| |
| bool | HasValidItemsSource () const |
| |
| TArrayView< const ItemType > | GetItems () const |
| |
| const TObjectPtrWrapTypeOf< ItemType > * | ItemFromWidget (const ITableRow *WidgetToFind) const |
| |
| bool | IsItemSelected (const ItemType &InItem) const |
| |
| void | SetItemSelection (const ItemType &InItem, bool bSelected, ESelectInfo::Type SelectInfo=ESelectInfo::Direct) |
| |
| void | SetItemSelection (TConstArrayView< ItemType > InItems, bool bSelected, ESelectInfo::Type SelectInfo=ESelectInfo::Direct) |
| |
| void | ClearSelection () |
| |
| void | SetItemHighlighted (const ItemType &TheItem, bool bHighlighted) |
| |
| void | ClearHighlightedItems () |
| |
| int32 | GetNumItemsSelected () const |
| |
| virtual TArray< ItemType > | GetSelectedItems () const override |
| |
| int32 | GetSelectedItems (TArray< ItemType > &SelectedItemArray) const |
| |
| bool | IsItemVisible (ItemType Item) const |
| |
| void | RequestScrollIntoView (ItemType ItemToView, const uint32 UserIndex=0) |
| |
| void | RequestScrollIntoView (ItemType ItemToView, const uint32 UserIndex, const bool NavigateOnScrollIntoView) |
| |
| void | RequestNavigateToItem (ItemType Item, const uint32 UserIndex=0) |
| |
| void | CancelScrollIntoView () |
| |
| void | SetSelection (ItemType SoleSelectedItem, ESelectInfo::Type SelectInfo=ESelectInfo::Direct) |
| |
| void | SetSelectionMode (const TAttribute< ESelectionMode::Type > &NewSelectionMode) |
| |
| void | SetScrollIntoViewAlignment (EScrollIntoViewAlignment NewScrollIntoViewAlignment) |
| |
| virtual TSharedPtr< ITableRow > | WidgetFromItem (const ItemType &InItem) const override |
| |
| virtual void | AddReferencedObjects (FReferenceCollector &Collector) |
| |
| virtual FString | GetReferencerName () const |
| |
| FVector2D | GetMaxRowSizeForColumn (const FName &ColumnId, EOrientation ColumnOrientation) |
| |
| 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) |
| |
| SLATE_API void | SetItemHeight (TAttribute< float > Height) |
| |
| SLATE_API void | SetItemWidth (TAttribute< float > Width) |
| |
| SLATE_API void | ScrollBar_OnUserScrolled (float InScrollOffsetFraction) |
| |
| SLATE_API int32 | GetNumGeneratedChildren () const |
| |
| SLATE_API TSharedPtr< SWidget > | GetGeneratedChildAt (int32 Index) const |
| |
| SLATE_API TSharedPtr< SHeaderRow > | GetHeaderRow () const |
| |
| SLATE_API bool | IsRightClickScrolling () const |
| |
| SLATE_API bool | IsUserScrolling () const |
| |
| SLATE_API bool | IsPendingRefresh () const |
| |
| SLATE_API void | ScrollToTop () |
| |
| SLATE_API void | ScrollToBottom () |
| |
| SLATE_API bool | IsScrolling () const |
| |
| SLATE_API float | GetScrollOffset () const |
| |
| SLATE_API void | SetScrollOffset (const float InScrollOffset) |
| |
| SLATE_API void | EndInertialScrolling (const bool bInShouldStopScrollNow=false) |
| |
| SLATE_API void | AddScrollOffset (const float InScrollOffsetDelta, bool RefreshList=false) |
| |
| SLATE_API EVisibility | GetScrollbarVisibility () const |
| |
| SLATE_API void | SetScrollbarVisibility (const EVisibility InVisibility) |
| |
| SLATE_API void | SetScrollbarPadding (const FMargin &InScrollbarPadding) |
| |
| SLATE_API bool | IsScrollbarNeeded () const |
| |
| SLATE_API void | SetFixedLineScrollOffset (TOptional< double > InFixedLineScrollOffset) |
| |
| SLATE_API void | SetIsScrollAnimationEnabled (bool bInEnableScrollAnimation) |
| |
| SLATE_API void | SetScrollingAnimationInterpolationSpeed (float InScrollingAnimationInterpolationSpeed) |
| |
| SLATE_API void | SetEnableTouchAnimatedScrolling (bool bInEnableTouchAnimatedScrolling) |
| |
| SLATE_API void | SetAllowOverscroll (EAllowOverscroll InAllowOverscroll) |
| |
| SLATE_API void | SetIsRightClickScrollingEnabled (const bool bInEnableRightClickScrolling) |
| |
| SLATE_API void | SetIsTouchScrollingEnabled (const bool bInEnableTouchScrolling) |
| |
| SLATE_API void | SetSelectItemOnNavigation (const bool bInSelectItemOnNavigation) |
| |
| SLATE_API void | SetWheelScrollMultiplier (float NewWheelScrollMultiplier) |
| |
| SLATE_API void | SetIsPointerScrollingEnabled (bool bInIsPointerScrollingEnabled) |
| |
| SLATE_API void | SetIsGamepadScrollingEnabled (bool bInIsGamepadScrollingEnabled) |
| |
| SLATE_API void | SetBackgroundBrush (const TAttribute< const FSlateBrush * > &InBackgroundBrush) |
| |
| virtual SLATE_API void | OnFocusLost (const FFocusEvent &InFocusEvent) override |
| |
| virtual SLATE_API void | OnMouseCaptureLost (const FCaptureLostEvent &CaptureLostEvent) override |
| |
| virtual SLATE_API FReply | OnPreviewMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual SLATE_API FReply | OnMouseButtonDoubleClick (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) override |
| |
| virtual SLATE_API void | OnMouseEnter (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual SLATE_API void | OnMouseLeave (const FPointerEvent &MouseEvent) override |
| |
| virtual SLATE_API FReply | OnMouseMove (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual SLATE_API FReply | OnMouseWheel (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| |
| virtual SLATE_API FCursorReply | OnCursorQuery (const FGeometry &MyGeometry, const FPointerEvent &CursorEvent) const override |
| |
| 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 |
| |
| virtual SLATE_API bool | ComputeVolatility () const override |
| |
| virtual SLATE_API FReply | OnTouchStarted (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override |
| |
| virtual SLATE_API FReply | OnTouchMoved (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override |
| |
| virtual SLATE_API FReply | OnTouchEnded (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) override |
| |
| virtual SLATE_API FVector2D | GetScrollDistance () override |
| |
| virtual SLATE_API FVector2D | GetScrollDistanceRemaining () override |
| |
| virtual SLATE_API TSharedRef< class SWidget > | GetScrollWidget () override |
| |
| 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 FReply | OnFocusReceived (const FGeometry &MyGeometry, const FFocusEvent &InFocusEvent) |
| |
| virtual SLATECORE_API void | OnFocusChanging (const FWeakWidgetPath &PreviousFocusPath, const FWidgetPath &NewWidgetPath, const FFocusEvent &InFocusEvent) |
| |
| virtual SLATECORE_API FReply | OnKeyChar (const FGeometry &MyGeometry, const FCharacterEvent &InCharacterEvent) |
| |
| virtual SLATECORE_API FReply | OnPreviewKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| |
| virtual SLATECORE_API FReply | OnKeyUp (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| |
| virtual SLATECORE_API FReply | OnAnalogValueChanged (const FGeometry &MyGeometry, const FAnalogInputEvent &InAnalogInputEvent) |
| |
| 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 FReply | OnDragDetected (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| |
| virtual SLATECORE_API void | OnDragEnter (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) |
| |
| virtual SLATECORE_API void | OnDragLeave (const FDragDropEvent &DragDropEvent) |
| |
| virtual SLATECORE_API FReply | OnDragOver (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) |
| |
| virtual SLATECORE_API FReply | OnDrop (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) |
| |
| virtual SLATECORE_API FReply | OnTouchGesture (const FGeometry &MyGeometry, const FPointerEvent &GestureEvent) |
| |
| virtual SLATECORE_API FReply | OnTouchForceChanged (const FGeometry &MyGeometry, const FPointerEvent &TouchEvent) |
| |
| virtual SLATECORE_API FReply | OnTouchFirstMove (const FGeometry &MyGeometry, const FPointerEvent &TouchEvent) |
| |
| virtual SLATECORE_API FReply | OnMotionDetected (const FGeometry &MyGeometry, const FMotionEvent &InMotionEvent) |
| |
| 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 | OnFinishedPointerInput () |
| |
| 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 bool | IsInteractable () 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 |
| |
| virtual | ~IScrollableWidget () |
| |
|
| static const FSlateWidgetClassData & | StaticWidgetClass () |
| |
| const ETableViewMode::Type | TableViewMode |
| |
| enum class | EScrollIntoViewResult { Success
, Deferred
, Failure
} |
| |
| FReply | OnKeyDown_Internal (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| |
| virtual EScrollIntoViewResult | ScrollIntoView (const FGeometry &ListViewGeometry) override |
| |
| virtual void | NotifyItemScrolledIntoView () override |
| |
| virtual void | NotifyFinishedScrolling () override |
| |
| virtual float | ScrollBy (const FGeometry &MyGeometry, float ScrollByAmountInSlateUnits, EAllowOverscroll InAllowOverscroll) override |
| |
| TOptional< ItemType > | Private_FindNextSelectableOrNavigableWithIndexAndDirection (const ItemType &InItemToSelect, int32 SelectionIdx, bool bSelectForward) |
| |
| TOptional< ItemType > | Private_FindNextSelectableOrNavigable (const ItemType &InItemToSelect) |
| |
| virtual void | NavigationSelect (const ItemType &InItemToSelect, const FInputEvent &InInputEvent) |
| |
| virtual void | NavigationSelect (const ItemType &InItemToSelect, const FNavigationEvent &InNavigationEvent) |
| |
| SLATE_API | STableViewBase (ETableViewMode::Type InTableViewMode) |
| |
| virtual SLATE_API | ~STableViewBase () |
| |
| SLATE_API double | GetTargetScrollOffset () const |
| |
| virtual SLATE_API float | ScrollTo (float InScrollOffset) |
| |
| SLATE_API void | InsertWidget (const TSharedRef< ITableRow > &WidgetToInset) |
| |
| SLATE_API void | AppendWidget (const TSharedRef< ITableRow > &WidgetToAppend) |
| |
| SLATE_API const FChildren * | GetConstructedTableItems () const |
| |
| SLATE_API void | ClearWidgets () |
| |
| SLATE_API void | InsertPinnedWidget (const TSharedRef< SWidget > &WidgetToInset) |
| |
| SLATE_API void | AppendPinnedWidget (const TSharedRef< SWidget > &WidgetToAppend) |
| |
| SLATE_API void | ClearPinnedWidgets () |
| |
| SLATE_API float | GetItemWidth () const |
| |
| SLATE_API float | GetItemHeight () const |
| |
| SLATE_API UE::Slate::FDeprecateVector2DResult | GetItemSize () const |
| |
| virtual SLATE_API float | GetNumLiveWidgets () const |
| |
| virtual SLATE_API int32 | GetNumItemsPerLine () const |
| |
| virtual SLATE_API float | GetFirstLineScrollOffset () const |
| |
| virtual void | OnRightMouseButtonDown (const FPointerEvent &MouseEvent) |
| |
| virtual SLATE_API void | OnRightMouseButtonUp (const FPointerEvent &MouseEvent) |
| |
| SLATE_API float | GetScrollRateInItems () const |
| |
| SLATE_API void | RequestLayoutRefresh () |
| |
| SLATE_API int32 | GetNumPinnedItems () const |
| |
| SLATE_API EVisibility | GetPinnedItemsVisiblity () const |
| |
| SLATE_API void | NavigateToWidget (const uint32 UserIndex, const TSharedPtr< SWidget > &NavigationDestination, ENavigationSource NavigationSource=ENavigationSource::FocusedWidget, EUINavigation NavigationType=EUINavigation::Invalid) const |
| |
| SLATE_API int32 | FindChildUnderPosition (FArrangedChildren &ArrangedChildren, const FVector2D &ArrangedSpacePosition) const |
| |
| float | GetScrollComponentFromVector (FVector2f Vector) const |
| |
| virtual SLATE_API void | OnClippingChanged () override |
| |
| FSlateColor | GetStartShadowOpacity () const |
| |
| FSlateColor | GetEndShadowOpacity () const |
| |
| SLATE_API bool | CanUseInertialScroll (float ScrollAmount) const |
| |
| SLATE_API EActiveTimerReturnType | UpdateInertialScroll (double InCurrentTime, float InDeltaTime) |
| |
| SLATE_API EActiveTimerReturnType | EnsureTickToRefresh (double InCurrentTime, float InDeltaTime) |
| |
| float | GetSmoothDeltaTime (float InDeltaTime) |
| |
| void | UpdateSmoothDeltaTime (float InDeltaTime) |
| |
| virtual SLATECORE_API FVector2D | ComputeDesiredSize (float) const override |
| |
| 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 |
| |
| 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 () |
| |
| static FOnItemToString_Debug | GetDefaultDebugDelegate () |
| |
| static SLATECORE_API int32 | FindChildUnderMouse (const FArrangedChildren &Children, const FPointerEvent &MouseEvent) |
| |
| static SLATECORE_API int32 | FindChildUnderPosition (const FArrangedChildren &Children, const UE::Slate::FDeprecateVector2DParameter &ArrangedSpacePosition) |
| |
| static TAttribute< EVisibility > | AccessWidgetVisibilityAttribute (const TSharedRef< SWidget > &Widget) |
| |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
| |
template<
typename ItemType>
class STreeView< ItemType >
This assumes you are familiar with SListView; see SListView.
TreeView setup is virtually identical to that of ListView. Additionally, TreeView introduces a new delegate: OnGetChildren(). OnGetChildren() takes some DataItem being observed by the tree and returns that item's children. Like ListView, TreeView operates exclusively with pointers to DataItems.