13 from PyQt4.QtGui import QDialog, QApplication |
13 from PyQt4.QtGui import QDialog, QApplication |
14 |
14 |
15 from E5Gui.E5Application import e5App |
15 from E5Gui.E5Application import e5App |
16 |
16 |
17 from E5Gui.E5Action import E5Action |
17 from E5Gui.E5Action import E5Action |
18 |
|
19 from DocumentationPlugins.Ericapi.EricapiConfigDialog import EricapiConfigDialog |
|
20 from DocumentationPlugins.Ericapi.EricapiExecDialog import EricapiExecDialog |
|
21 |
18 |
22 import Utilities |
19 import Utilities |
23 |
20 |
24 from eric5config import getConfig |
21 from eric5config import getConfig |
25 |
22 |
156 # add parameter for the eol setting |
154 # add parameter for the eol setting |
157 if not project.useSystemEol(): |
155 if not project.useSystemEol(): |
158 args.append("--eol={0}".format(eolTranslation[project.getEolString()])) |
156 args.append("--eol={0}".format(eolTranslation[project.getEolString()])) |
159 |
157 |
160 # now do the call |
158 # now do the call |
|
159 from DocumentationPlugins.Ericapi.EricapiExecDialog import EricapiExecDialog |
161 dia = EricapiExecDialog("Ericapi") |
160 dia = EricapiExecDialog("Ericapi") |
162 res = dia.start(args, project.ppath) |
161 res = dia.start(args, project.ppath) |
163 if res: |
162 if res: |
164 dia.exec_() |
163 dia.exec_() |
165 |
164 |