Navigation
API > API/Editor > API/Editor/MainFrame > API/Editor/MainFrame/Interfaces
Inheritance Hierarchy
- IModuleInterface
- IMainFrameModule
References
| Module | MainFrame |
| Header | /Engine/Source/Editor/MainFrame/Public/Interfaces/IMainFrameModule.h |
| Include | #include "Interfaces/IMainFrameModule.h" |
Syntax
class IMainFrameModule : public IModuleInterface
Remarks
Interface for main frame modules.
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BroadcastMainFrameRequestResource
(
const FString& Category, |
||
| void | BroadcastMainFrameSDKNotInstalled
(
const FString& PlatformName, |
||
| void | CreateDefaultMainFrame
(
const bool bStartImmersive, |
Creates the default editor main frame | |
| void | Disables the delegate responsible for shutting down the editor when the main tab is closed. | ||
| void | Enable external control of when main frame is shown | ||
| void | Enables the delegate responsible for shutting down the editor when the main tab is closed. | ||
| bool | |||
| IMainFrameModule & | Get () |
Gets a reference to the search module instance. | |
| const FText | GetApplicationTitle
(
const bool bIncludeGameName |
Gets the title string for the application, optionally including the current game name as part of the title | |
| void | GetEditorSettingsDefaultSelectionOverride
(
FName& OutCategoryName, |
Gets the override for the section that gets selected by default when opening editor settings | |
| FString | Returns a friendly string name for the currently loaded persistent level. | ||
| TSharedRef< FUICommandList > & | |||
| FMainMRUFavoritesList * | Gets the MRU/Favorites list | ||
| TSharedPtr< SWindow > | Gets the window the mainframe lives in. | ||
| bool | Returns true if the Default Main Frame is being recreated. | ||
| bool | Checks to see if the main frame window is currently initialized | ||
| TSharedRef< SWidget > | MakeDeveloperTools
(
const TArray< FMainFrameDeveloperTool >& AdditionalTools |
Generates a menu that's just like the "main menu" widget above, except it also includes some infrequently used commands that are better off only shown in a single "main tab" within the application | |
| TSharedRef< SWidget > | MakeMainMenu
(
const TSharedPtr< FTabManager >& TabManager, |
Generates a menu that includes application global commands, such as "Save All", "Exit", etc. | |
| FMainFrameCreationFinishedEvent & | |||
| FMainFrameRequestResource & | |||
| FMainFrameSDKNotInstalled & | |||
| void | RecreateDefaultMainFrame
(
const bool bStartImmersive, |
Recreates the default editor main frame. | |
| FDelegateHandle | RegisterCanCloseEditor
(
const FMainFrameCanCloseEditor& InDelegate |
Register a new callback for determining if the editor can be closed | |
| void | Requests that the editor be closed In some cases the editor may not be closed (like if a user cancels a save dialog) | ||
| void | SetApplicationTitleOverride
(
const FText& NewOverriddenApplicationTitle |
Overrides the title of the application that's displayed in the title bar area and other locations | |
| void | SetEditorSettingsDefaultSelectionOverride
(
FName CategoryName, |
Overrides the section that gets selected by default when opening editor settings | |
| void | SetLevelNameForWindowTitle
(
const FString& InLevelFileName |
Updates the mainframe title on the Slate window and the native OS window underneath | |
| void | SetMainTab
(
const TSharedRef< SDockTab >& MainTab |
Sets the reference to the main tab. | |
| void | Shows the 'About UnrealEd' window. | ||
| void | Show main frame now if it was delayed and not shown yet | ||
| void | UnregisterCanCloseEditor
(
FDelegateHandle InHandle |
Unregister a callback for determining if the editor can be closed |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMainFrameCreationFinishedEvent | Delegate for binding functions to be called when the mainframe finishes up getting created. | ||
| FMainFrameRequestResource | Delegate for making an open-ended request for a resource or link. | ||
| FMainFrameSDKNotInstalled | Delegate for when a platform SDK isn't installed corrected (takes the platform name and the documentation link to show) |
Typedefs
| Name | Description |
|---|---|
| FMainFrameCanCloseEditor | Delegate for determining if the editor can be closed |