engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FLayoutExtender类 参考

Class used for extending default layouts 更多...

#include <LayoutExtender.h>

+ 类 FLayoutExtender 继承关系图:

Public 成员函数

SLATE_API void ExtendArea (FName ExtensionId, const FAreaExtension &AreaExtension)
 Extend the area identified by the specified extension ID 更多...
 
void ExtendAreaRecursive (const TSharedRef< FTabManager::FArea > &Area) const
 Recursively extend the specified area
 
SLATE_API void ExtendLayout (FTabId PredicateTabId, ELayoutExtensionPosition Position, FTabManager::FTab TabToAdd)
 Extend the layout by defining a tab before or after the specified predicate tab ID 更多...
 
template<typename AllocatorType >
void FindTabExtensions (FTabId TabId, ELayoutExtensionPosition Position, TArray< FTabManager::FTab, AllocatorType > &OutValues) const
 Populate the specified container with the tabs that relate to the specified tab ID 更多...
 
- Public 成员函数 继承自 TSharedFromThis< FLayoutExtender >
TSharedRef< FLayoutExtender, Mode > AsShared ()
 Provides access to a shared reference to this object. 更多...
 
TSharedRef< FLayoutExtender const, Mode > AsShared () const
 Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
 
FORCEINLINE bool DoesSharedInstanceExist () const
 Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 

额外继承的成员函数

- Protected 成员函数 继承自 TSharedFromThis< FLayoutExtender >
FORCEINLINE TSharedFromThis & operator= (TSharedFromThis const &)
 Hidden stub assignment operator
 
 TSharedFromThis ()
 Hidden stub constructor
 
 TSharedFromThis (TSharedFromThis const &)
 Hidden stub copy constructor
 
 ~TSharedFromThis ()
 Hidden destructor
 
- 静态 Protected 成员函数 继承自 TSharedFromThis< FLayoutExtender >
static FORCEINLINE TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 

详细描述

Class used for extending default layouts

成员函数说明

◆ ExtendArea()

SLATE_API void FLayoutExtender::ExtendArea ( FName  ExtensionId,
const FAreaExtension &  AreaExtension 
)

Extend the area identified by the specified extension ID

参数
ExtensionIdThe ID of the area to extend (FTabManager::FArea::ExtensionId)
AreaExtensionsA callback to call with the default layout for the desired area

◆ ExtendLayout()

SLATE_API void FLayoutExtender::ExtendLayout ( FTabId  PredicateTabId,
ELayoutExtensionPosition  Position,
FTabManager::FTab  TabToAdd 
)

Extend the layout by defining a tab before or after the specified predicate tab ID

参数
PredicateTabIdThe existing tab to place the extended tab before/after
PositionWhether to place the new tab before or after this tab
TabToAddThe new tab definition

◆ FindTabExtensions()

template<typename AllocatorType >
void FLayoutExtender::FindTabExtensions ( FTabId  TabId,
ELayoutExtensionPosition  Position,
TArray< FTabManager::FTab, AllocatorType > &  OutValues 
) const
inline

Populate the specified container with the tabs that relate to the specified tab ID

参数
TabIdThe existing tab that may be extended
PositionThe position to acquire extensions for (before/after)
OutValuesThe container to populate with extended tabs

该类的文档由以下文件生成: