SCustomDialog

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Dialogs/CustomDialog.h

Include

#include "Dialogs/CustomDialog.h"

Syntax

class SCustomDialog : public SWindow

Functions

Name Description

Public function

void

 

Show()

Show the dialog. This method will return immediately.

Public function

int32

 

ShowModal()

Show a modal dialog.

Public function

 

SLATE_ARGUMENT

(
    FText,
    Title
)

Title to display for the dialog. Optional icon to display in the dialog. (default: none)

Public function

IconBrush

 

SLATE_ARGUMENT

(
    bool,
    UseScrollBox
)

Should this dialog use a scroll box for over-sized content? (default: true) Max height for the scroll box (default: 300)

Public function

IconBrush Sc...

 

SLATE_ARGUMENT

(
    TArray< FButton >,
    Buttons
)

The buttons that this dialog should have. One or more buttons must be added. Content for the dialog

Public function

 

SLATE_BEGIN_ARGS

(
    SCustomDialog
)

Public function Const

IconBrush Sc...

 

SLATE_EVENT

(
    FSimpleDelegate,
    OnClosed
)

Event triggered when the dialog is closed, either because one of the buttons is pressed, or the windows is closed.

Classes

Name

Description

Public struct

FButton

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss