30 """<p>Please send bug reports to <a href="mailto:{2}">{2}</a>.</p>""" |
30 """<p>Please send bug reports to <a href="mailto:{2}">{2}</a>.</p>""" |
31 """<p>To request a new feature please send an email to""" |
31 """<p>To request a new feature please send an email to""" |
32 """ <a href="mailto:{3}">{3}</a>.</p>""" |
32 """ <a href="mailto:{3}">{3}</a>.</p>""" |
33 """<p>{0} uses third party software which is copyrighted""" |
33 """<p>{0} uses third party software which is copyrighted""" |
34 """ by its respective copyright holder. For details see""" |
34 """ by its respective copyright holder. For details see""" |
35 """ the copyright notice of the individual package.</p>""" |
35 """ the copyright notice of the individual package.</p>""", |
36 ).format(UI.Info.Program, UI.Info.Homepage, UI.Info.BugAddress, |
36 ).format(UI.Info.Program, UI.Info.Homepage, UI.Info.BugAddress, UI.Info.FeatureAddress) |
37 UI.Info.FeatureAddress) |
37 |
38 |
38 authorsText = """ |
39 authorsText = ( |
|
40 """ |
|
41 Detlev Offenbach |
39 Detlev Offenbach |
42 Project Manager, Maintainer and German translation |
40 Project Manager, Maintainer and German translation |
43 |
41 |
44 Andrew Bushnell |
42 Andrew Bushnell |
45 Multithreaded debugger |
43 Multithreaded debugger |
731 an absolute waiver of all civil liability in connection with the |
726 an absolute waiver of all civil liability in connection with the |
732 Program, unless a warranty or assumption of liability accompanies a |
727 Program, unless a warranty or assumption of liability accompanies a |
733 copy of the Program in return for a fee. |
728 copy of the Program in return for a fee. |
734 |
729 |
735 END OF TERMS AND CONDITIONS |
730 END OF TERMS AND CONDITIONS |
736 """).format(UI.Info.Copyright) |
731 """ |
|
732 ).format(UI.Info.Copyright) |
737 |
733 |
738 |
734 |
739 class AboutDialog(QDialog, Ui_AboutDialog): |
735 class AboutDialog(QDialog, Ui_AboutDialog): |
740 """ |
736 """ |
741 Class implementing an 'About Eric' dialog. |
737 Class implementing an 'About Eric' dialog. |
742 """ |
738 """ |
|
739 |
743 def __init__(self, parent=None): |
740 def __init__(self, parent=None): |
744 """ |
741 """ |
745 Constructor |
742 Constructor |
746 |
743 |
747 @param parent reference to the parent widget (QWidget) |
744 @param parent reference to the parent widget (QWidget) |
748 """ |
745 """ |
749 super().__init__(parent) |
746 super().__init__(parent) |
750 self.setupUi(self) |
747 self.setupUi(self) |
751 self.setWindowFlags(Qt.WindowType.Window) |
748 self.setWindowFlags(Qt.WindowType.Window) |
752 |
749 |
753 self.ericLabel.setText(titleText) |
750 self.ericLabel.setText(titleText) |
754 self.ericPixmap.setPixmap( |
751 self.ericPixmap.setPixmap(UI.PixmapCache.getPixmap("eric").scaled(48, 48)) |
755 UI.PixmapCache.getPixmap("eric").scaled(48, 48)) |
752 |
756 |
|
757 #################################################################### |
753 #################################################################### |
758 ## ABOUT |
754 ## ABOUT |
759 #################################################################### |
755 #################################################################### |
760 |
756 |
761 self.aboutEdit.setHtml(aboutText) |
757 self.aboutEdit.setHtml(aboutText) |
762 |
758 |
763 #################################################################### |
759 #################################################################### |
764 ## Copyright, Authors |
760 ## Copyright, Authors |
765 #################################################################### |
761 #################################################################### |
766 |
762 |
767 self.authorsEdit.setPlainText(authorsText) |
763 self.authorsEdit.setPlainText(authorsText) |
768 |
764 |
769 #################################################################### |
765 #################################################################### |
770 ## THANKS |
766 ## THANKS |
771 #################################################################### |
767 #################################################################### |
772 |
768 |
773 self.thanksEdit.setPlainText(thanksText) |
769 self.thanksEdit.setPlainText(thanksText) |
774 |
770 |
775 #################################################################### |
771 #################################################################### |
776 ## LICENSE |
772 ## LICENSE |
777 #################################################################### |
773 #################################################################### |
778 |
774 |
779 font = Preferences.getEditorOtherFonts("MonospacedFont") |
775 font = Preferences.getEditorOtherFonts("MonospacedFont") |
780 self.licenseEdit.setFontFamily(font.family()) |
776 self.licenseEdit.setFontFamily(font.family()) |
781 self.licenseEdit.setFontPointSize(font.pointSize()) |
777 self.licenseEdit.setFontPointSize(font.pointSize()) |
782 |
778 |
783 self.licenseEdit.setPlainText(licenseText) |
779 self.licenseEdit.setPlainText(licenseText) |
784 |
780 |
785 self.aboutTabWidget.setCurrentWidget(self.about) |
781 self.aboutTabWidget.setCurrentWidget(self.about) |