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 = "EricMessageBox Wizard Plugin" |
19 name = "EricMessageBox Wizard Plugin" |
21 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
20 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
104 Private method to display a dialog and get the code. |
103 Private method to display a dialog and get the code. |
105 |
104 |
106 @param editor reference to the current editor |
105 @param editor reference to the current editor |
107 @return the generated code (string) |
106 @return the generated code (string) |
108 """ |
107 """ |
109 from eric7.Plugins.WizardPlugins.EricMessageBoxWizard.EricMessageBoxWizardDialog import ( |
108 from eric7.Plugins.WizardPlugins.EricMessageBoxWizard.EricMessageBoxWizardDialog import ( # __IGNORE_WARNING__ |
110 # __IGNORE_WARNING__ |
|
111 EricMessageBoxWizardDialog, |
109 EricMessageBoxWizardDialog, |
112 ) |
110 ) |
113 |
111 |
114 dlg = EricMessageBoxWizardDialog(None) |
112 dlg = EricMessageBoxWizardDialog(None) |
115 if dlg.exec() == QDialog.DialogCode.Accepted: |
113 if dlg.exec() == QDialog.DialogCode.Accepted: |