eric7/Documentation/Source/eric7.Project.ProjectInterfacesBrowser.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Project.ProjectInterfacesBrowser</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Project.ProjectInterfacesBrowser</h1>
24
25 <p>
26 Module implementing the a class used to display the interfaces (IDL) part
27 of the project.
28 </p>
29 <h3>Global Attributes</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Classes</h3>
35
36 <table>
37
38 <tr>
39 <td><a href="#ProjectInterfacesBrowser">ProjectInterfacesBrowser</a></td>
40 <td>A class used to display the interfaces (IDL) part of the project.</td>
41 </tr>
42 </table>
43 <h3>Functions</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <hr />
49 <hr />
50 <a NAME="ProjectInterfacesBrowser" ID="ProjectInterfacesBrowser"></a>
51 <h2>ProjectInterfacesBrowser</h2>
52
53 <p>
54 A class used to display the interfaces (IDL) part of the project.
55 </p>
56 <h3>Signals</h3>
57 <dl>
58
59 <dt>appendStderr(str)</dt>
60 <dd>
61 emitted after something was received from
62 a QProcess on stderr
63 </dd>
64 <dt>appendStdout(str)</dt>
65 <dd>
66 emitted after something was received from
67 a QProcess on stdout
68 </dd>
69 <dt>showMenu(str, QMenu)</dt>
70 <dd>
71 emitted when a menu is about to be shown.
72 The name of the menu and a reference to the menu are given.
73 </dd>
74 </dl>
75 <h3>Derived from</h3>
76 ProjectBaseBrowser
77 <h3>Class Attributes</h3>
78
79 <table>
80 <tr><td>None</td></tr>
81 </table>
82 <h3>Class Methods</h3>
83
84 <table>
85 <tr><td>None</td></tr>
86 </table>
87 <h3>Methods</h3>
88
89 <table>
90
91 <tr>
92 <td><a href="#ProjectInterfacesBrowser.__init__">ProjectInterfacesBrowser</a></td>
93 <td>Constructor</td>
94 </tr>
95 <tr>
96 <td><a href="#ProjectInterfacesBrowser.__addInterfaceFiles">__addInterfaceFiles</a></td>
97 <td>Private method to add interface files to the project.</td>
98 </tr>
99 <tr>
100 <td><a href="#ProjectInterfacesBrowser.__addInterfacesDirectory">__addInterfacesDirectory</a></td>
101 <td>Private method to add interface files of a directory to the project.</td>
102 </tr>
103 <tr>
104 <td><a href="#ProjectInterfacesBrowser.__compileAllInterfaces">__compileAllInterfaces</a></td>
105 <td>Private method to compile all interfaces to python.</td>
106 </tr>
107 <tr>
108 <td><a href="#ProjectInterfacesBrowser.__compileIDL">__compileIDL</a></td>
109 <td>Private method to compile a .idl file to python.</td>
110 </tr>
111 <tr>
112 <td><a href="#ProjectInterfacesBrowser.__compileIDLDone">__compileIDLDone</a></td>
113 <td>Private slot to handle the finished signal of the omniidl process.</td>
114 </tr>
115 <tr>
116 <td><a href="#ProjectInterfacesBrowser.__compileInterface">__compileInterface</a></td>
117 <td>Private method to compile an interface to python.</td>
118 </tr>
119 <tr>
120 <td><a href="#ProjectInterfacesBrowser.__compileSelectedInterfaces">__compileSelectedInterfaces</a></td>
121 <td>Private method to compile selected interfaces to python.</td>
122 </tr>
123 <tr>
124 <td><a href="#ProjectInterfacesBrowser.__configureCorba">__configureCorba</a></td>
125 <td>Private method to open the configuration dialog.</td>
126 </tr>
127 <tr>
128 <td><a href="#ProjectInterfacesBrowser.__configureIdlCompiler">__configureIdlCompiler</a></td>
129 <td>Private method to show a dialog to configure some options for the IDL compiler.</td>
130 </tr>
131 <tr>
132 <td><a href="#ProjectInterfacesBrowser.__deleteFile">__deleteFile</a></td>
133 <td>Private method to delete files from the project.</td>
134 </tr>
135 <tr>
136 <td><a href="#ProjectInterfacesBrowser.__readStderr">__readStderr</a></td>
137 <td>Private slot to handle the readyReadStandardError signal of the omniidl process.</td>
138 </tr>
139 <tr>
140 <td><a href="#ProjectInterfacesBrowser.__readStdout">__readStdout</a></td>
141 <td>Private slot to handle the readyReadStandardOutput signal of the omniidl process.</td>
142 </tr>
143 <tr>
144 <td><a href="#ProjectInterfacesBrowser.__showContextMenu">__showContextMenu</a></td>
145 <td>Private slot called by the menu aboutToShow signal.</td>
146 </tr>
147 <tr>
148 <td><a href="#ProjectInterfacesBrowser.__showContextMenuBack">__showContextMenuBack</a></td>
149 <td>Private slot called by the backMenu aboutToShow signal.</td>
150 </tr>
151 <tr>
152 <td><a href="#ProjectInterfacesBrowser.__showContextMenuDir">__showContextMenuDir</a></td>
153 <td>Private slot called by the dirMenu aboutToShow signal.</td>
154 </tr>
155 <tr>
156 <td><a href="#ProjectInterfacesBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td>
157 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td>
158 </tr>
159 <tr>
160 <td><a href="#ProjectInterfacesBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td>
161 <td>Private slot called by the multiMenu aboutToShow signal.</td>
162 </tr>
163 <tr>
164 <td><a href="#ProjectInterfacesBrowser._contextMenuRequested">_contextMenuRequested</a></td>
165 <td>Protected slot to show the context menu.</td>
166 </tr>
167 <tr>
168 <td><a href="#ProjectInterfacesBrowser._createPopupMenus">_createPopupMenus</a></td>
169 <td>Protected overloaded method to generate the popup menu.</td>
170 </tr>
171 <tr>
172 <td><a href="#ProjectInterfacesBrowser._openItem">_openItem</a></td>
173 <td>Protected slot to handle the open popup menu entry.</td>
174 </tr>
175 </table>
176 <h3>Static Methods</h3>
177
178 <table>
179 <tr><td>None</td></tr>
180 </table>
181
182 <a NAME="ProjectInterfacesBrowser.__init__" ID="ProjectInterfacesBrowser.__init__"></a>
183 <h4>ProjectInterfacesBrowser (Constructor)</h4>
184 <b>ProjectInterfacesBrowser</b>(<i>project, parent=None</i>)
185
186 <p>
187 Constructor
188 </p>
189 <dl>
190
191 <dt><i>project</i></dt>
192 <dd>
193 reference to the project object
194 </dd>
195 <dt><i>parent</i></dt>
196 <dd>
197 parent widget of this browser (QWidget)
198 </dd>
199 </dl>
200 <a NAME="ProjectInterfacesBrowser.__addInterfaceFiles" ID="ProjectInterfacesBrowser.__addInterfaceFiles"></a>
201 <h4>ProjectInterfacesBrowser.__addInterfaceFiles</h4>
202 <b>__addInterfaceFiles</b>(<i></i>)
203
204 <p>
205 Private method to add interface files to the project.
206 </p>
207 <a NAME="ProjectInterfacesBrowser.__addInterfacesDirectory" ID="ProjectInterfacesBrowser.__addInterfacesDirectory"></a>
208 <h4>ProjectInterfacesBrowser.__addInterfacesDirectory</h4>
209 <b>__addInterfacesDirectory</b>(<i></i>)
210
211 <p>
212 Private method to add interface files of a directory to the project.
213 </p>
214 <a NAME="ProjectInterfacesBrowser.__compileAllInterfaces" ID="ProjectInterfacesBrowser.__compileAllInterfaces"></a>
215 <h4>ProjectInterfacesBrowser.__compileAllInterfaces</h4>
216 <b>__compileAllInterfaces</b>(<i></i>)
217
218 <p>
219 Private method to compile all interfaces to python.
220 </p>
221 <a NAME="ProjectInterfacesBrowser.__compileIDL" ID="ProjectInterfacesBrowser.__compileIDL"></a>
222 <h4>ProjectInterfacesBrowser.__compileIDL</h4>
223 <b>__compileIDL</b>(<i>fn, noDialog=False, progress=None</i>)
224
225 <p>
226 Private method to compile a .idl file to python.
227 </p>
228 <dl>
229
230 <dt><i>fn</i></dt>
231 <dd>
232 filename of the .idl file to be compiled (string)
233 </dd>
234 <dt><i>noDialog</i></dt>
235 <dd>
236 flag indicating silent operations (boolean)
237 </dd>
238 <dt><i>progress</i></dt>
239 <dd>
240 reference to the progress dialog (EricProgressDialog)
241 </dd>
242 </dl>
243 <dl>
244 <dt>Return:</dt>
245 <dd>
246 reference to the compile process (QProcess)
247 </dd>
248 </dl>
249 <a NAME="ProjectInterfacesBrowser.__compileIDLDone" ID="ProjectInterfacesBrowser.__compileIDLDone"></a>
250 <h4>ProjectInterfacesBrowser.__compileIDLDone</h4>
251 <b>__compileIDLDone</b>(<i>exitCode, exitStatus</i>)
252
253 <p>
254 Private slot to handle the finished signal of the omniidl process.
255 </p>
256 <dl>
257
258 <dt><i>exitCode</i></dt>
259 <dd>
260 exit code of the process (integer)
261 </dd>
262 <dt><i>exitStatus</i></dt>
263 <dd>
264 exit status of the process (QProcess.ExitStatus)
265 </dd>
266 </dl>
267 <a NAME="ProjectInterfacesBrowser.__compileInterface" ID="ProjectInterfacesBrowser.__compileInterface"></a>
268 <h4>ProjectInterfacesBrowser.__compileInterface</h4>
269 <b>__compileInterface</b>(<i></i>)
270
271 <p>
272 Private method to compile an interface to python.
273 </p>
274 <a NAME="ProjectInterfacesBrowser.__compileSelectedInterfaces" ID="ProjectInterfacesBrowser.__compileSelectedInterfaces"></a>
275 <h4>ProjectInterfacesBrowser.__compileSelectedInterfaces</h4>
276 <b>__compileSelectedInterfaces</b>(<i></i>)
277
278 <p>
279 Private method to compile selected interfaces to python.
280 </p>
281 <a NAME="ProjectInterfacesBrowser.__configureCorba" ID="ProjectInterfacesBrowser.__configureCorba"></a>
282 <h4>ProjectInterfacesBrowser.__configureCorba</h4>
283 <b>__configureCorba</b>(<i></i>)
284
285 <p>
286 Private method to open the configuration dialog.
287 </p>
288 <a NAME="ProjectInterfacesBrowser.__configureIdlCompiler" ID="ProjectInterfacesBrowser.__configureIdlCompiler"></a>
289 <h4>ProjectInterfacesBrowser.__configureIdlCompiler</h4>
290 <b>__configureIdlCompiler</b>(<i></i>)
291
292 <p>
293 Private method to show a dialog to configure some options for the
294 IDL compiler.
295 </p>
296 <a NAME="ProjectInterfacesBrowser.__deleteFile" ID="ProjectInterfacesBrowser.__deleteFile"></a>
297 <h4>ProjectInterfacesBrowser.__deleteFile</h4>
298 <b>__deleteFile</b>(<i></i>)
299
300 <p>
301 Private method to delete files from the project.
302 </p>
303 <a NAME="ProjectInterfacesBrowser.__readStderr" ID="ProjectInterfacesBrowser.__readStderr"></a>
304 <h4>ProjectInterfacesBrowser.__readStderr</h4>
305 <b>__readStderr</b>(<i></i>)
306
307 <p>
308 Private slot to handle the readyReadStandardError signal of the
309 omniidl process.
310 </p>
311 <a NAME="ProjectInterfacesBrowser.__readStdout" ID="ProjectInterfacesBrowser.__readStdout"></a>
312 <h4>ProjectInterfacesBrowser.__readStdout</h4>
313 <b>__readStdout</b>(<i></i>)
314
315 <p>
316 Private slot to handle the readyReadStandardOutput signal of the
317 omniidl process.
318 </p>
319 <a NAME="ProjectInterfacesBrowser.__showContextMenu" ID="ProjectInterfacesBrowser.__showContextMenu"></a>
320 <h4>ProjectInterfacesBrowser.__showContextMenu</h4>
321 <b>__showContextMenu</b>(<i></i>)
322
323 <p>
324 Private slot called by the menu aboutToShow signal.
325 </p>
326 <a NAME="ProjectInterfacesBrowser.__showContextMenuBack" ID="ProjectInterfacesBrowser.__showContextMenuBack"></a>
327 <h4>ProjectInterfacesBrowser.__showContextMenuBack</h4>
328 <b>__showContextMenuBack</b>(<i></i>)
329
330 <p>
331 Private slot called by the backMenu aboutToShow signal.
332 </p>
333 <a NAME="ProjectInterfacesBrowser.__showContextMenuDir" ID="ProjectInterfacesBrowser.__showContextMenuDir"></a>
334 <h4>ProjectInterfacesBrowser.__showContextMenuDir</h4>
335 <b>__showContextMenuDir</b>(<i></i>)
336
337 <p>
338 Private slot called by the dirMenu aboutToShow signal.
339 </p>
340 <a NAME="ProjectInterfacesBrowser.__showContextMenuDirMulti" ID="ProjectInterfacesBrowser.__showContextMenuDirMulti"></a>
341 <h4>ProjectInterfacesBrowser.__showContextMenuDirMulti</h4>
342 <b>__showContextMenuDirMulti</b>(<i></i>)
343
344 <p>
345 Private slot called by the dirMultiMenu aboutToShow signal.
346 </p>
347 <a NAME="ProjectInterfacesBrowser.__showContextMenuMulti" ID="ProjectInterfacesBrowser.__showContextMenuMulti"></a>
348 <h4>ProjectInterfacesBrowser.__showContextMenuMulti</h4>
349 <b>__showContextMenuMulti</b>(<i></i>)
350
351 <p>
352 Private slot called by the multiMenu aboutToShow signal.
353 </p>
354 <a NAME="ProjectInterfacesBrowser._contextMenuRequested" ID="ProjectInterfacesBrowser._contextMenuRequested"></a>
355 <h4>ProjectInterfacesBrowser._contextMenuRequested</h4>
356 <b>_contextMenuRequested</b>(<i>coord</i>)
357
358 <p>
359 Protected slot to show the context menu.
360 </p>
361 <dl>
362
363 <dt><i>coord</i></dt>
364 <dd>
365 the position of the mouse pointer (QPoint)
366 </dd>
367 </dl>
368 <a NAME="ProjectInterfacesBrowser._createPopupMenus" ID="ProjectInterfacesBrowser._createPopupMenus"></a>
369 <h4>ProjectInterfacesBrowser._createPopupMenus</h4>
370 <b>_createPopupMenus</b>(<i></i>)
371
372 <p>
373 Protected overloaded method to generate the popup menu.
374 </p>
375 <a NAME="ProjectInterfacesBrowser._openItem" ID="ProjectInterfacesBrowser._openItem"></a>
376 <h4>ProjectInterfacesBrowser._openItem</h4>
377 <b>_openItem</b>(<i></i>)
378
379 <p>
380 Protected slot to handle the open popup menu entry.
381 </p>
382 <div align="right"><a href="#top">Up</a></div>
383 <hr />
384 </body></html>

eric ide

mercurial