10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 |
11 |
12 import os |
12 import os |
13 import json |
13 import json |
14 |
14 |
15 from PyQt4.QtCore import QObject, QTranslator, QCoreApplication |
15 from PyQt5.QtCore import QObject, QTranslator, QCoreApplication |
16 from PyQt4.QtGui import QAction, QMenu |
16 from PyQt5.QtWidgets import QAction, QMenu |
17 |
17 |
18 from E5Gui.E5Application import e5App |
18 from E5Gui.E5Application import e5App |
19 |
19 |
20 import Preferences |
20 import Preferences |
21 |
21 |
22 # Start-Of-Header |
22 # Start-Of-Header |
23 name = "Selection Encloser Plug-in" |
23 name = "Selection Encloser Plug-in" |
24 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
24 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
25 autoactivate = True |
25 autoactivate = True |
26 deactivateable = True |
26 deactivateable = True |
27 version = "1.0.0" |
27 version = "2.0.0" |
28 className = "SelectionEncloserPlugin" |
28 className = "SelectionEncloserPlugin" |
29 packageName = "SelectionEncloser" |
29 packageName = "SelectionEncloser" |
30 shortDescription = "Enclose the selection with a string." |
30 shortDescription = "Enclose the selection with a string." |
31 longDescription = \ |
31 longDescription = \ |
32 """This plug-in implements a tool to enclose the selection of""" \ |
32 """This plug-in implements a tool to enclose the selection of""" \ |