UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TWidgetSlotWithAttributeSupport< SlotType > Class Template Reference

#include <WidgetSlotWithAttributeSupport.h>

+ Inheritance diagram for TWidgetSlotWithAttributeSupport< SlotType >:

Classes

struct  TSlateSlotAttribute
 

Public Member Functions

virtual ~TWidgetSlotWithAttributeSupport ()
 
void Construct (const FChildren &SlotOwner, typename Super::FSlotArguments &&InArgs)
 
void RequestSortAttribute ()
 
virtual SWidgetGetContainerWidget () const override
 
virtual FName GetContainerName () const override
 
virtual uint32 GetContainerSortOrder () const override
 
- Public Member Functions inherited from TSlotBase< SlotType >
SlotType & operator[] (TSharedRef< SWidget > &&InChildWidget)
 
SlotType & operator[] (const TSharedRef< SWidget > &InChildWidget)
 
SlotType & Expose (SlotType *&OutVarToInit)
 
void Construct (const FChildren &SlotOwner, FSlotArguments &&InArgs)
 
SLATECORE_API FSlotBase ()
 
SLATECORE_API FSlotBase (const FChildren &InParent)
 
SLATECORE_API FSlotBase (const TSharedRef< SWidget > &InWidget)
 
 FSlotBase (const FSlotBase &)=delete
 
- Public Member Functions inherited from FSlotBase
SLATECORE_API FSlotBase ()
 
SLATECORE_API FSlotBase (const FChildren &InParent)
 
SLATECORE_API FSlotBase (const TSharedRef< SWidget > &InWidget)
 
FSlotBaseoperator= (const FSlotBase &)=delete
 
 FSlotBase (const FSlotBase &)=delete
 
virtual SLATECORE_API ~FSlotBase ()
 
const FChildrenGetOwner () const
 
SLATECORE_API SWidgetGetOwnerWidget () const
 
SLATECORE_API void SetOwner (const FChildren &Children)
 
void AttachWidget (TSharedRef< SWidget > &&InWidget)
 
void AttachWidget (const TSharedRef< SWidget > &InWidget)
 
const TSharedRef< SWidget > & GetWidget () const
 
SLATECORE_API const TSharedPtr< SWidgetDetachWidget ()
 
SLATECORE_API void Invalidate (EInvalidateWidgetReason InvalidateReason)
 

Static Public Member Functions

static void RegisterAttributes (FSlateWidgetSlotAttributeInitializer &AttributeInitializer)
 

Additional Inherited Members

- Public Types inherited from TSlotBase< SlotType >
enum  EConstructSlotIsFChildren { ConstructSlotIsFChildren }
 
- Protected Member Functions inherited from FSlotBase
template<typename TargetValueType , typename SourceValueType >
bool SetAttribute (TAttribute< TargetValueType > &TargetValue, const TAttribute< SourceValueType > &SourceValue, EInvalidateWidgetReason BaseInvalidationReason)
 
- Protected Member Functions inherited from SlateAttributePrivate::ISlateAttributeContainer
SLATECORE_API void RemoveContainerWidget (SWidget &Widget)
 
SLATECORE_API void UpdateContainerSortOrder (SWidget &Widget)
 

Detailed Description

template<typename SlotType>
class TWidgetSlotWithAttributeSupport< SlotType >

A base slot that supports TSlateContainedAttribute. The FChildren that own the FSlot also needs to support SlateContainedAttribute.

See also
FChildren::SupportSlotWithSlateAttribute

Constructor & Destructor Documentation

◆ ~TWidgetSlotWithAttributeSupport()

template<typename SlotType >
virtual TWidgetSlotWithAttributeSupport< SlotType >::~TWidgetSlotWithAttributeSupport ( )
inlinevirtual

Member Function Documentation

◆ Construct()

template<typename SlotType >
void TWidgetSlotWithAttributeSupport< SlotType >::Construct ( const FChildren SlotOwner,
typename Super::FSlotArguments &&  InArgs 
)
inline

◆ GetContainerName()

template<typename SlotType >
virtual FName TWidgetSlotWithAttributeSupport< SlotType >::GetContainerName ( ) const
inlineoverridevirtual

◆ GetContainerSortOrder()

template<typename SlotType >
virtual uint32 TWidgetSlotWithAttributeSupport< SlotType >::GetContainerSortOrder ( ) const
inlineoverridevirtual

◆ GetContainerWidget()

template<typename SlotType >
virtual SWidget & TWidgetSlotWithAttributeSupport< SlotType >::GetContainerWidget ( ) const
inlineoverridevirtual

◆ RegisterAttributes()

template<typename SlotType >
static void TWidgetSlotWithAttributeSupport< SlotType >::RegisterAttributes ( FSlateWidgetSlotAttributeInitializer AttributeInitializer)
inlinestatic

◆ RequestSortAttribute()

template<typename SlotType >
void TWidgetSlotWithAttributeSupport< SlotType >::RequestSortAttribute ( )
inline

The documentation for this class was generated from the following file: