Navigation
API > API/Plugins > API/Plugins/CommonUI
Base class for a list of selectable tabs that correspondingly activate and display an arbitrary widget in a linked switcher
| Name | UCommonTabListWidgetBase |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonTabListWidgetBase.h |
| Include Path | #include "CommonTabListWidgetBase.h" |
Syntax
UCLASS (MinimalAPI, Abstract, Blueprintable, ClassGroup=UI,
Meta=(Category="Common UI", DisableNativeTick))
class UCommonTabListWidgetBase : public UCommonUserWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UUserWidget → UCommonUserWidget → UCommonTabListWidgetBase
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCommonTabListWidgetBase
(
const FObjectInitializer& ObjectInitializer |
CommonTabListWidgetBase.h |
Classes
| Name | Remarks |
|---|---|
| FOnTabButtonCreation | Delegate broadcast when a new tab is created. Allows hook ups after creation. |
| FOnTabButtonRemoval | Delegate broadcast when a tab is being removed. Allows clean ups after destruction. |
| FOnTabListRebuilt | Delegate broadcast when the tab list has been rebuilt (after a new tab has been inserted rather than added to the end). |
| FOnTabSelected | Delegate broadcast when a new tab is selected. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnTabButtonCreation | FOnTabButtonCreation | Broadcasts when a new tab is created. | CommonTabListWidgetBase.h |
|
| OnTabButtonRemoval | FOnTabButtonRemoval | Broadcasts when a new tab is created. | CommonTabListWidgetBase.h |
|
| OnTabListRebuilt | FOnTabListRebuilt | Broadcasts when the tab list has been rebuilt (after a new tab has been inserted rather than added to the end). | CommonTabListWidgetBase.h |
|
| OnTabSelected | FOnTabSelected | Broadcasts when a new tab is selected. | CommonTabListWidgetBase.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveTabID | FName | The registration ID of the currently active tab | CommonTabListWidgetBase.h | |
| bIsRebuildingList | bool | CommonTabListWidgetBase.h | ||
| bPendingRebuild | bool | CommonTabListWidgetBase.h | ||
| NextTabActionHandle | FUIActionBindingHandle | CommonTabListWidgetBase.h | ||
| PrevTabActionHandle | FUIActionBindingHandle | CommonTabListWidgetBase.h | ||
| RegisteredTabsByID | TMap< FName, FCommonRegisteredTabInfo > | Info about each of the currently registered tabs organized by a given registration name ID | CommonTabListWidgetBase.h |
|
| TabButtonWidgetPool | FUserWidgetPool | CommonTabListWidgetBase.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Disables the tab associated with the given ID with a reason | CommonTabListWidgetBase.h |
|
|
FName GetActiveTab() |
CommonTabListWidgetBase.h |
|
|
UCommonAnimatedSwitcher * GetLinkedSwitcher() |
CommonTabListWidgetBase.h |
|
|
FName GetSelectedTabId() |
CommonTabListWidgetBase.h |
|
|
UCommonButtonBase * GetTabButtonBaseByID
(
FName TabNameID |
Returns the tab button matching the ID, if found | CommonTabListWidgetBase.h |
|
int32 GetTabCount() |
CommonTabListWidgetBase.h |
|
|
FName GetTabIdAtIndex
(
int32 Index |
CommonTabListWidgetBase.h |
|
|
bool HasTabContentWidget
(
const FName TabNameId |
Checks if a tab has an associated content widget | CommonTabListWidgetBase.h |
|
bool RegisterTab
(
FName TabNameID, |
Registers and adds a new tab to the list that corresponds to a given widget instance. | CommonTabListWidgetBase.h |
|
bool RegisterTabContentWidget
(
const FName TabNameId, |
Registers a content widget with a previously created tab with ID TabNameId. | CommonTabListWidgetBase.h |
|
void RemoveAllTabs() |
CommonTabListWidgetBase.h |
|
|
bool RemoveTab
(
FName TabNameID |
CommonTabListWidgetBase.h |
|
|
bool SelectTabByID
(
FName TabNameID, |
Selects the tab registered under the provided name ID | CommonTabListWidgetBase.h |
|
virtual void SetLinkedSwitcher
(
UCommonAnimatedSwitcher* CommonSwitcher |
Establishes the activatable widget switcher instance that this tab list should interact with | CommonTabListWidgetBase.h |
|
virtual void SetListeningForInput
(
bool bShouldListen |
CommonTabListWidgetBase.h |
|
|
void SetSelectionRequired
(
bool bSelectionRequired |
Allows one to temporarily disable the selection-required behavior TabButtonGroup, useful during initialization and destruction of a UCommonTabListWidgetBase | CommonTabListWidgetBase.h | |
void SetTabEnabled
(
FName TabNameID, |
Sets whether the tab associated with the given ID is enabled/disabled | CommonTabListWidgetBase.h |
|
void SetTabInteractionEnabled
(
FName TabNameID, |
Sets whether the tab associated with the given ID is interactable | CommonTabListWidgetBase.h |
|
void SetTabVisibility
(
FName TabNameID, |
Sets the visibility of the tab associated with the given ID | CommonTabListWidgetBase.h |
|
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TMap< FName, FCommonRegisteredTabInfo > & GetRegisteredTabsByID() |
CommonTabListWidgetBase.h | ||
void HandleNextTabInputAction
(
bool& bPassthrough |
CommonTabListWidgetBase.h | ||
virtual void HandlePostLinkedSwitcherChanged() |
CommonTabListWidgetBase.h | ||
void HandlePostLinkedSwitcherChanged_BP() |
CommonTabListWidgetBase.h |
|
|
virtual void HandlePreLinkedSwitcherChanged() |
CommonTabListWidgetBase.h | ||
void HandlePreLinkedSwitcherChanged_BP() |
CommonTabListWidgetBase.h |
|
|
void HandlePreviousTabInputAction
(
bool& bPassthrough |
CommonTabListWidgetBase.h | ||
void HandleTabButtonSelected
(
UCommonButtonBase* SelectedTabButton, |
CommonTabListWidgetBase.h | ||
void HandleTabCreation
(
FName TabNameID, |
CommonTabListWidgetBase.h |
|
|
void HandleTabRemoval
(
FName TabNameID, |
CommonTabListWidgetBase.h |
|
|
bool IsRebuildingList() |
CommonTabListWidgetBase.h | ||
virtual void UpdateBindings() |
CommonTabListWidgetBase.h |
Overridden from UUserWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void NativeConstruct() |
CommonTabListWidgetBase.h | ||
virtual void NativeDestruct() |
CommonTabListWidgetBase.h | ||
virtual void NativeOnInitialized() |
CommonTabListWidgetBase.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
CommonTabListWidgetBase.h |