Plugins/AboutPlugin/AboutDialog.py

changeset 3656
441956d8fce5
parent 3178
f25fc1364c88
child 3670
f0cb7579c0b4
equal deleted inserted replaced
3654:ffeb85cdc72d 3656:441956d8fce5
7 Module implementing an 'About Eric' dialog. 7 Module implementing an 'About Eric' dialog.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt4.QtGui import QApplication, QDialog 12 from PyQt5.QtCore import QCoreApplication
13 from PyQt5.QtWidgets import QDialog
13 14
14 from .Ui_AboutDialog import Ui_AboutDialog 15 from .Ui_AboutDialog import Ui_AboutDialog
15 16
16 import Preferences 17 import Preferences
17 18
19 import UI.Info 20 import UI.Info
20 21
21 22
22 titleText = "<b>{0} - {1}</b>".format(UI.Info.Program, UI.Info.Version) 23 titleText = "<b>{0} - {1}</b>".format(UI.Info.Program, UI.Info.Version)
23 24
24 aboutText = QApplication.translate( 25 aboutText = QCoreApplication.translate(
25 "AboutDialog", 26 "AboutDialog",
26 """<p>{0} is an Integrated Development Environment for the Python""" 27 """<p>{0} is an Integrated Development Environment for the Python"""
27 """ programming language. It is written using the PyQt Python bindings""" 28 """ programming language. It is written using the PyQt Python bindings"""
28 """ for the Qt GUI toolkit and the QScintilla editor widget.</p>""" 29 """ for the Qt GUI toolkit and the QScintilla editor widget.</p>"""
29 """<p>For more information see""" 30 """<p>For more information see"""

eric ide

mercurial