Navigation
API > API/Editor > API/Editor/UnrealEd
A Dialog that displays a warning message to the user and provides the option to not display it in the future
| Name | FSuppressableWarningDialog |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Dialogs/Dialogs.h |
| Include Path | #include "Dialogs/Dialogs.h" |
Syntax
class FSuppressableWarningDialog
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSuppressableWarningDialog
(
const FSuppressableWarningDialog::FSetupInfo& Info |
Constructs FSuppressableWarningDialog | Dialogs/Dialogs.h |
Structs
| Name | Remarks |
|---|---|
| FSetupInfo | Struct used to initialize FSuppressableWarningDialog |
Enums
Public
| Name | Remarks |
|---|---|
| EMode | Optional mode of operation for FSuppressableWarningDialog |
| EResult | Custom return type used by ShowModal |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SuppressedInTheSession | TSet< FString > | Set of session only suppressions | Dialogs/Dialogs.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DialogMode | EMode | Optional mode of operation | Dialogs/Dialogs.h | |
| IniSettingFileName | FString | Name of the file which stores the IniSettingName flag result | Dialogs/Dialogs.h | |
| IniSettingName | FString | Name of the flag which controls whether to launch the warning | Dialogs/Dialogs.h | |
| MessageBox | TSharedPtr< class SModalDialogWithCheckbox > | Cached pointer to the message box held within the window | Dialogs/Dialogs.h | |
| ModalWindow | TSharedPtr< SWindow > | Cached pointer to the modal window | Dialogs/Dialogs.h | |
| Prompt | FText | Cached warning text to output to the log if the warning is suppressed | Dialogs/Dialogs.h | |
| ResponseIniSettingName | FString | The name of the setting which stores the user response when dismissing the dialog. | Dialogs/Dialogs.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EResult ShowModal() |
Launches warning window, returns user response or suppressed | Dialogs/Dialogs.h |