531 if saveFunc == "": |
531 if saveFunc == "": |
532 saveFunc = "lambda: True" |
532 saveFunc = "lambda: True" |
533 msgdlg += ',{0}{1}{2}'.format(os.linesep, istring, saveFunc) |
533 msgdlg += ',{0}{1}{2}'.format(os.linesep, istring, saveFunc) |
534 else: |
534 else: |
535 msgdlg = "E5MessageBox.E5MessageBox({0}".format(os.linesep) |
535 msgdlg = "E5MessageBox.E5MessageBox({0}".format(os.linesep) |
536 msgdlg += '{0}{1}{2}'.format(istring, icon, os.linesep) |
536 msgdlg += '{0}{1},{2}'.format(istring, icon, os.linesep) |
537 msgdlg += '{0}self.trUtf8("{1}")'.format( |
537 msgdlg += '{0}self.trUtf8("{1}")'.format( |
538 istring, self.eCaption.text()) |
538 istring, self.eCaption.text()) |
539 msgdlg += ',{0}{1}self.trUtf8("""{2}""")'.format( |
539 msgdlg += ',{0}{1}self.trUtf8("""{2}""")'.format( |
540 os.linesep, istring, self.eMessage.toPlainText()) |
540 os.linesep, istring, self.eMessage.toPlainText()) |
541 if self.modalCheck.isChecked(): |
541 if self.modalCheck.isChecked(): |