5 |
5 |
6 """ |
6 """ |
7 Module implementing an 'About Eric' dialog. |
7 Module implementing an 'About Eric' dialog. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt4.QtGui import QApplication |
10 from PyQt4.QtGui import QApplication, QDialog |
11 |
11 |
12 from UI.Info import * |
12 from .Ui_AboutDialog import Ui_AboutDialog |
13 |
13 |
14 import Utilities |
14 import Utilities |
15 |
15 |
16 |
16 import UI.PixmapCache |
17 titleText = "<b>{0} - {1}</b>".format(Program, Version) |
17 import UI.Info |
|
18 |
|
19 |
|
20 titleText = "<b>{0} - {1}</b>".format(UI.Info.Program, UI.Info.Version) |
18 |
21 |
19 aboutText = QApplication.translate("AboutDialog", |
22 aboutText = QApplication.translate("AboutDialog", |
20 """<p>{0} is an Integrated Development Environment for the Python""" |
23 """<p>{0} is an Integrated Development Environment for the Python""" |
21 """ programming language. It is written using the PyQt Python bindings for""" |
24 """ programming language. It is written using the PyQt Python bindings for""" |
22 """ the Qt GUI toolkit and the QScintilla editor widget.</p>""" |
25 """ the Qt GUI toolkit and the QScintilla editor widget.</p>""" |
26 """<p>To request a new feature please send an email to""" |
29 """<p>To request a new feature please send an email to""" |
27 """ <a href="mailto:{3}">{3}</a>.</p>""" |
30 """ <a href="mailto:{3}">{3}</a>.</p>""" |
28 """<p>{0} uses third party software which is copyrighted""" |
31 """<p>{0} uses third party software which is copyrighted""" |
29 """ by it's respective copyright holder. For details see""" |
32 """ by it's respective copyright holder. For details see""" |
30 """ the copyright notice of the individual package.</p>""" |
33 """ the copyright notice of the individual package.</p>""" |
31 ).format(Program, Homepage, BugAddress, FeatureAddress) |
34 ).format(UI.Info.Program, UI.Info.Homepage, UI.Info.BugAddress, UI.Info.FeatureAddress) |
32 |
35 |
33 authorsText = \ |
36 authorsText = \ |
34 """\ |
37 """\ |
35 Detlev Offenbach |
38 Detlev Offenbach |
36 Project Manager, Maintainer and German translation |
39 Project Manager, Maintainer and German translation |
717 reviewing courts shall apply local law that most closely approximates |
720 reviewing courts shall apply local law that most closely approximates |
718 an absolute waiver of all civil liability in connection with the |
721 an absolute waiver of all civil liability in connection with the |
719 Program, unless a warranty or assumption of liability accompanies a |
722 Program, unless a warranty or assumption of liability accompanies a |
720 copy of the Program in return for a fee. |
723 copy of the Program in return for a fee. |
721 |
724 |
722 END OF TERMS AND CONDITIONS""".format(Copyright) |
725 END OF TERMS AND CONDITIONS""".format(UI.Info.Copyright) |
723 |
|
724 |
|
725 from PyQt4.QtGui import * |
|
726 from PyQt4.QtCore import * |
|
727 |
|
728 import UI.PixmapCache |
|
729 |
|
730 from .Ui_AboutDialog import Ui_AboutDialog |
|
731 |
726 |
732 |
727 |
733 class AboutDialog(QDialog, Ui_AboutDialog): |
728 class AboutDialog(QDialog, Ui_AboutDialog): |
734 """ |
729 """ |
735 Class implementing an 'About Eric' dialog. |
730 Class implementing an 'About Eric' dialog. |