16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Project.ProjectProtocolsBrowser</h1> |
23 <h1>eric6.Project.ProjectProtocolsBrowser</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the a class used to display the protocols (protobuf) part |
26 Module implementing the a class used to display the protocols (protobuf) part |
25 of the project. |
27 of the project. |
26 </p> |
28 </p> |
27 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
|
30 |
28 <table> |
31 <table> |
29 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
30 </table> |
33 </table> |
31 <h3>Classes</h3> |
34 <h3>Classes</h3> |
32 <table> |
35 |
|
36 <table> |
|
37 |
33 <tr> |
38 <tr> |
34 <td><a href="#ProjectProtocolsBrowser">ProjectProtocolsBrowser</a></td> |
39 <td><a href="#ProjectProtocolsBrowser">ProjectProtocolsBrowser</a></td> |
35 <td>A class used to display the protocols (protobuf) part of the project.</td> |
40 <td>A class used to display the protocols (protobuf) part of the project.</td> |
36 </tr> |
41 </tr> |
37 </table> |
42 </table> |
38 <h3>Functions</h3> |
43 <h3>Functions</h3> |
|
44 |
39 <table> |
45 <table> |
40 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
41 </table> |
47 </table> |
42 <hr /><hr /> |
48 <hr /> |
|
49 <hr /> |
43 <a NAME="ProjectProtocolsBrowser" ID="ProjectProtocolsBrowser"></a> |
50 <a NAME="ProjectProtocolsBrowser" ID="ProjectProtocolsBrowser"></a> |
44 <h2>ProjectProtocolsBrowser</h2> |
51 <h2>ProjectProtocolsBrowser</h2> |
|
52 |
45 <p> |
53 <p> |
46 A class used to display the protocols (protobuf) part of the project. |
54 A class used to display the protocols (protobuf) part of the project. |
47 </p><h3>Signals</h3> |
55 </p> |
48 <dl> |
56 <h3>Signals</h3> |
|
57 <dl> |
|
58 |
49 <dt>appendStderr(str)</dt> |
59 <dt>appendStderr(str)</dt> |
50 <dd> |
60 <dd> |
51 emitted after something was received from |
61 emitted after something was received from |
52 a QProcess on stderr |
62 a QProcess on stderr |
53 </dd><dt>appendStdout(str)</dt> |
63 </dd> |
|
64 <dt>appendStdout(str)</dt> |
54 <dd> |
65 <dd> |
55 emitted after something was received from |
66 emitted after something was received from |
56 a QProcess on stdout |
67 a QProcess on stdout |
57 </dd><dt>showMenu(str, QMenu)</dt> |
68 </dd> |
|
69 <dt>showMenu(str, QMenu)</dt> |
58 <dd> |
70 <dd> |
59 emitted when a menu is about to be shown. |
71 emitted when a menu is about to be shown. |
60 The name of the menu and a reference to the menu are given. |
72 The name of the menu and a reference to the menu are given. |
61 </dd> |
73 </dd> |
62 </dl> |
74 </dl> |
63 <h3>Derived from</h3> |
75 <h3>Derived from</h3> |
64 ProjectBaseBrowser |
76 ProjectBaseBrowser |
65 <h3>Class Attributes</h3> |
77 <h3>Class Attributes</h3> |
|
78 |
66 <table> |
79 <table> |
67 <tr><td>None</td></tr> |
80 <tr><td>None</td></tr> |
68 </table> |
81 </table> |
69 <h3>Class Methods</h3> |
82 <h3>Class Methods</h3> |
|
83 |
70 <table> |
84 <table> |
71 <tr><td>None</td></tr> |
85 <tr><td>None</td></tr> |
72 </table> |
86 </table> |
73 <h3>Methods</h3> |
87 <h3>Methods</h3> |
74 <table> |
88 |
|
89 <table> |
|
90 |
75 <tr> |
91 <tr> |
76 <td><a href="#ProjectProtocolsBrowser.__init__">ProjectProtocolsBrowser</a></td> |
92 <td><a href="#ProjectProtocolsBrowser.__init__">ProjectProtocolsBrowser</a></td> |
77 <td>Constructor</td> |
93 <td>Constructor</td> |
78 </tr><tr> |
94 </tr> |
|
95 <tr> |
79 <td><a href="#ProjectProtocolsBrowser.__addProtocolFiles">__addProtocolFiles</a></td> |
96 <td><a href="#ProjectProtocolsBrowser.__addProtocolFiles">__addProtocolFiles</a></td> |
80 <td>Private method to add protocol files to the project.</td> |
97 <td>Private method to add protocol files to the project.</td> |
81 </tr><tr> |
98 </tr> |
|
99 <tr> |
82 <td><a href="#ProjectProtocolsBrowser.__addProtocolsDirectory">__addProtocolsDirectory</a></td> |
100 <td><a href="#ProjectProtocolsBrowser.__addProtocolsDirectory">__addProtocolsDirectory</a></td> |
83 <td>Private method to add protocol files of a directory to the project.</td> |
101 <td>Private method to add protocol files of a directory to the project.</td> |
84 </tr><tr> |
102 </tr> |
|
103 <tr> |
85 <td><a href="#ProjectProtocolsBrowser.__compileAllProtocols">__compileAllProtocols</a></td> |
104 <td><a href="#ProjectProtocolsBrowser.__compileAllProtocols">__compileAllProtocols</a></td> |
86 <td>Private method to compile all protocols to Python.</td> |
105 <td>Private method to compile all protocols to Python.</td> |
87 </tr><tr> |
106 </tr> |
|
107 <tr> |
88 <td><a href="#ProjectProtocolsBrowser.__compileProto">__compileProto</a></td> |
108 <td><a href="#ProjectProtocolsBrowser.__compileProto">__compileProto</a></td> |
89 <td>Private method to compile a .proto file to Python.</td> |
109 <td>Private method to compile a .proto file to Python.</td> |
90 </tr><tr> |
110 </tr> |
|
111 <tr> |
91 <td><a href="#ProjectProtocolsBrowser.__compileProtoDone">__compileProtoDone</a></td> |
112 <td><a href="#ProjectProtocolsBrowser.__compileProtoDone">__compileProtoDone</a></td> |
92 <td>Private slot to handle the finished signal of the protoc process.</td> |
113 <td>Private slot to handle the finished signal of the protoc process.</td> |
93 </tr><tr> |
114 </tr> |
|
115 <tr> |
94 <td><a href="#ProjectProtocolsBrowser.__compileProtocol">__compileProtocol</a></td> |
116 <td><a href="#ProjectProtocolsBrowser.__compileProtocol">__compileProtocol</a></td> |
95 <td>Private method to compile a protocol to Python.</td> |
117 <td>Private method to compile a protocol to Python.</td> |
96 </tr><tr> |
118 </tr> |
|
119 <tr> |
97 <td><a href="#ProjectProtocolsBrowser.__compileSelectedProtocols">__compileSelectedProtocols</a></td> |
120 <td><a href="#ProjectProtocolsBrowser.__compileSelectedProtocols">__compileSelectedProtocols</a></td> |
98 <td>Private method to compile selected protocols to Python.</td> |
121 <td>Private method to compile selected protocols to Python.</td> |
99 </tr><tr> |
122 </tr> |
|
123 <tr> |
100 <td><a href="#ProjectProtocolsBrowser.__configureProtobuf">__configureProtobuf</a></td> |
124 <td><a href="#ProjectProtocolsBrowser.__configureProtobuf">__configureProtobuf</a></td> |
101 <td>Private method to open the configuration dialog.</td> |
125 <td>Private method to open the configuration dialog.</td> |
102 </tr><tr> |
126 </tr> |
|
127 <tr> |
103 <td><a href="#ProjectProtocolsBrowser.__deleteFile">__deleteFile</a></td> |
128 <td><a href="#ProjectProtocolsBrowser.__deleteFile">__deleteFile</a></td> |
104 <td>Private method to delete files from the project.</td> |
129 <td>Private method to delete files from the project.</td> |
105 </tr><tr> |
130 </tr> |
|
131 <tr> |
106 <td><a href="#ProjectProtocolsBrowser.__getCompilerCommand">__getCompilerCommand</a></td> |
132 <td><a href="#ProjectProtocolsBrowser.__getCompilerCommand">__getCompilerCommand</a></td> |
107 <td>Private method to get the compiler command.</td> |
133 <td>Private method to get the compiler command.</td> |
108 </tr><tr> |
134 </tr> |
|
135 <tr> |
109 <td><a href="#ProjectProtocolsBrowser.__readStderr">__readStderr</a></td> |
136 <td><a href="#ProjectProtocolsBrowser.__readStderr">__readStderr</a></td> |
110 <td>Private slot to handle the readyReadStandardError signal of the protoc process.</td> |
137 <td>Private slot to handle the readyReadStandardError signal of the protoc process.</td> |
111 </tr><tr> |
138 </tr> |
|
139 <tr> |
112 <td><a href="#ProjectProtocolsBrowser.__readStdout">__readStdout</a></td> |
140 <td><a href="#ProjectProtocolsBrowser.__readStdout">__readStdout</a></td> |
113 <td>Private slot to handle the readyReadStandardOutput signal of the protoc process.</td> |
141 <td>Private slot to handle the readyReadStandardOutput signal of the protoc process.</td> |
114 </tr><tr> |
142 </tr> |
|
143 <tr> |
115 <td><a href="#ProjectProtocolsBrowser.__showContextMenu">__showContextMenu</a></td> |
144 <td><a href="#ProjectProtocolsBrowser.__showContextMenu">__showContextMenu</a></td> |
116 <td>Private slot called by the menu aboutToShow signal.</td> |
145 <td>Private slot called by the menu aboutToShow signal.</td> |
117 </tr><tr> |
146 </tr> |
|
147 <tr> |
118 <td><a href="#ProjectProtocolsBrowser.__showContextMenuBack">__showContextMenuBack</a></td> |
148 <td><a href="#ProjectProtocolsBrowser.__showContextMenuBack">__showContextMenuBack</a></td> |
119 <td>Private slot called by the backMenu aboutToShow signal.</td> |
149 <td>Private slot called by the backMenu aboutToShow signal.</td> |
120 </tr><tr> |
150 </tr> |
|
151 <tr> |
121 <td><a href="#ProjectProtocolsBrowser.__showContextMenuDir">__showContextMenuDir</a></td> |
152 <td><a href="#ProjectProtocolsBrowser.__showContextMenuDir">__showContextMenuDir</a></td> |
122 <td>Private slot called by the dirMenu aboutToShow signal.</td> |
153 <td>Private slot called by the dirMenu aboutToShow signal.</td> |
123 </tr><tr> |
154 </tr> |
|
155 <tr> |
124 <td><a href="#ProjectProtocolsBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td> |
156 <td><a href="#ProjectProtocolsBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td> |
125 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td> |
157 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td> |
126 </tr><tr> |
158 </tr> |
|
159 <tr> |
127 <td><a href="#ProjectProtocolsBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> |
160 <td><a href="#ProjectProtocolsBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> |
128 <td>Private slot called by the multiMenu aboutToShow signal.</td> |
161 <td>Private slot called by the multiMenu aboutToShow signal.</td> |
129 </tr><tr> |
162 </tr> |
|
163 <tr> |
130 <td><a href="#ProjectProtocolsBrowser._contextMenuRequested">_contextMenuRequested</a></td> |
164 <td><a href="#ProjectProtocolsBrowser._contextMenuRequested">_contextMenuRequested</a></td> |
131 <td>Protected slot to show the context menu.</td> |
165 <td>Protected slot to show the context menu.</td> |
132 </tr><tr> |
166 </tr> |
|
167 <tr> |
133 <td><a href="#ProjectProtocolsBrowser._createPopupMenus">_createPopupMenus</a></td> |
168 <td><a href="#ProjectProtocolsBrowser._createPopupMenus">_createPopupMenus</a></td> |
134 <td>Protected overloaded method to generate the popup menu.</td> |
169 <td>Protected overloaded method to generate the popup menu.</td> |
135 </tr><tr> |
170 </tr> |
|
171 <tr> |
136 <td><a href="#ProjectProtocolsBrowser._openItem">_openItem</a></td> |
172 <td><a href="#ProjectProtocolsBrowser._openItem">_openItem</a></td> |
137 <td>Protected slot to handle the open popup menu entry.</td> |
173 <td>Protected slot to handle the open popup menu entry.</td> |
138 </tr> |
174 </tr> |
139 </table> |
175 </table> |
140 <h3>Static Methods</h3> |
176 <h3>Static Methods</h3> |
|
177 |
141 <table> |
178 <table> |
142 <tr><td>None</td></tr> |
179 <tr><td>None</td></tr> |
143 </table> |
180 </table> |
|
181 |
144 <a NAME="ProjectProtocolsBrowser.__init__" ID="ProjectProtocolsBrowser.__init__"></a> |
182 <a NAME="ProjectProtocolsBrowser.__init__" ID="ProjectProtocolsBrowser.__init__"></a> |
145 <h4>ProjectProtocolsBrowser (Constructor)</h4> |
183 <h4>ProjectProtocolsBrowser (Constructor)</h4> |
146 <b>ProjectProtocolsBrowser</b>(<i>project, parent=None</i>) |
184 <b>ProjectProtocolsBrowser</b>(<i>project, parent=None</i>) |
|
185 |
147 <p> |
186 <p> |
148 Constructor |
187 Constructor |
149 </p><dl> |
188 </p> |
|
189 <dl> |
|
190 |
150 <dt><i>project</i> (Project)</dt> |
191 <dt><i>project</i> (Project)</dt> |
151 <dd> |
192 <dd> |
152 reference to the project object |
193 reference to the project object |
153 </dd><dt><i>parent</i> (QWidget)</dt> |
194 </dd> |
|
195 <dt><i>parent</i> (QWidget)</dt> |
154 <dd> |
196 <dd> |
155 parent widget of this browser |
197 parent widget of this browser |
156 </dd> |
198 </dd> |
157 </dl><a NAME="ProjectProtocolsBrowser.__addProtocolFiles" ID="ProjectProtocolsBrowser.__addProtocolFiles"></a> |
199 </dl> |
|
200 <a NAME="ProjectProtocolsBrowser.__addProtocolFiles" ID="ProjectProtocolsBrowser.__addProtocolFiles"></a> |
158 <h4>ProjectProtocolsBrowser.__addProtocolFiles</h4> |
201 <h4>ProjectProtocolsBrowser.__addProtocolFiles</h4> |
159 <b>__addProtocolFiles</b>(<i></i>) |
202 <b>__addProtocolFiles</b>(<i></i>) |
|
203 |
160 <p> |
204 <p> |
161 Private method to add protocol files to the project. |
205 Private method to add protocol files to the project. |
162 </p><a NAME="ProjectProtocolsBrowser.__addProtocolsDirectory" ID="ProjectProtocolsBrowser.__addProtocolsDirectory"></a> |
206 </p> |
|
207 <a NAME="ProjectProtocolsBrowser.__addProtocolsDirectory" ID="ProjectProtocolsBrowser.__addProtocolsDirectory"></a> |
163 <h4>ProjectProtocolsBrowser.__addProtocolsDirectory</h4> |
208 <h4>ProjectProtocolsBrowser.__addProtocolsDirectory</h4> |
164 <b>__addProtocolsDirectory</b>(<i></i>) |
209 <b>__addProtocolsDirectory</b>(<i></i>) |
|
210 |
165 <p> |
211 <p> |
166 Private method to add protocol files of a directory to the project. |
212 Private method to add protocol files of a directory to the project. |
167 </p><a NAME="ProjectProtocolsBrowser.__compileAllProtocols" ID="ProjectProtocolsBrowser.__compileAllProtocols"></a> |
213 </p> |
|
214 <a NAME="ProjectProtocolsBrowser.__compileAllProtocols" ID="ProjectProtocolsBrowser.__compileAllProtocols"></a> |
168 <h4>ProjectProtocolsBrowser.__compileAllProtocols</h4> |
215 <h4>ProjectProtocolsBrowser.__compileAllProtocols</h4> |
169 <b>__compileAllProtocols</b>(<i>grpc=False</i>) |
216 <b>__compileAllProtocols</b>(<i>grpc=False</i>) |
|
217 |
170 <p> |
218 <p> |
171 Private method to compile all protocols to Python. |
219 Private method to compile all protocols to Python. |
172 </p><dl> |
220 </p> |
|
221 <dl> |
|
222 |
173 <dt><i>grpc</i> (bool)</dt> |
223 <dt><i>grpc</i> (bool)</dt> |
174 <dd> |
224 <dd> |
175 flag indicating to compile as gRPC files |
225 flag indicating to compile as gRPC files |
176 </dd> |
226 </dd> |
177 </dl><a NAME="ProjectProtocolsBrowser.__compileProto" ID="ProjectProtocolsBrowser.__compileProto"></a> |
227 </dl> |
|
228 <a NAME="ProjectProtocolsBrowser.__compileProto" ID="ProjectProtocolsBrowser.__compileProto"></a> |
178 <h4>ProjectProtocolsBrowser.__compileProto</h4> |
229 <h4>ProjectProtocolsBrowser.__compileProto</h4> |
179 <b>__compileProto</b>(<i>fn, noDialog=False, progress=None, grpc=False</i>) |
230 <b>__compileProto</b>(<i>fn, noDialog=False, progress=None, grpc=False</i>) |
|
231 |
180 <p> |
232 <p> |
181 Private method to compile a .proto file to Python. |
233 Private method to compile a .proto file to Python. |
182 </p><dl> |
234 </p> |
|
235 <dl> |
|
236 |
183 <dt><i>fn</i> (str)</dt> |
237 <dt><i>fn</i> (str)</dt> |
184 <dd> |
238 <dd> |
185 filename of the .proto file to be compiled |
239 filename of the .proto file to be compiled |
186 </dd><dt><i>noDialog</i> (bool)</dt> |
240 </dd> |
|
241 <dt><i>noDialog</i> (bool)</dt> |
187 <dd> |
242 <dd> |
188 flag indicating silent operations |
243 flag indicating silent operations |
189 </dd><dt><i>progress</i> (E5ProgressDialog)</dt> |
244 </dd> |
|
245 <dt><i>progress</i> (E5ProgressDialog)</dt> |
190 <dd> |
246 <dd> |
191 reference to the progress dialog |
247 reference to the progress dialog |
192 </dd><dt><i>grpc</i> (bool)</dt> |
248 </dd> |
|
249 <dt><i>grpc</i> (bool)</dt> |
193 <dd> |
250 <dd> |
194 flag indicating to compile as gRPC files |
251 flag indicating to compile as gRPC files |
195 </dd> |
252 </dd> |
196 </dl><dl> |
253 </dl> |
|
254 <dl> |
197 <dt>Returns:</dt> |
255 <dt>Returns:</dt> |
198 <dd> |
256 <dd> |
199 reference to the compile process |
257 reference to the compile process |
200 </dd> |
258 </dd> |
201 </dl><dl> |
259 </dl> |
|
260 <dl> |
202 <dt>Return Type:</dt> |
261 <dt>Return Type:</dt> |
203 <dd> |
262 <dd> |
204 QProcess |
263 QProcess |
205 </dd> |
264 </dd> |
206 </dl><a NAME="ProjectProtocolsBrowser.__compileProtoDone" ID="ProjectProtocolsBrowser.__compileProtoDone"></a> |
265 </dl> |
|
266 <a NAME="ProjectProtocolsBrowser.__compileProtoDone" ID="ProjectProtocolsBrowser.__compileProtoDone"></a> |
207 <h4>ProjectProtocolsBrowser.__compileProtoDone</h4> |
267 <h4>ProjectProtocolsBrowser.__compileProtoDone</h4> |
208 <b>__compileProtoDone</b>(<i>exitCode, exitStatus, grpc</i>) |
268 <b>__compileProtoDone</b>(<i>exitCode, exitStatus, grpc</i>) |
|
269 |
209 <p> |
270 <p> |
210 Private slot to handle the finished signal of the protoc process. |
271 Private slot to handle the finished signal of the protoc process. |
211 </p><dl> |
272 </p> |
|
273 <dl> |
|
274 |
212 <dt><i>exitCode</i> (int)</dt> |
275 <dt><i>exitCode</i> (int)</dt> |
213 <dd> |
276 <dd> |
214 exit code of the process |
277 exit code of the process |
215 </dd><dt><i>exitStatus</i> (QProcess.ExitStatus)</dt> |
278 </dd> |
|
279 <dt><i>exitStatus</i> (QProcess.ExitStatus)</dt> |
216 <dd> |
280 <dd> |
217 exit status of the process |
281 exit status of the process |
218 </dd><dt><i>grpc</i> (bool)</dt> |
282 </dd> |
|
283 <dt><i>grpc</i> (bool)</dt> |
219 <dd> |
284 <dd> |
220 flag indicating to compile as gRPC files |
285 flag indicating to compile as gRPC files |
221 </dd> |
286 </dd> |
222 </dl><a NAME="ProjectProtocolsBrowser.__compileProtocol" ID="ProjectProtocolsBrowser.__compileProtocol"></a> |
287 </dl> |
|
288 <a NAME="ProjectProtocolsBrowser.__compileProtocol" ID="ProjectProtocolsBrowser.__compileProtocol"></a> |
223 <h4>ProjectProtocolsBrowser.__compileProtocol</h4> |
289 <h4>ProjectProtocolsBrowser.__compileProtocol</h4> |
224 <b>__compileProtocol</b>(<i>grpc=False</i>) |
290 <b>__compileProtocol</b>(<i>grpc=False</i>) |
|
291 |
225 <p> |
292 <p> |
226 Private method to compile a protocol to Python. |
293 Private method to compile a protocol to Python. |
227 </p><dl> |
294 </p> |
|
295 <dl> |
|
296 |
228 <dt><i>grpc</i> (bool)</dt> |
297 <dt><i>grpc</i> (bool)</dt> |
229 <dd> |
298 <dd> |
230 flag indicating to compile as gRPC files |
299 flag indicating to compile as gRPC files |
231 </dd> |
300 </dd> |
232 </dl><a NAME="ProjectProtocolsBrowser.__compileSelectedProtocols" ID="ProjectProtocolsBrowser.__compileSelectedProtocols"></a> |
301 </dl> |
|
302 <a NAME="ProjectProtocolsBrowser.__compileSelectedProtocols" ID="ProjectProtocolsBrowser.__compileSelectedProtocols"></a> |
233 <h4>ProjectProtocolsBrowser.__compileSelectedProtocols</h4> |
303 <h4>ProjectProtocolsBrowser.__compileSelectedProtocols</h4> |
234 <b>__compileSelectedProtocols</b>(<i>grpc=False</i>) |
304 <b>__compileSelectedProtocols</b>(<i>grpc=False</i>) |
|
305 |
235 <p> |
306 <p> |
236 Private method to compile selected protocols to Python. |
307 Private method to compile selected protocols to Python. |
237 </p><dl> |
308 </p> |
|
309 <dl> |
|
310 |
238 <dt><i>grpc</i> (bool)</dt> |
311 <dt><i>grpc</i> (bool)</dt> |
239 <dd> |
312 <dd> |
240 flag indicating to compile as gRPC files |
313 flag indicating to compile as gRPC files |
241 </dd> |
314 </dd> |
242 </dl><a NAME="ProjectProtocolsBrowser.__configureProtobuf" ID="ProjectProtocolsBrowser.__configureProtobuf"></a> |
315 </dl> |
|
316 <a NAME="ProjectProtocolsBrowser.__configureProtobuf" ID="ProjectProtocolsBrowser.__configureProtobuf"></a> |
243 <h4>ProjectProtocolsBrowser.__configureProtobuf</h4> |
317 <h4>ProjectProtocolsBrowser.__configureProtobuf</h4> |
244 <b>__configureProtobuf</b>(<i></i>) |
318 <b>__configureProtobuf</b>(<i></i>) |
|
319 |
245 <p> |
320 <p> |
246 Private method to open the configuration dialog. |
321 Private method to open the configuration dialog. |
247 </p><a NAME="ProjectProtocolsBrowser.__deleteFile" ID="ProjectProtocolsBrowser.__deleteFile"></a> |
322 </p> |
|
323 <a NAME="ProjectProtocolsBrowser.__deleteFile" ID="ProjectProtocolsBrowser.__deleteFile"></a> |
248 <h4>ProjectProtocolsBrowser.__deleteFile</h4> |
324 <h4>ProjectProtocolsBrowser.__deleteFile</h4> |
249 <b>__deleteFile</b>(<i></i>) |
325 <b>__deleteFile</b>(<i></i>) |
|
326 |
250 <p> |
327 <p> |
251 Private method to delete files from the project. |
328 Private method to delete files from the project. |
252 </p><a NAME="ProjectProtocolsBrowser.__getCompilerCommand" ID="ProjectProtocolsBrowser.__getCompilerCommand"></a> |
329 </p> |
|
330 <a NAME="ProjectProtocolsBrowser.__getCompilerCommand" ID="ProjectProtocolsBrowser.__getCompilerCommand"></a> |
253 <h4>ProjectProtocolsBrowser.__getCompilerCommand</h4> |
331 <h4>ProjectProtocolsBrowser.__getCompilerCommand</h4> |
254 <b>__getCompilerCommand</b>(<i>grpc</i>) |
332 <b>__getCompilerCommand</b>(<i>grpc</i>) |
|
333 |
255 <p> |
334 <p> |
256 Private method to get the compiler command. |
335 Private method to get the compiler command. |
257 </p><dl> |
336 </p> |
|
337 <dl> |
|
338 |
258 <dt><i>grpc</i> (bool)</dt> |
339 <dt><i>grpc</i> (bool)</dt> |
259 <dd> |
340 <dd> |
260 flag indicating to get a gRPC command |
341 flag indicating to get a gRPC command |
261 </dd> |
342 </dd> |
262 </dl><dl> |
343 </dl> |
|
344 <dl> |
263 <dt>Returns:</dt> |
345 <dt>Returns:</dt> |
264 <dd> |
346 <dd> |
265 tuple giving the executable and its parameter list |
347 tuple giving the executable and its parameter list |
266 </dd> |
348 </dd> |
267 </dl><dl> |
349 </dl> |
|
350 <dl> |
268 <dt>Return Type:</dt> |
351 <dt>Return Type:</dt> |
269 <dd> |
352 <dd> |
270 tuple of (str, list of str) |
353 tuple of (str, list of str) |
271 </dd> |
354 </dd> |
272 </dl><a NAME="ProjectProtocolsBrowser.__readStderr" ID="ProjectProtocolsBrowser.__readStderr"></a> |
355 </dl> |
|
356 <a NAME="ProjectProtocolsBrowser.__readStderr" ID="ProjectProtocolsBrowser.__readStderr"></a> |
273 <h4>ProjectProtocolsBrowser.__readStderr</h4> |
357 <h4>ProjectProtocolsBrowser.__readStderr</h4> |
274 <b>__readStderr</b>(<i></i>) |
358 <b>__readStderr</b>(<i></i>) |
|
359 |
275 <p> |
360 <p> |
276 Private slot to handle the readyReadStandardError signal of the |
361 Private slot to handle the readyReadStandardError signal of the |
277 protoc process. |
362 protoc process. |
278 </p><a NAME="ProjectProtocolsBrowser.__readStdout" ID="ProjectProtocolsBrowser.__readStdout"></a> |
363 </p> |
|
364 <a NAME="ProjectProtocolsBrowser.__readStdout" ID="ProjectProtocolsBrowser.__readStdout"></a> |
279 <h4>ProjectProtocolsBrowser.__readStdout</h4> |
365 <h4>ProjectProtocolsBrowser.__readStdout</h4> |
280 <b>__readStdout</b>(<i></i>) |
366 <b>__readStdout</b>(<i></i>) |
|
367 |
281 <p> |
368 <p> |
282 Private slot to handle the readyReadStandardOutput signal of the |
369 Private slot to handle the readyReadStandardOutput signal of the |
283 protoc process. |
370 protoc process. |
284 </p><a NAME="ProjectProtocolsBrowser.__showContextMenu" ID="ProjectProtocolsBrowser.__showContextMenu"></a> |
371 </p> |
|
372 <a NAME="ProjectProtocolsBrowser.__showContextMenu" ID="ProjectProtocolsBrowser.__showContextMenu"></a> |
285 <h4>ProjectProtocolsBrowser.__showContextMenu</h4> |
373 <h4>ProjectProtocolsBrowser.__showContextMenu</h4> |
286 <b>__showContextMenu</b>(<i></i>) |
374 <b>__showContextMenu</b>(<i></i>) |
|
375 |
287 <p> |
376 <p> |
288 Private slot called by the menu aboutToShow signal. |
377 Private slot called by the menu aboutToShow signal. |
289 </p><a NAME="ProjectProtocolsBrowser.__showContextMenuBack" ID="ProjectProtocolsBrowser.__showContextMenuBack"></a> |
378 </p> |
|
379 <a NAME="ProjectProtocolsBrowser.__showContextMenuBack" ID="ProjectProtocolsBrowser.__showContextMenuBack"></a> |
290 <h4>ProjectProtocolsBrowser.__showContextMenuBack</h4> |
380 <h4>ProjectProtocolsBrowser.__showContextMenuBack</h4> |
291 <b>__showContextMenuBack</b>(<i></i>) |
381 <b>__showContextMenuBack</b>(<i></i>) |
|
382 |
292 <p> |
383 <p> |
293 Private slot called by the backMenu aboutToShow signal. |
384 Private slot called by the backMenu aboutToShow signal. |
294 </p><a NAME="ProjectProtocolsBrowser.__showContextMenuDir" ID="ProjectProtocolsBrowser.__showContextMenuDir"></a> |
385 </p> |
|
386 <a NAME="ProjectProtocolsBrowser.__showContextMenuDir" ID="ProjectProtocolsBrowser.__showContextMenuDir"></a> |
295 <h4>ProjectProtocolsBrowser.__showContextMenuDir</h4> |
387 <h4>ProjectProtocolsBrowser.__showContextMenuDir</h4> |
296 <b>__showContextMenuDir</b>(<i></i>) |
388 <b>__showContextMenuDir</b>(<i></i>) |
|
389 |
297 <p> |
390 <p> |
298 Private slot called by the dirMenu aboutToShow signal. |
391 Private slot called by the dirMenu aboutToShow signal. |
299 </p><a NAME="ProjectProtocolsBrowser.__showContextMenuDirMulti" ID="ProjectProtocolsBrowser.__showContextMenuDirMulti"></a> |
392 </p> |
|
393 <a NAME="ProjectProtocolsBrowser.__showContextMenuDirMulti" ID="ProjectProtocolsBrowser.__showContextMenuDirMulti"></a> |
300 <h4>ProjectProtocolsBrowser.__showContextMenuDirMulti</h4> |
394 <h4>ProjectProtocolsBrowser.__showContextMenuDirMulti</h4> |
301 <b>__showContextMenuDirMulti</b>(<i></i>) |
395 <b>__showContextMenuDirMulti</b>(<i></i>) |
|
396 |
302 <p> |
397 <p> |
303 Private slot called by the dirMultiMenu aboutToShow signal. |
398 Private slot called by the dirMultiMenu aboutToShow signal. |
304 </p><a NAME="ProjectProtocolsBrowser.__showContextMenuMulti" ID="ProjectProtocolsBrowser.__showContextMenuMulti"></a> |
399 </p> |
|
400 <a NAME="ProjectProtocolsBrowser.__showContextMenuMulti" ID="ProjectProtocolsBrowser.__showContextMenuMulti"></a> |
305 <h4>ProjectProtocolsBrowser.__showContextMenuMulti</h4> |
401 <h4>ProjectProtocolsBrowser.__showContextMenuMulti</h4> |
306 <b>__showContextMenuMulti</b>(<i></i>) |
402 <b>__showContextMenuMulti</b>(<i></i>) |
|
403 |
307 <p> |
404 <p> |
308 Private slot called by the multiMenu aboutToShow signal. |
405 Private slot called by the multiMenu aboutToShow signal. |
309 </p><a NAME="ProjectProtocolsBrowser._contextMenuRequested" ID="ProjectProtocolsBrowser._contextMenuRequested"></a> |
406 </p> |
|
407 <a NAME="ProjectProtocolsBrowser._contextMenuRequested" ID="ProjectProtocolsBrowser._contextMenuRequested"></a> |
310 <h4>ProjectProtocolsBrowser._contextMenuRequested</h4> |
408 <h4>ProjectProtocolsBrowser._contextMenuRequested</h4> |
311 <b>_contextMenuRequested</b>(<i>coord</i>) |
409 <b>_contextMenuRequested</b>(<i>coord</i>) |
|
410 |
312 <p> |
411 <p> |
313 Protected slot to show the context menu. |
412 Protected slot to show the context menu. |
314 </p><dl> |
413 </p> |
|
414 <dl> |
|
415 |
315 <dt><i>coord</i></dt> |
416 <dt><i>coord</i></dt> |
316 <dd> |
417 <dd> |
317 the position of the mouse pointer (QPoint) |
418 the position of the mouse pointer (QPoint) |
318 </dd> |
419 </dd> |
319 </dl><a NAME="ProjectProtocolsBrowser._createPopupMenus" ID="ProjectProtocolsBrowser._createPopupMenus"></a> |
420 </dl> |
|
421 <a NAME="ProjectProtocolsBrowser._createPopupMenus" ID="ProjectProtocolsBrowser._createPopupMenus"></a> |
320 <h4>ProjectProtocolsBrowser._createPopupMenus</h4> |
422 <h4>ProjectProtocolsBrowser._createPopupMenus</h4> |
321 <b>_createPopupMenus</b>(<i></i>) |
423 <b>_createPopupMenus</b>(<i></i>) |
|
424 |
322 <p> |
425 <p> |
323 Protected overloaded method to generate the popup menu. |
426 Protected overloaded method to generate the popup menu. |
324 </p><a NAME="ProjectProtocolsBrowser._openItem" ID="ProjectProtocolsBrowser._openItem"></a> |
427 </p> |
|
428 <a NAME="ProjectProtocolsBrowser._openItem" ID="ProjectProtocolsBrowser._openItem"></a> |
325 <h4>ProjectProtocolsBrowser._openItem</h4> |
429 <h4>ProjectProtocolsBrowser._openItem</h4> |
326 <b>_openItem</b>(<i></i>) |
430 <b>_openItem</b>(<i></i>) |
|
431 |
327 <p> |
432 <p> |
328 Protected slot to handle the open popup menu entry. |
433 Protected slot to handle the open popup menu entry. |
329 </p> |
434 </p> |
330 <div align="right"><a href="#top">Up</a></div> |
435 <div align="right"><a href="#top">Up</a></div> |
331 <hr /> |
436 <hr /> |