diff -r 10516539f238 -r 0a02c433f52d Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py --- a/Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py Fri Nov 01 15:48:48 2013 +0100 @@ -249,13 +249,14 @@ Private method to test the selected options. """ if self.rAbout.isChecked(): - E5MessageBox.about(None, + E5MessageBox.about( + None, self.eCaption.text(), self.eMessage.toPlainText() ) elif self.rAboutQt.isChecked(): - E5MessageBox.aboutQt(None, - self.eCaption.text() + E5MessageBox.aboutQt( + None, self.eCaption.text() ) elif self.rInformation.isChecked() or \ self.rQuestion.isChecked() or \ @@ -305,28 +306,32 @@ self.defaultCombo.currentIndex()] if self.rInformation.isChecked(): - E5MessageBox.information(self, + E5MessageBox.information( + self, self.eCaption.text(), self.eMessage.toPlainText(), E5MessageBox.StandardButtons(buttons), defaultButton ) elif self.rQuestion.isChecked(): - E5MessageBox.question(self, + E5MessageBox.question( + self, self.eCaption.text(), self.eMessage.toPlainText(), E5MessageBox.StandardButtons(buttons), defaultButton ) elif self.rWarning.isChecked(): - E5MessageBox.warning(self, + E5MessageBox.warning( + self, self.eCaption.text(), self.eMessage.toPlainText(), E5MessageBox.StandardButtons(buttons), defaultButton ) elif self.rCritical.isChecked(): - E5MessageBox.critical(self, + E5MessageBox.critical( + self, self.eCaption.text(), self.eMessage.toPlainText(), E5MessageBox.StandardButtons(buttons), @@ -344,20 +349,23 @@ icon = E5MessageBox.Critical if self.rYesNo.isChecked(): - E5MessageBox.yesNo(self, + E5MessageBox.yesNo( + self, self.eCaption.text(), self.eMessage.toPlainText(), icon=icon, yesDefault=self.yesDefaultCheck.isChecked() ) elif self.rRetryAbort.isChecked(): - E5MessageBox.retryAbort(self, + E5MessageBox.retryAbort( + self, self.eCaption.text(), self.eMessage.toPlainText(), icon=icon ) elif self.rOkToClearData.isChecked(): - E5MessageBox.okToClearData(self, + E5MessageBox.okToClearData( + self, self.eCaption.text(), self.eMessage.toPlainText(), lambda: True @@ -436,7 +444,8 @@ btnCode = "" defaultIndex = self.defaultCombo.currentIndex() if defaultIndex: - btnCode = ',{0}{1}{2}'.format(os.linesep, istring, + btnCode = ',{0}{1}{2}'.format( + os.linesep, istring, self.buttonsCodeListText[defaultIndex]) return btnCode