Navigation
API > API/Developer > API/Developer/TraceInsights
Implements the base class for a major tab window.
| Name | SMajorTabWindow |
| Type | class |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/Widgets/SMajorTabWindow.h |
| Include Path | #include "Insights/Widgets/SMajorTabWindow.h" |
Syntax
class SMajorTabWindow : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SMajorTabWindow
- FSlateControlledConstruction → SWidget → SCompoundWidget → SMajorTabWindow
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SMajorTabWindow
(
const FName& InMajorTabId |
Default constructor. | Insights/Widgets/SMajorTabWindow.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SMajorTabWindow() |
Virtual destructor. | Insights/Widgets/SMajorTabWindow.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FWindowClosedEvent | TMulticastDelegate_NoParams< void > | OnWindowClosedEvent. | Insights/Widgets/SMajorTabWindow.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveTimerHandle | TWeakPtr< FActiveTimerHandle > | The handle to the active update duration tick | Insights/Widgets/SMajorTabWindow.h | |
| CommandList | TSharedPtr< FUICommandList > | Command list used in the window. Maps commands to window specific actions. | Insights/Widgets/SMajorTabWindow.h | |
| DurationActive | float | The number of seconds the window has been active | Insights/Widgets/SMajorTabWindow.h | |
| Extension | TSharedPtr< FInsightsMajorTabExtender > | Tab specific slate extender structure, has the lifetime of this widget | Insights/Widgets/SMajorTabWindow.h | |
| MajorTabId | FName | The major tab id for this window. | Insights/Widgets/SMajorTabWindow.h | |
| OpenTabs | TSet< TSharedPtr< SDockTab > > | All tabs owned by this window | Insights/Widgets/SMajorTabWindow.h | |
| TabManager | TSharedPtr< FTabManager > | Holds the tab manager that manages the front-end's tabs. | Insights/Widgets/SMajorTabWindow.h | |
| WindowClosedEvent | FWindowClosedEvent | The event to execute when the window is closed. | Insights/Widgets/SMajorTabWindow.h | |
| WorkspaceMenuGroup | TSharedPtr< FWorkspaceItem > | The menu group. | Insights/Widgets/SMajorTabWindow.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CloseAllOpenTabs() |
Insights/Widgets/SMajorTabWindow.h | ||
void Construct
(
const FArguments& InArgs, |
Constructs this widget. | Insights/Widgets/SMajorTabWindow.h | |
const TSharedPtr< FUICommandList > GetCommandList() |
Insights/Widgets/SMajorTabWindow.h | ||
const FName & GetMajorTabId() |
Insights/Widgets/SMajorTabWindow.h | ||
TSharedPtr< FTabManager > GetTabManager() |
Insights/Widgets/SMajorTabWindow.h | ||
FWindowClosedEvent & GetWindowClosedEvent() |
Insights/Widgets/SMajorTabWindow.h | ||
TSharedPtr< FWorkspaceItem > GetWorkspaceMenuGroup() |
Insights/Widgets/SMajorTabWindow.h | ||
void HideTab
(
const FName& TabId |
Insights/Widgets/SMajorTabWindow.h | ||
virtual void Reset() |
Insights/Widgets/SMajorTabWindow.h | ||
void ShowHideTab
(
const FName& TabId, |
Insights/Widgets/SMajorTabWindow.h | ||
void ShowTab
(
const FName& TabId |
Insights/Widgets/SMajorTabWindow.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddOpenTab
(
const TSharedRef< SDockTab >& DockTab |
Insights/Widgets/SMajorTabWindow.h | ||
virtual TSharedRef< FTabManager::FLayout > CreateDefaultTabLayout() |
Insights/Widgets/SMajorTabWindow.h | ||
virtual TSharedRef< SWidget > CreateToolbar
(
TSharedPtr< FExtender > Extender |
Insights/Widgets/SMajorTabWindow.h | ||
virtual TSharedRef< FWorkspaceItem > CreateWorkspaceMenuGroup() |
Insights/Widgets/SMajorTabWindow.h | ||
virtual const TCHAR * GetAnalyticsEventName() |
Insights/Widgets/SMajorTabWindow.h | ||
virtual void RegisterTabSpawners() |
Insights/Widgets/SMajorTabWindow.h | ||
void RemoveOpenTab
(
const TSharedRef< SDockTab >& DockTab |
Insights/Widgets/SMajorTabWindow.h | ||
void SetCommandList
(
const TSharedPtr< FUICommandList > InCommandList |
Insights/Widgets/SMajorTabWindow.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void FillMenu
(
FMenuBuilder& MenuBuilder, |
Fill the main menu with menu items. | Insights/Widgets/SMajorTabWindow.h |