Navigation
API > API/Editor > API/Editor/UnrealEd
Base class for a dialog which can be shown modally and returns a user's selection after it is closed.
| Name | SModalEditorDialog |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Dialogs/Dialogs.h |
| Include Path | #include "Dialogs/Dialogs.h" |
Syntax
template<typename ResultType>
class SModalEditorDialog : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SModalEditorDialog
- FSlateControlledConstruction → SWidget → SCompoundWidget → SModalEditorDialog
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnFinished | TDelegate< void(ResultType)> | Dialogs/Dialogs.h | ||
| Window | TSharedPtr< SWindow > | Dialogs/Dialogs.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ResultType ShowModalDialog
(
const FText& InTitle |
Dialogs/Dialogs.h | ||
void ShowNonModal
(
const FText& InTitle, |
Dialogs/Dialogs.h | ||
void ShowNonModal
(
const FText& InTitle, |
Dialogs/Dialogs.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< SWidget > GetWidgetToFocusOnActivate() |
Dialogs/Dialogs.h | ||
void ProvideResult
(
ResultType InResult |
Derived classes call this function from their widget events to close the dialog and return the result to the calling context. | Dialogs/Dialogs.h |