Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Dialogs > API/Editor/UnrealEd/Dialogs/FSuppressableWarningDialog
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Dialogs/Dialogs.h |
| Include | #include "Dialogs/Dialogs.h" |
Syntax
struct FSetupInfo
Remarks
Struct used to initialize FSuppressableWarningDialog
User must provide confirm text, and cancel text (if using cancel button)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDefaultToSuppressInTheFuture | If true the suppress checkbox defaults to true | |
| FText | CancelText | Text used on the button which will return FSuppressableWarningDialog::Cancel | |
| FText | CheckBoxText | Test displayed next to the checkbox, defaulted to "Don't show this again" | |
| FText | ConfirmText | Text used on the button which will return FSuppressableWarningDialog::Confirm | |
| FSlateBrush * | Image | Image used on the side of the warning, a default is provided. | |
| FString | IniSettingFileName | The name of the file which stores the IniSettingName flag result | |
| FString | IniSettingName | The name of the setting which stores whether to display the warning in future | |
| FText | Message | Warning message displayed on the dialog | |
| FText | Title | Title shown at the top of the warning message window |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSetupInfo
(
const FText& InMessage, |
Constructs a warning dialog setup object, used to initialize a warning dialog. |