## MQWidget.Dialog class

A dialog class.

Super classes: MQWidget.WidgetBase - MQWidget.WindowBase

### Method

Member | Description
--- | ---
Dialog | Constructor.
execute | Show a dialog.
close | Close a dialog.

Dialog([parent])
Constructor.
  Parameters:
  MQWidget.WindowBase | parent | - | A parent window

execute
Show a dialog.
  Return value:
  string | - | result [ok] OK [cancel] Cancel [yes] Yes [no] No [all] All

close([result])
Close a dialog.
  Parameters:
  string | result | - | result [ok] OK [cancel] Cancel [yes] Yes [no] No [all] All