8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import QObject |
10 from PyQt6.QtCore import QObject |
11 from PyQt6.QtWidgets import QDialog |
11 from PyQt6.QtWidgets import QDialog |
12 |
12 |
13 from eric7.EricWidgets.EricApplication import ericApp |
|
14 from eric7.EricGui.EricAction import EricAction |
13 from eric7.EricGui.EricAction import EricAction |
15 from eric7.EricWidgets import EricMessageBox |
14 from eric7.EricWidgets import EricMessageBox |
16 |
15 from eric7.EricWidgets.EricApplication import ericApp |
17 from eric7.UI import Info |
16 from eric7.UI import Info |
18 |
17 |
19 # Start-of-Header |
18 # Start-of-Header |
20 name = ".desktop Wizard Plug-in" |
19 name = ".desktop Wizard Plug-in" |
21 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
20 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
135 ) |
134 ) |
136 if not ok: |
135 if not ok: |
137 ericApp().getObject("ViewManager").newEditor() |
136 ericApp().getObject("ViewManager").newEditor() |
138 editor = ericApp().getObject("ViewManager").activeWindow() |
137 editor = ericApp().getObject("ViewManager").activeWindow() |
139 |
138 |
140 from eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog import ( |
139 from eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog import ( # __IGNORE_WARNING__ |
141 # __IGNORE_WARNING__ |
|
142 DotDesktopWizardDialog, |
140 DotDesktopWizardDialog, |
143 ) |
141 ) |
144 |
142 |
145 dlg = DotDesktopWizardDialog(None) |
143 dlg = DotDesktopWizardDialog(None) |
146 if dlg.exec() == QDialog.DialogCode.Accepted: |
144 if dlg.exec() == QDialog.DialogCode.Accepted: |