|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Project.ProjectInterfacesBrowser</h1> |
|
23 <p> |
|
24 Module implementing the a class used to display the interfaces (IDL) part |
|
25 of the project. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#ProjectInterfacesBrowser">ProjectInterfacesBrowser</a></td> |
|
35 <td>A class used to display the interfaces (IDL) part of the project.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="ProjectInterfacesBrowser" ID="ProjectInterfacesBrowser"></a> |
|
44 <h2>ProjectInterfacesBrowser</h2> |
|
45 <p> |
|
46 A class used to display the interfaces (IDL) part of the project. |
|
47 </p><h3>Signals</h3> |
|
48 <dl> |
|
49 <dt>appendStderr(str)</dt> |
|
50 <dd> |
|
51 emitted after something was received from |
|
52 a QProcess on stderr |
|
53 </dd><dt>appendStdout(str)</dt> |
|
54 <dd> |
|
55 emitted after something was received from |
|
56 a QProcess on stdout |
|
57 </dd><dt>showMenu(str, QMenu)</dt> |
|
58 <dd> |
|
59 emitted when a menu is about to be shown. |
|
60 The name of the menu and a reference to the menu are given. |
|
61 </dd> |
|
62 </dl> |
|
63 <h3>Derived from</h3> |
|
64 ProjectBaseBrowser |
|
65 <h3>Class Attributes</h3> |
|
66 <table> |
|
67 <tr><td>None</td></tr> |
|
68 </table> |
|
69 <h3>Class Methods</h3> |
|
70 <table> |
|
71 <tr><td>None</td></tr> |
|
72 </table> |
|
73 <h3>Methods</h3> |
|
74 <table> |
|
75 <tr> |
|
76 <td><a href="#ProjectInterfacesBrowser.__init__">ProjectInterfacesBrowser</a></td> |
|
77 <td>Constructor</td> |
|
78 </tr><tr> |
|
79 <td><a href="#ProjectInterfacesBrowser.__addInterfaceFiles">__addInterfaceFiles</a></td> |
|
80 <td>Private method to add interface files to the project.</td> |
|
81 </tr><tr> |
|
82 <td><a href="#ProjectInterfacesBrowser.__addInterfacesDirectory">__addInterfacesDirectory</a></td> |
|
83 <td>Private method to add interface files of a directory to the project.</td> |
|
84 </tr><tr> |
|
85 <td><a href="#ProjectInterfacesBrowser.__compileAllInterfaces">__compileAllInterfaces</a></td> |
|
86 <td>Private method to compile all interfaces to python.</td> |
|
87 </tr><tr> |
|
88 <td><a href="#ProjectInterfacesBrowser.__compileIDL">__compileIDL</a></td> |
|
89 <td>Private method to compile a .idl file to python.</td> |
|
90 </tr><tr> |
|
91 <td><a href="#ProjectInterfacesBrowser.__compileIDLDone">__compileIDLDone</a></td> |
|
92 <td>Private slot to handle the finished signal of the omniidl process.</td> |
|
93 </tr><tr> |
|
94 <td><a href="#ProjectInterfacesBrowser.__compileInterface">__compileInterface</a></td> |
|
95 <td>Private method to compile an interface to python.</td> |
|
96 </tr><tr> |
|
97 <td><a href="#ProjectInterfacesBrowser.__compileSelectedInterfaces">__compileSelectedInterfaces</a></td> |
|
98 <td>Private method to compile selected interfaces to python.</td> |
|
99 </tr><tr> |
|
100 <td><a href="#ProjectInterfacesBrowser.__configureCorba">__configureCorba</a></td> |
|
101 <td>Private method to open the configuration dialog.</td> |
|
102 </tr><tr> |
|
103 <td><a href="#ProjectInterfacesBrowser.__configureIdlCompiler">__configureIdlCompiler</a></td> |
|
104 <td>Private method to show a dialog to configure some options for the IDL compiler.</td> |
|
105 </tr><tr> |
|
106 <td><a href="#ProjectInterfacesBrowser.__deleteFile">__deleteFile</a></td> |
|
107 <td>Private method to delete files from the project.</td> |
|
108 </tr><tr> |
|
109 <td><a href="#ProjectInterfacesBrowser.__readStderr">__readStderr</a></td> |
|
110 <td>Private slot to handle the readyReadStandardError signal of the omniidl process.</td> |
|
111 </tr><tr> |
|
112 <td><a href="#ProjectInterfacesBrowser.__readStdout">__readStdout</a></td> |
|
113 <td>Private slot to handle the readyReadStandardOutput signal of the omniidl process.</td> |
|
114 </tr><tr> |
|
115 <td><a href="#ProjectInterfacesBrowser.__showContextMenu">__showContextMenu</a></td> |
|
116 <td>Private slot called by the menu aboutToShow signal.</td> |
|
117 </tr><tr> |
|
118 <td><a href="#ProjectInterfacesBrowser.__showContextMenuBack">__showContextMenuBack</a></td> |
|
119 <td>Private slot called by the backMenu aboutToShow signal.</td> |
|
120 </tr><tr> |
|
121 <td><a href="#ProjectInterfacesBrowser.__showContextMenuDir">__showContextMenuDir</a></td> |
|
122 <td>Private slot called by the dirMenu aboutToShow signal.</td> |
|
123 </tr><tr> |
|
124 <td><a href="#ProjectInterfacesBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td> |
|
125 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td> |
|
126 </tr><tr> |
|
127 <td><a href="#ProjectInterfacesBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> |
|
128 <td>Private slot called by the multiMenu aboutToShow signal.</td> |
|
129 </tr><tr> |
|
130 <td><a href="#ProjectInterfacesBrowser._contextMenuRequested">_contextMenuRequested</a></td> |
|
131 <td>Protected slot to show the context menu.</td> |
|
132 </tr><tr> |
|
133 <td><a href="#ProjectInterfacesBrowser._createPopupMenus">_createPopupMenus</a></td> |
|
134 <td>Protected overloaded method to generate the popup menu.</td> |
|
135 </tr><tr> |
|
136 <td><a href="#ProjectInterfacesBrowser._openItem">_openItem</a></td> |
|
137 <td>Protected slot to handle the open popup menu entry.</td> |
|
138 </tr> |
|
139 </table> |
|
140 <h3>Static Methods</h3> |
|
141 <table> |
|
142 <tr><td>None</td></tr> |
|
143 </table> |
|
144 <a NAME="ProjectInterfacesBrowser.__init__" ID="ProjectInterfacesBrowser.__init__"></a> |
|
145 <h4>ProjectInterfacesBrowser (Constructor)</h4> |
|
146 <b>ProjectInterfacesBrowser</b>(<i>project, parent=None</i>) |
|
147 <p> |
|
148 Constructor |
|
149 </p><dl> |
|
150 <dt><i>project</i></dt> |
|
151 <dd> |
|
152 reference to the project object |
|
153 </dd><dt><i>parent</i></dt> |
|
154 <dd> |
|
155 parent widget of this browser (QWidget) |
|
156 </dd> |
|
157 </dl><a NAME="ProjectInterfacesBrowser.__addInterfaceFiles" ID="ProjectInterfacesBrowser.__addInterfaceFiles"></a> |
|
158 <h4>ProjectInterfacesBrowser.__addInterfaceFiles</h4> |
|
159 <b>__addInterfaceFiles</b>(<i></i>) |
|
160 <p> |
|
161 Private method to add interface files to the project. |
|
162 </p><a NAME="ProjectInterfacesBrowser.__addInterfacesDirectory" ID="ProjectInterfacesBrowser.__addInterfacesDirectory"></a> |
|
163 <h4>ProjectInterfacesBrowser.__addInterfacesDirectory</h4> |
|
164 <b>__addInterfacesDirectory</b>(<i></i>) |
|
165 <p> |
|
166 Private method to add interface files of a directory to the project. |
|
167 </p><a NAME="ProjectInterfacesBrowser.__compileAllInterfaces" ID="ProjectInterfacesBrowser.__compileAllInterfaces"></a> |
|
168 <h4>ProjectInterfacesBrowser.__compileAllInterfaces</h4> |
|
169 <b>__compileAllInterfaces</b>(<i></i>) |
|
170 <p> |
|
171 Private method to compile all interfaces to python. |
|
172 </p><a NAME="ProjectInterfacesBrowser.__compileIDL" ID="ProjectInterfacesBrowser.__compileIDL"></a> |
|
173 <h4>ProjectInterfacesBrowser.__compileIDL</h4> |
|
174 <b>__compileIDL</b>(<i>fn, noDialog=False, progress=None</i>) |
|
175 <p> |
|
176 Private method to compile a .idl file to python. |
|
177 </p><dl> |
|
178 <dt><i>fn</i></dt> |
|
179 <dd> |
|
180 filename of the .idl file to be compiled (string) |
|
181 </dd><dt><i>noDialog</i></dt> |
|
182 <dd> |
|
183 flag indicating silent operations (boolean) |
|
184 </dd><dt><i>progress</i></dt> |
|
185 <dd> |
|
186 reference to the progress dialog (E5ProgressDialog) |
|
187 </dd> |
|
188 </dl><dl> |
|
189 <dt>Returns:</dt> |
|
190 <dd> |
|
191 reference to the compile process (QProcess) |
|
192 </dd> |
|
193 </dl><a NAME="ProjectInterfacesBrowser.__compileIDLDone" ID="ProjectInterfacesBrowser.__compileIDLDone"></a> |
|
194 <h4>ProjectInterfacesBrowser.__compileIDLDone</h4> |
|
195 <b>__compileIDLDone</b>(<i>exitCode, exitStatus</i>) |
|
196 <p> |
|
197 Private slot to handle the finished signal of the omniidl process. |
|
198 </p><dl> |
|
199 <dt><i>exitCode</i></dt> |
|
200 <dd> |
|
201 exit code of the process (integer) |
|
202 </dd><dt><i>exitStatus</i></dt> |
|
203 <dd> |
|
204 exit status of the process (QProcess.ExitStatus) |
|
205 </dd> |
|
206 </dl><a NAME="ProjectInterfacesBrowser.__compileInterface" ID="ProjectInterfacesBrowser.__compileInterface"></a> |
|
207 <h4>ProjectInterfacesBrowser.__compileInterface</h4> |
|
208 <b>__compileInterface</b>(<i></i>) |
|
209 <p> |
|
210 Private method to compile an interface to python. |
|
211 </p><a NAME="ProjectInterfacesBrowser.__compileSelectedInterfaces" ID="ProjectInterfacesBrowser.__compileSelectedInterfaces"></a> |
|
212 <h4>ProjectInterfacesBrowser.__compileSelectedInterfaces</h4> |
|
213 <b>__compileSelectedInterfaces</b>(<i></i>) |
|
214 <p> |
|
215 Private method to compile selected interfaces to python. |
|
216 </p><a NAME="ProjectInterfacesBrowser.__configureCorba" ID="ProjectInterfacesBrowser.__configureCorba"></a> |
|
217 <h4>ProjectInterfacesBrowser.__configureCorba</h4> |
|
218 <b>__configureCorba</b>(<i></i>) |
|
219 <p> |
|
220 Private method to open the configuration dialog. |
|
221 </p><a NAME="ProjectInterfacesBrowser.__configureIdlCompiler" ID="ProjectInterfacesBrowser.__configureIdlCompiler"></a> |
|
222 <h4>ProjectInterfacesBrowser.__configureIdlCompiler</h4> |
|
223 <b>__configureIdlCompiler</b>(<i></i>) |
|
224 <p> |
|
225 Private method to show a dialog to configure some options for the |
|
226 IDL compiler. |
|
227 </p><a NAME="ProjectInterfacesBrowser.__deleteFile" ID="ProjectInterfacesBrowser.__deleteFile"></a> |
|
228 <h4>ProjectInterfacesBrowser.__deleteFile</h4> |
|
229 <b>__deleteFile</b>(<i></i>) |
|
230 <p> |
|
231 Private method to delete files from the project. |
|
232 </p><a NAME="ProjectInterfacesBrowser.__readStderr" ID="ProjectInterfacesBrowser.__readStderr"></a> |
|
233 <h4>ProjectInterfacesBrowser.__readStderr</h4> |
|
234 <b>__readStderr</b>(<i></i>) |
|
235 <p> |
|
236 Private slot to handle the readyReadStandardError signal of the |
|
237 omniidl process. |
|
238 </p><a NAME="ProjectInterfacesBrowser.__readStdout" ID="ProjectInterfacesBrowser.__readStdout"></a> |
|
239 <h4>ProjectInterfacesBrowser.__readStdout</h4> |
|
240 <b>__readStdout</b>(<i></i>) |
|
241 <p> |
|
242 Private slot to handle the readyReadStandardOutput signal of the |
|
243 omniidl process. |
|
244 </p><a NAME="ProjectInterfacesBrowser.__showContextMenu" ID="ProjectInterfacesBrowser.__showContextMenu"></a> |
|
245 <h4>ProjectInterfacesBrowser.__showContextMenu</h4> |
|
246 <b>__showContextMenu</b>(<i></i>) |
|
247 <p> |
|
248 Private slot called by the menu aboutToShow signal. |
|
249 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuBack" ID="ProjectInterfacesBrowser.__showContextMenuBack"></a> |
|
250 <h4>ProjectInterfacesBrowser.__showContextMenuBack</h4> |
|
251 <b>__showContextMenuBack</b>(<i></i>) |
|
252 <p> |
|
253 Private slot called by the backMenu aboutToShow signal. |
|
254 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuDir" ID="ProjectInterfacesBrowser.__showContextMenuDir"></a> |
|
255 <h4>ProjectInterfacesBrowser.__showContextMenuDir</h4> |
|
256 <b>__showContextMenuDir</b>(<i></i>) |
|
257 <p> |
|
258 Private slot called by the dirMenu aboutToShow signal. |
|
259 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuDirMulti" ID="ProjectInterfacesBrowser.__showContextMenuDirMulti"></a> |
|
260 <h4>ProjectInterfacesBrowser.__showContextMenuDirMulti</h4> |
|
261 <b>__showContextMenuDirMulti</b>(<i></i>) |
|
262 <p> |
|
263 Private slot called by the dirMultiMenu aboutToShow signal. |
|
264 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuMulti" ID="ProjectInterfacesBrowser.__showContextMenuMulti"></a> |
|
265 <h4>ProjectInterfacesBrowser.__showContextMenuMulti</h4> |
|
266 <b>__showContextMenuMulti</b>(<i></i>) |
|
267 <p> |
|
268 Private slot called by the multiMenu aboutToShow signal. |
|
269 </p><a NAME="ProjectInterfacesBrowser._contextMenuRequested" ID="ProjectInterfacesBrowser._contextMenuRequested"></a> |
|
270 <h4>ProjectInterfacesBrowser._contextMenuRequested</h4> |
|
271 <b>_contextMenuRequested</b>(<i>coord</i>) |
|
272 <p> |
|
273 Protected slot to show the context menu. |
|
274 </p><dl> |
|
275 <dt><i>coord</i></dt> |
|
276 <dd> |
|
277 the position of the mouse pointer (QPoint) |
|
278 </dd> |
|
279 </dl><a NAME="ProjectInterfacesBrowser._createPopupMenus" ID="ProjectInterfacesBrowser._createPopupMenus"></a> |
|
280 <h4>ProjectInterfacesBrowser._createPopupMenus</h4> |
|
281 <b>_createPopupMenus</b>(<i></i>) |
|
282 <p> |
|
283 Protected overloaded method to generate the popup menu. |
|
284 </p><a NAME="ProjectInterfacesBrowser._openItem" ID="ProjectInterfacesBrowser._openItem"></a> |
|
285 <h4>ProjectInterfacesBrowser._openItem</h4> |
|
286 <b>_openItem</b>(<i></i>) |
|
287 <p> |
|
288 Protected slot to handle the open popup menu entry. |
|
289 </p> |
|
290 <div align="right"><a href="#top">Up</a></div> |
|
291 <hr /> |
|
292 </body></html> |