14 from eric7.EricWidgets import EricMessageBox |
14 from eric7.EricWidgets import EricMessageBox |
15 from eric7.EricWidgets.EricApplication import ericApp |
15 from eric7.EricWidgets.EricApplication import ericApp |
16 from eric7.UI import Info |
16 from eric7.UI import Info |
17 |
17 |
18 # Start-of-Header |
18 # Start-of-Header |
19 name = ".desktop Wizard Plug-in" |
19 __header__ = { |
20 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
20 "name": ".desktop Wizard Plug-in", |
21 autoactivate = True |
21 "author": "Detlev Offenbach <detlev@die-offenbachs.de>", |
22 deactivateable = True |
22 "autoactivate": True, |
23 version = Info.VersionOnly |
23 "deactivateable": True, |
24 className = "DotDesktopWizard" |
24 "version": Info.VersionOnly, |
25 packageName = "__core__" |
25 "className": "DotDesktopWizard", |
26 shortDescription = "Wizard for the creation of a .desktop file." |
26 "packageName": "__core__", |
27 longDescription = ( |
27 "shortDescription": "Wizard for the creation of a .desktop file.", |
28 """This plug-in implements a wizard to generate code for a .desktop file.""" |
28 "longDescription": ( |
29 ) |
29 """This plug-in implements a wizard to generate code for a .desktop file.""" |
30 needsRestart = False |
30 ), |
31 pyqtApi = 2 |
31 "needsRestart": False, |
|
32 "pyqtApi": 2, |
|
33 } |
32 # End-of-Header |
34 # End-of-Header |
33 |
35 |
34 error = "" |
36 error = "" # noqa: U200 |
35 |
37 |
36 |
38 |
37 class DotDesktopWizard(QObject): |
39 class DotDesktopWizard(QObject): |
38 """ |
40 """ |
39 Class implementing the .desktop wizard plug-in. |
41 Class implementing the .desktop wizard plug-in. |