--- a/src/eric7/Plugins/AboutPlugin/AboutDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/AboutPlugin/AboutDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -32,12 +32,10 @@ """ <a href="mailto:{3}">{3}</a>.</p>""" """<p>{0} uses third party software which is copyrighted""" """ by its respective copyright holder. For details see""" - """ the copyright notice of the individual package.</p>""" -).format(UI.Info.Program, UI.Info.Homepage, UI.Info.BugAddress, - UI.Info.FeatureAddress) + """ the copyright notice of the individual package.</p>""", +).format(UI.Info.Program, UI.Info.Homepage, UI.Info.BugAddress, UI.Info.FeatureAddress) -authorsText = ( - """ +authorsText = """ Detlev Offenbach Project Manager, Maintainer and German translation @@ -67,10 +65,8 @@ Gianluca Italian translations """ -) -thanksText = ( - """Phil Thompson for providing PyQt and QScintilla and pushing me into this +thanksText = """Phil Thompson for providing PyQt and QScintilla and pushing me into this business. Andrew Bushnell of Fluent Inc. for contributing the multithreading debugger @@ -100,7 +96,6 @@ for providing patches to improve eric3, eric4, eric5 and eric6. And all the people who reported bugs and made suggestions.""" -) licenseText = ( """Eric is {0} @@ -733,53 +728,54 @@ copy of the Program in return for a fee. END OF TERMS AND CONDITIONS -""").format(UI.Info.Copyright) +""" +).format(UI.Info.Copyright) class AboutDialog(QDialog, Ui_AboutDialog): """ Class implementing an 'About Eric' dialog. """ + def __init__(self, parent=None): """ Constructor - + @param parent reference to the parent widget (QWidget) """ super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) - + self.ericLabel.setText(titleText) - self.ericPixmap.setPixmap( - UI.PixmapCache.getPixmap("eric").scaled(48, 48)) - + self.ericPixmap.setPixmap(UI.PixmapCache.getPixmap("eric").scaled(48, 48)) + #################################################################### ## ABOUT #################################################################### - + self.aboutEdit.setHtml(aboutText) - + #################################################################### ## Copyright, Authors #################################################################### - + self.authorsEdit.setPlainText(authorsText) - + #################################################################### ## THANKS #################################################################### - + self.thanksEdit.setPlainText(thanksText) - + #################################################################### ## LICENSE #################################################################### - + font = Preferences.getEditorOtherFonts("MonospacedFont") self.licenseEdit.setFontFamily(font.family()) self.licenseEdit.setFontPointSize(font.pointSize()) - + self.licenseEdit.setPlainText(licenseText) - + self.aboutTabWidget.setCurrentWidget(self.about)