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