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

Tool bar combo button MultiBlock 更多...

#include <SToolBarComboButtonBlock.h>

+ 类 FToolBarComboButtonBlock 继承关系图:

Public 成员函数

virtual void CreateMenuEntry (class FMenuBuilder &MenuBuilder) const override
 FMultiBlock interface
 
 FToolBarComboButtonBlock (const FUIAction &InAction, const FOnGetContent &InMenuContentGenerator, const TAttribute< FText > &InLabel=TAttribute< FText >(), const TAttribute< FText > &InToolTip=TAttribute< FText >(), const TAttribute< FSlateIcon > &InIcon=TAttribute< FSlateIcon >(), bool bInSimpleComboBox=false)
 Constructor 更多...
 
void SetForceSmallIcons (const bool InForceSmallIcons)
 Set whether this toolbar should always use small icons, regardless of the current settings
 
void SetLabelVisibility (EVisibility InLabelVisibility)
 Sets the visibility of the blocks label 更多...
 
- Public 成员函数 继承自 FMultiBlock
virtual void CreateMenuEntry (class FMenuBuilder &MenuBuilder) const
 Creates a menu entry that is representative of this block
 
 FMultiBlock (const FUIAction &InAction, FName InExtensionHook=NAME_None, EMultiBlockType InType=EMultiBlockType::None, bool bInIsPartOfHeading=false, TSharedPtr< const FUICommandList > InCommandList=nullptr)
 Constructor 更多...
 
 FMultiBlock (const TSharedPtr< const FUICommandInfo > InCommand, TSharedPtr< const FUICommandList > InCommandList, FName InExtensionHook=NAME_None, EMultiBlockType InType=EMultiBlockType::None, bool bInIsPartOfHeading=false)
 Constructor 更多...
 
TSharedPtr< const FUICommandInfo > GetAction () const
 Returns the action associated with this block 更多...
 
TSharedPtr< const FUICommandList > GetActionList () const
 Returns the action list associated with this block 更多...
 
const FUIAction & GetDirectActions () const
 Returns the direct actions for this block. 更多...
 
FName GetExtensionHook () const
 Gets the extension hook so users can see what hooks are where
 
bool GetSearchable () const
 Gets the searchable state of this block 更多...
 
FName GetTutorialHighlightName () const
 Get the tutorial highlight name for this menu entry
 
const EMultiBlockType GetType () const
 Gets the type of this MultiBox 更多...
 
virtual bool IsGroupStartBlock () const
 Group blocks interface
 
bool IsPartOfHeading () const
 Is this block a heading block or a block that belongs to a heading such as a separator 更多...
 
bool IsSeparator () const
 Is this block a separator 更多...
 
TSharedRef< class IMultiBlockBaseWidget > MakeWidget (TSharedRef< class SMultiBoxWidget > InOwnerMultiBoxWidget, EMultiBlockLocation::Type InLocation, bool bSectionContainsIcons) const
 Creates a MultiBlock widget for this MultiBlock 更多...
 
void SetSearchable (bool bSearchable)
 Sets the searchable state of this block 更多...
 
void SetTutorialHighlightName (FName InTutorialName)
 Set the tutorial highlight name for this menu entry
 
- Public 成员函数 继承自 TSharedFromThis< FMultiBlock >
TSharedRef< FMultiBlock, Mode > AsShared ()
 Provides access to a shared reference to this object. 更多...
 
TSharedRef< FMultiBlock 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. 更多...
 

友元

class SToolBarComboButtonBlock
 

额外继承的成员函数

- Protected 成员函数 继承自 TSharedFromThis< FMultiBlock >
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< FMultiBlock >
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. 更多...
 

详细描述

Tool bar combo button MultiBlock

构造及析构函数说明

◆ FToolBarComboButtonBlock()

FToolBarComboButtonBlock::FToolBarComboButtonBlock ( const FUIAction &  InAction,
const FOnGetContent &  InMenuContentGenerator,
const TAttribute< FText > &  InLabel = TAttribute< FText >(),
const TAttribute< FText > &  InToolTip = TAttribute< FText >(),
const TAttribute< FSlateIcon > &  InIcon = TAttribute< FSlateIcon >(),
bool  bInSimpleComboBox = false 
)

Constructor

参数
InActionUI action that sets the enabled state for this combo button
InMenuContentGeneratorDelegate that generates a widget for this combo button's menu content. Called when the menu is summoned.
InLabelOptional label for this combo button.
InToolTipTool tip string (required!)
InIconOptional icon to use for the tool bar image
bInSimpleComboBoxIf true, the icon and label won't be displayed

成员函数说明

◆ SetLabelVisibility()

void FToolBarComboButtonBlock::SetLabelVisibility ( EVisibility  InLabelVisibility)
inline

Sets the visibility of the blocks label

参数
InLabelVisibilityVisibility setting to use for the label

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