Navigation
API > API/Editor > API/Editor/Persona
Widget to surface an Edit Mode its widget, similar to LevelEditor approach
| Name | SPersonaToolbox |
| Type | class |
| Header File | /Engine/Source/Editor/Persona/Public/SPersonaToolBox.h |
| Include Path | #include "SPersonaToolBox.h" |
Syntax
class SPersonaToolbox : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SPersonaToolbox
- FSlateControlledConstruction → SWidget → SCompoundWidget → SPersonaToolbox
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~SPersonaToolbox() |
SPersonaToolBox.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InlineContentHolder | TSharedPtr< SBorder > | Inline content area for editor modes. | SPersonaToolBox.h | |
| ModeToolBarContainer | TSharedPtr< SBorder > | The container holding the mode toolbar. | SPersonaToolBox.h | |
| ModeToolHeader | TSharedPtr< SBorder > | The active tool header area. | SPersonaToolBox.h | |
| OwningTab | TWeakPtr< SDockTab > | The owning tab where the toolkit's interface is hosted. | SPersonaToolBox.h | |
| PersonaEditor | TWeakPtr< FPersonaAssetEditorToolkit > | SPersonaToolBox.h | ||
| StatusBarMessageHandle | FStatusBarMessageHandle | The global status bar to show the name of the active tool. | SPersonaToolBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AttachToolkit
(
const TSharedRef< IToolkit >& InToolkit |
Called to attach a toolkit to this toolbox widget (e.g. when the mode changes). | SPersonaToolBox.h | |
void Construct
(
const FArguments& InArgs, |
SPersonaToolBox.h | ||
void DetachToolkit
(
const TSharedRef< IToolkit >& InToolkit |
Called to detach a toolkit from this toolbox widget (e.g. when the mode changes). | SPersonaToolBox.h | |
void SetOwningTab
(
const TSharedRef< SDockTab >& InOwningTab |
Sets the owning tab so that we can update the tab icon based on what the toolkit provides. | SPersonaToolBox.h |