# eric6.Plugins.WizardPlugins.E5MessageBoxWizard.E5MessageBoxWizardDialog

Module implementing the eric6 message box wizard dialog.

### Global Attributes

None

### Classes

E5MessageBoxWizardDialog | Class implementing the eric6 message box wizard dialog.

### Functions

None

## E5MessageBoxWizardDialog

Class implementing the eric6 message box wizard dialog.

It displays a dialog for entering the parameters for the E5MessageBox code generator.

### Derived from

QDialog, Ui_E5MessageBoxWizardDialog

### Class Attributes

None

### Class Methods

None

### Methods

E5MessageBoxWizardDialog | Constructor
__enabledGroups | Private method to enable/disable some group boxes.
__getDefaultButtonCode | Private method to generate the button code for the default button.
__getStandardButtonCode | Private method to generate the button code for the standard buttons.
getCode | Public method to get the source code.
on_bTest_clicked | Private method to test the selected options.
on_buttonBox_clicked | Private slot called by a button of the button box clicked.
on_rAboutQt_toggled | Private slot to handle the toggled signal of the rAboutQt radio button.
on_rAbout_toggled | Private slot to handle the toggled signal of the rAbout radio button.
on_rCritical_toggled | Private slot to handle the toggled signal of the rCritical radio button.
on_rInformation_toggled | Private slot to handle the toggled signal of the rInformation radio button.
on_rOkToClearData_toggled | Private slot to handle the toggled signal of the rOkToClearData radio button.
on_rQuestion_toggled | Private slot to handle the toggled signal of the rQuestion radio button.
on_rRetryAbort_toggled | Private slot to handle the toggled signal of the rRetryAbort radio button.
on_rStandard_toggled | Private slot to handle the toggled signal of the rStandard radio button.
on_rWarning_toggled | Private slot to handle the toggled signal of the rWarning radio button.
on_rYesNo_toggled | Private slot to handle the toggled signal of the rYesNo radio button.

### Static Methods

None

#### E5MessageBoxWizardDialog (Constructor)

E5MessageBoxWizardDialog(parent=None)

Constructor

parent
  reference to the parent widget (QWidget)

#### E5MessageBoxWizardDialog.__enabledGroups

__enabledGroups()

Private method to enable/disable some group boxes.

#### E5MessageBoxWizardDialog.__getDefaultButtonCode

__getDefaultButtonCode(istring)

Private method to generate the button code for the default button.

istring
  indentation string (string)

Returns:
  the button code (string)

#### E5MessageBoxWizardDialog.__getStandardButtonCode

__getStandardButtonCode(istring, indString, withIntro=True)

Private method to generate the button code for the standard buttons.

istring
  indentation string (string)
indString
  string used for indentation (space or tab) (string)
withIntro=
  flag indicating to generate a first line with introductory text (boolean)

Returns:
  the button code (string)

#### E5MessageBoxWizardDialog.getCode

getCode(indLevel, indString)

Public method to get the source code.

indLevel
  indentation level (int)
indString
  string used for indentation (space or tab) (string)

Returns:
  generated code (string)

#### E5MessageBoxWizardDialog.on_bTest_clicked

on_bTest_clicked()

Private method to test the selected options.

#### E5MessageBoxWizardDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button
  button that was clicked (QAbstractButton)

#### E5MessageBoxWizardDialog.on_rAboutQt_toggled

on_rAboutQt_toggled(on)

Private slot to handle the toggled signal of the rAboutQt radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rAbout_toggled

on_rAbout_toggled(on)

Private slot to handle the toggled signal of the rAbout radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rCritical_toggled

on_rCritical_toggled(on)

Private slot to handle the toggled signal of the rCritical radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rInformation_toggled

on_rInformation_toggled(on)

Private slot to handle the toggled signal of the rInformation radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rOkToClearData_toggled

on_rOkToClearData_toggled(on)

Private slot to handle the toggled signal of the rOkToClearData radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rQuestion_toggled

on_rQuestion_toggled(on)

Private slot to handle the toggled signal of the rQuestion radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rRetryAbort_toggled

on_rRetryAbort_toggled(on)

Private slot to handle the toggled signal of the rRetryAbort radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rStandard_toggled

on_rStandard_toggled(on)

Private slot to handle the toggled signal of the rStandard radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rWarning_toggled

on_rWarning_toggled(on)

Private slot to handle the toggled signal of the rWarning radio button.

on
  toggle state (boolean) (ignored)

#### E5MessageBoxWizardDialog.on_rYesNo_toggled

on_rYesNo_toggled(on)

Private slot to handle the toggled signal of the rYesNo radio button.

on
  toggle state (boolean) (ignored)

Up