Documentation/Source/eric4.Project.ProjectInterfacesBrowser.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
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>eric4.Project.ProjectInterfacesBrowser</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.Project.ProjectInterfacesBrowser</h1>
24 <p>
25 Module implementing the a class used to display the interfaces (IDL) part 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><h4>Signals</h4>
48 <dl>
49 <dt>appendStderr(string)</dt>
50 <dd>
51 emitted after something was received from
52 a QProcess on stderr
53 </dd><dt>appendStdout(string)</dt>
54 <dd>
55 emitted after something was received from
56 a QProcess on stdout
57 </dd><dt>closeSourceWindow(string)</dt>
58 <dd>
59 emitted after a file has been removed/deleted
60 from the project
61 </dd><dt>showMenu(string, QMenu)</dt>
62 <dd>
63 emitted when a menu is about to be shown. The name
64 of the menu and a reference to the menu are given.
65 </dd>
66 </dl>
67 <h3>Derived from</h3>
68 ProjectBaseBrowser
69 <h3>Class Attributes</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>Privat 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.__deleteFile">__deleteFile</a></td>
104 <td>Private method to delete files from the project.</td>
105 </tr><tr>
106 <td><a href="#ProjectInterfacesBrowser.__readStderr">__readStderr</a></td>
107 <td>Private slot to handle the readyReadStandardError signal of the omniidl process.</td>
108 </tr><tr>
109 <td><a href="#ProjectInterfacesBrowser.__readStdout">__readStdout</a></td>
110 <td>Private slot to handle the readyReadStandardOutput signal of the omniidl process.</td>
111 </tr><tr>
112 <td><a href="#ProjectInterfacesBrowser.__showContextMenu">__showContextMenu</a></td>
113 <td>Private slot called by the menu aboutToShow signal.</td>
114 </tr><tr>
115 <td><a href="#ProjectInterfacesBrowser.__showContextMenuBack">__showContextMenuBack</a></td>
116 <td>Private slot called by the backMenu aboutToShow signal.</td>
117 </tr><tr>
118 <td><a href="#ProjectInterfacesBrowser.__showContextMenuDir">__showContextMenuDir</a></td>
119 <td>Private slot called by the dirMenu aboutToShow signal.</td>
120 </tr><tr>
121 <td><a href="#ProjectInterfacesBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td>
122 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td>
123 </tr><tr>
124 <td><a href="#ProjectInterfacesBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td>
125 <td>Private slot called by the multiMenu aboutToShow signal.</td>
126 </tr><tr>
127 <td><a href="#ProjectInterfacesBrowser._contextMenuRequested">_contextMenuRequested</a></td>
128 <td>Protected slot to show the context menu.</td>
129 </tr><tr>
130 <td><a href="#ProjectInterfacesBrowser._createPopupMenus">_createPopupMenus</a></td>
131 <td>Protected overloaded method to generate the popup menu.</td>
132 </tr><tr>
133 <td><a href="#ProjectInterfacesBrowser._openItem">_openItem</a></td>
134 <td>Protected slot to handle the open popup menu entry.</td>
135 </tr>
136 </table>
137 <a NAME="ProjectInterfacesBrowser.__init__" ID="ProjectInterfacesBrowser.__init__"></a>
138 <h4>ProjectInterfacesBrowser (Constructor)</h4>
139 <b>ProjectInterfacesBrowser</b>(<i>project, parent = None</i>)
140 <p>
141 Constructor
142 </p><dl>
143 <dt><i>project</i></dt>
144 <dd>
145 reference to the project object
146 </dd><dt><i>parent</i></dt>
147 <dd>
148 parent widget of this browser (QWidget)
149 </dd>
150 </dl><a NAME="ProjectInterfacesBrowser.__addInterfaceFiles" ID="ProjectInterfacesBrowser.__addInterfaceFiles"></a>
151 <h4>ProjectInterfacesBrowser.__addInterfaceFiles</h4>
152 <b>__addInterfaceFiles</b>(<i></i>)
153 <p>
154 Private method to add interface files to the project.
155 </p><a NAME="ProjectInterfacesBrowser.__addInterfacesDirectory" ID="ProjectInterfacesBrowser.__addInterfacesDirectory"></a>
156 <h4>ProjectInterfacesBrowser.__addInterfacesDirectory</h4>
157 <b>__addInterfacesDirectory</b>(<i></i>)
158 <p>
159 Private method to add interface files of a directory to the project.
160 </p><a NAME="ProjectInterfacesBrowser.__compileAllInterfaces" ID="ProjectInterfacesBrowser.__compileAllInterfaces"></a>
161 <h4>ProjectInterfacesBrowser.__compileAllInterfaces</h4>
162 <b>__compileAllInterfaces</b>(<i></i>)
163 <p>
164 Private method to compile all interfaces to python.
165 </p><a NAME="ProjectInterfacesBrowser.__compileIDL" ID="ProjectInterfacesBrowser.__compileIDL"></a>
166 <h4>ProjectInterfacesBrowser.__compileIDL</h4>
167 <b>__compileIDL</b>(<i>fn, noDialog = False, progress = None</i>)
168 <p>
169 Privat method to compile a .idl file to python.
170 </p><dl>
171 <dt><i>fn</i></dt>
172 <dd>
173 filename of the .idl file to be compiled (string)
174 </dd><dt><i>noDialog</i></dt>
175 <dd>
176 flag indicating silent operations (boolean)
177 </dd><dt><i>progress</i></dt>
178 <dd>
179 reference to the progress dialog (QProgressDialog)
180 </dd>
181 </dl><dl>
182 <dt>Returns:</dt>
183 <dd>
184 reference to the compile process (QProcess)
185 </dd>
186 </dl><a NAME="ProjectInterfacesBrowser.__compileIDLDone" ID="ProjectInterfacesBrowser.__compileIDLDone"></a>
187 <h4>ProjectInterfacesBrowser.__compileIDLDone</h4>
188 <b>__compileIDLDone</b>(<i>exitCode, exitStatus</i>)
189 <p>
190 Private slot to handle the finished signal of the omniidl process.
191 </p><dl>
192 <dt><i>exitCode</i></dt>
193 <dd>
194 exit code of the process (integer)
195 </dd><dt><i>exitStatus</i></dt>
196 <dd>
197 exit status of the process (QProcess.ExitStatus)
198 </dd>
199 </dl><a NAME="ProjectInterfacesBrowser.__compileInterface" ID="ProjectInterfacesBrowser.__compileInterface"></a>
200 <h4>ProjectInterfacesBrowser.__compileInterface</h4>
201 <b>__compileInterface</b>(<i></i>)
202 <p>
203 Private method to compile an interface to python.
204 </p><a NAME="ProjectInterfacesBrowser.__compileSelectedInterfaces" ID="ProjectInterfacesBrowser.__compileSelectedInterfaces"></a>
205 <h4>ProjectInterfacesBrowser.__compileSelectedInterfaces</h4>
206 <b>__compileSelectedInterfaces</b>(<i></i>)
207 <p>
208 Private method to compile selected interfaces to python.
209 </p><a NAME="ProjectInterfacesBrowser.__configureCorba" ID="ProjectInterfacesBrowser.__configureCorba"></a>
210 <h4>ProjectInterfacesBrowser.__configureCorba</h4>
211 <b>__configureCorba</b>(<i></i>)
212 <p>
213 Private method to open the configuration dialog.
214 </p><a NAME="ProjectInterfacesBrowser.__deleteFile" ID="ProjectInterfacesBrowser.__deleteFile"></a>
215 <h4>ProjectInterfacesBrowser.__deleteFile</h4>
216 <b>__deleteFile</b>(<i></i>)
217 <p>
218 Private method to delete files from the project.
219 </p><a NAME="ProjectInterfacesBrowser.__readStderr" ID="ProjectInterfacesBrowser.__readStderr"></a>
220 <h4>ProjectInterfacesBrowser.__readStderr</h4>
221 <b>__readStderr</b>(<i></i>)
222 <p>
223 Private slot to handle the readyReadStandardError signal of the omniidl process.
224 </p><a NAME="ProjectInterfacesBrowser.__readStdout" ID="ProjectInterfacesBrowser.__readStdout"></a>
225 <h4>ProjectInterfacesBrowser.__readStdout</h4>
226 <b>__readStdout</b>(<i></i>)
227 <p>
228 Private slot to handle the readyReadStandardOutput signal of the omniidl process.
229 </p><a NAME="ProjectInterfacesBrowser.__showContextMenu" ID="ProjectInterfacesBrowser.__showContextMenu"></a>
230 <h4>ProjectInterfacesBrowser.__showContextMenu</h4>
231 <b>__showContextMenu</b>(<i></i>)
232 <p>
233 Private slot called by the menu aboutToShow signal.
234 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuBack" ID="ProjectInterfacesBrowser.__showContextMenuBack"></a>
235 <h4>ProjectInterfacesBrowser.__showContextMenuBack</h4>
236 <b>__showContextMenuBack</b>(<i></i>)
237 <p>
238 Private slot called by the backMenu aboutToShow signal.
239 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuDir" ID="ProjectInterfacesBrowser.__showContextMenuDir"></a>
240 <h4>ProjectInterfacesBrowser.__showContextMenuDir</h4>
241 <b>__showContextMenuDir</b>(<i></i>)
242 <p>
243 Private slot called by the dirMenu aboutToShow signal.
244 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuDirMulti" ID="ProjectInterfacesBrowser.__showContextMenuDirMulti"></a>
245 <h4>ProjectInterfacesBrowser.__showContextMenuDirMulti</h4>
246 <b>__showContextMenuDirMulti</b>(<i></i>)
247 <p>
248 Private slot called by the dirMultiMenu aboutToShow signal.
249 </p><a NAME="ProjectInterfacesBrowser.__showContextMenuMulti" ID="ProjectInterfacesBrowser.__showContextMenuMulti"></a>
250 <h4>ProjectInterfacesBrowser.__showContextMenuMulti</h4>
251 <b>__showContextMenuMulti</b>(<i></i>)
252 <p>
253 Private slot called by the multiMenu aboutToShow signal.
254 </p><a NAME="ProjectInterfacesBrowser._contextMenuRequested" ID="ProjectInterfacesBrowser._contextMenuRequested"></a>
255 <h4>ProjectInterfacesBrowser._contextMenuRequested</h4>
256 <b>_contextMenuRequested</b>(<i>coord</i>)
257 <p>
258 Protected slot to show the context menu.
259 </p><dl>
260 <dt><i>coord</i></dt>
261 <dd>
262 the position of the mouse pointer (QPoint)
263 </dd>
264 </dl><a NAME="ProjectInterfacesBrowser._createPopupMenus" ID="ProjectInterfacesBrowser._createPopupMenus"></a>
265 <h4>ProjectInterfacesBrowser._createPopupMenus</h4>
266 <b>_createPopupMenus</b>(<i></i>)
267 <p>
268 Protected overloaded method to generate the popup menu.
269 </p><a NAME="ProjectInterfacesBrowser._openItem" ID="ProjectInterfacesBrowser._openItem"></a>
270 <h4>ProjectInterfacesBrowser._openItem</h4>
271 <b>_openItem</b>(<i></i>)
272 <p>
273 Protected slot to handle the open popup menu entry.
274 </p>
275 <div align="right"><a href="#top">Up</a></div>
276 <hr />
277 </body></html>

eric ide

mercurial