243 </dd> |
242 </dd> |
244 </dl> |
243 </dl> |
245 <a NAME="ProjectFormsBrowser.__TRPreview" ID="ProjectFormsBrowser.__TRPreview"></a> |
244 <a NAME="ProjectFormsBrowser.__TRPreview" ID="ProjectFormsBrowser.__TRPreview"></a> |
246 <h4>ProjectFormsBrowser.__TRPreview</h4> |
245 <h4>ProjectFormsBrowser.__TRPreview</h4> |
247 <b>__TRPreview</b>(<i></i>) |
246 <b>__TRPreview</b>(<i></i>) |
248 |
|
249 <p> |
247 <p> |
250 Private slot to handle the Preview translations action. |
248 Private slot to handle the Preview translations action. |
251 </p> |
249 </p> |
|
250 |
252 <a NAME="ProjectFormsBrowser.__UIPreview" ID="ProjectFormsBrowser.__UIPreview"></a> |
251 <a NAME="ProjectFormsBrowser.__UIPreview" ID="ProjectFormsBrowser.__UIPreview"></a> |
253 <h4>ProjectFormsBrowser.__UIPreview</h4> |
252 <h4>ProjectFormsBrowser.__UIPreview</h4> |
254 <b>__UIPreview</b>(<i></i>) |
253 <b>__UIPreview</b>(<i></i>) |
255 |
|
256 <p> |
254 <p> |
257 Private slot to handle the Preview menu action. |
255 Private slot to handle the Preview menu action. |
258 </p> |
256 </p> |
|
257 |
259 <a NAME="ProjectFormsBrowser.__addFormFiles" ID="ProjectFormsBrowser.__addFormFiles"></a> |
258 <a NAME="ProjectFormsBrowser.__addFormFiles" ID="ProjectFormsBrowser.__addFormFiles"></a> |
260 <h4>ProjectFormsBrowser.__addFormFiles</h4> |
259 <h4>ProjectFormsBrowser.__addFormFiles</h4> |
261 <b>__addFormFiles</b>(<i></i>) |
260 <b>__addFormFiles</b>(<i></i>) |
262 |
|
263 <p> |
261 <p> |
264 Private method to add form files to the project. |
262 Private method to add form files to the project. |
265 </p> |
263 </p> |
|
264 |
266 <a NAME="ProjectFormsBrowser.__addFormsDirectory" ID="ProjectFormsBrowser.__addFormsDirectory"></a> |
265 <a NAME="ProjectFormsBrowser.__addFormsDirectory" ID="ProjectFormsBrowser.__addFormsDirectory"></a> |
267 <h4>ProjectFormsBrowser.__addFormsDirectory</h4> |
266 <h4>ProjectFormsBrowser.__addFormsDirectory</h4> |
268 <b>__addFormsDirectory</b>(<i></i>) |
267 <b>__addFormsDirectory</b>(<i></i>) |
269 |
|
270 <p> |
268 <p> |
271 Private method to add form files of a directory to the project. |
269 Private method to add form files of a directory to the project. |
272 </p> |
270 </p> |
|
271 |
273 <a NAME="ProjectFormsBrowser.__compileAllForms" ID="ProjectFormsBrowser.__compileAllForms"></a> |
272 <a NAME="ProjectFormsBrowser.__compileAllForms" ID="ProjectFormsBrowser.__compileAllForms"></a> |
274 <h4>ProjectFormsBrowser.__compileAllForms</h4> |
273 <h4>ProjectFormsBrowser.__compileAllForms</h4> |
275 <b>__compileAllForms</b>(<i></i>) |
274 <b>__compileAllForms</b>(<i></i>) |
276 |
|
277 <p> |
275 <p> |
278 Private method to compile all forms to source files. |
276 Private method to compile all forms to source files. |
279 </p> |
277 </p> |
|
278 |
280 <a NAME="ProjectFormsBrowser.__compileChangedForms" ID="ProjectFormsBrowser.__compileChangedForms"></a> |
279 <a NAME="ProjectFormsBrowser.__compileChangedForms" ID="ProjectFormsBrowser.__compileChangedForms"></a> |
281 <h4>ProjectFormsBrowser.__compileChangedForms</h4> |
280 <h4>ProjectFormsBrowser.__compileChangedForms</h4> |
282 <b>__compileChangedForms</b>(<i></i>) |
281 <b>__compileChangedForms</b>(<i></i>) |
283 |
|
284 <p> |
282 <p> |
285 Private method to compile all changed forms to source files. |
283 Private method to compile all changed forms to source files. |
286 </p> |
284 </p> |
|
285 |
287 <a NAME="ProjectFormsBrowser.__compileForm" ID="ProjectFormsBrowser.__compileForm"></a> |
286 <a NAME="ProjectFormsBrowser.__compileForm" ID="ProjectFormsBrowser.__compileForm"></a> |
288 <h4>ProjectFormsBrowser.__compileForm</h4> |
287 <h4>ProjectFormsBrowser.__compileForm</h4> |
289 <b>__compileForm</b>(<i></i>) |
288 <b>__compileForm</b>(<i></i>) |
290 |
|
291 <p> |
289 <p> |
292 Private method to compile a form to a source file. |
290 Private method to compile a form to a source file. |
293 </p> |
291 </p> |
|
292 |
294 <a NAME="ProjectFormsBrowser.__compileSelectedForms" ID="ProjectFormsBrowser.__compileSelectedForms"></a> |
293 <a NAME="ProjectFormsBrowser.__compileSelectedForms" ID="ProjectFormsBrowser.__compileSelectedForms"></a> |
295 <h4>ProjectFormsBrowser.__compileSelectedForms</h4> |
294 <h4>ProjectFormsBrowser.__compileSelectedForms</h4> |
296 <b>__compileSelectedForms</b>(<i></i>) |
295 <b>__compileSelectedForms</b>(<i></i>) |
297 |
|
298 <p> |
296 <p> |
299 Private method to compile selected forms to source files. |
297 Private method to compile selected forms to source files. |
300 </p> |
298 </p> |
|
299 |
301 <a NAME="ProjectFormsBrowser.__compileUI" ID="ProjectFormsBrowser.__compileUI"></a> |
300 <a NAME="ProjectFormsBrowser.__compileUI" ID="ProjectFormsBrowser.__compileUI"></a> |
302 <h4>ProjectFormsBrowser.__compileUI</h4> |
301 <h4>ProjectFormsBrowser.__compileUI</h4> |
303 <b>__compileUI</b>(<i>fn, noDialog=False, progress=None</i>) |
302 <b>__compileUI</b>(<i>fn, noDialog=False, progress=None</i>) |
304 |
|
305 <p> |
303 <p> |
306 Private method to compile a .ui file to a .py/.rb file. |
304 Private method to compile a .ui file to a .py/.rb file. |
307 </p> |
305 </p> |
|
306 |
308 <dl> |
307 <dl> |
309 |
308 |
310 <dt><i>fn</i> (str)</dt> |
309 <dt><i>fn</i> (str)</dt> |
311 <dd> |
310 <dd> |
312 filename of the .ui file to be compiled |
311 filename of the .ui file to be compiled |
351 </dd> |
350 </dd> |
352 </dl> |
351 </dl> |
353 <a NAME="ProjectFormsBrowser.__configureUicCompiler" ID="ProjectFormsBrowser.__configureUicCompiler"></a> |
352 <a NAME="ProjectFormsBrowser.__configureUicCompiler" ID="ProjectFormsBrowser.__configureUicCompiler"></a> |
354 <h4>ProjectFormsBrowser.__configureUicCompiler</h4> |
353 <h4>ProjectFormsBrowser.__configureUicCompiler</h4> |
355 <b>__configureUicCompiler</b>(<i></i>) |
354 <b>__configureUicCompiler</b>(<i></i>) |
356 |
|
357 <p> |
355 <p> |
358 Private slot to configure some non-common uic compiler options. |
356 Private slot to configure some non-common uic compiler options. |
359 </p> |
357 </p> |
|
358 |
360 <a NAME="ProjectFormsBrowser.__deleteFile" ID="ProjectFormsBrowser.__deleteFile"></a> |
359 <a NAME="ProjectFormsBrowser.__deleteFile" ID="ProjectFormsBrowser.__deleteFile"></a> |
361 <h4>ProjectFormsBrowser.__deleteFile</h4> |
360 <h4>ProjectFormsBrowser.__deleteFile</h4> |
362 <b>__deleteFile</b>(<i></i>) |
361 <b>__deleteFile</b>(<i></i>) |
363 |
|
364 <p> |
362 <p> |
365 Private method to delete a form file from the project. |
363 Private method to delete a form file from the project. |
366 </p> |
364 </p> |
|
365 |
367 <a NAME="ProjectFormsBrowser.__determineUiCompiler" ID="ProjectFormsBrowser.__determineUiCompiler"></a> |
366 <a NAME="ProjectFormsBrowser.__determineUiCompiler" ID="ProjectFormsBrowser.__determineUiCompiler"></a> |
368 <h4>ProjectFormsBrowser.__determineUiCompiler</h4> |
367 <h4>ProjectFormsBrowser.__determineUiCompiler</h4> |
369 <b>__determineUiCompiler</b>(<i></i>) |
368 <b>__determineUiCompiler</b>(<i></i>) |
370 |
|
371 <p> |
369 <p> |
372 Private method to determine the UI compiler for the project. |
370 Private method to determine the UI compiler for the project. |
373 </p> |
371 </p> |
|
372 |
374 <a NAME="ProjectFormsBrowser.__generateDialogCode" ID="ProjectFormsBrowser.__generateDialogCode"></a> |
373 <a NAME="ProjectFormsBrowser.__generateDialogCode" ID="ProjectFormsBrowser.__generateDialogCode"></a> |
375 <h4>ProjectFormsBrowser.__generateDialogCode</h4> |
374 <h4>ProjectFormsBrowser.__generateDialogCode</h4> |
376 <b>__generateDialogCode</b>(<i></i>) |
375 <b>__generateDialogCode</b>(<i></i>) |
377 |
|
378 <p> |
376 <p> |
379 Private method to generate dialog code for the form (Qt only). |
377 Private method to generate dialog code for the form (Qt only). |
380 </p> |
378 </p> |
|
379 |
381 <a NAME="ProjectFormsBrowser.__newForm" ID="ProjectFormsBrowser.__newForm"></a> |
380 <a NAME="ProjectFormsBrowser.__newForm" ID="ProjectFormsBrowser.__newForm"></a> |
382 <h4>ProjectFormsBrowser.__newForm</h4> |
381 <h4>ProjectFormsBrowser.__newForm</h4> |
383 <b>__newForm</b>(<i></i>) |
382 <b>__newForm</b>(<i></i>) |
384 |
|
385 <p> |
383 <p> |
386 Private slot to handle the New Form menu action. |
384 Private slot to handle the New Form menu action. |
387 </p> |
385 </p> |
|
386 |
388 <a NAME="ProjectFormsBrowser.__newUiForm" ID="ProjectFormsBrowser.__newUiForm"></a> |
387 <a NAME="ProjectFormsBrowser.__newUiForm" ID="ProjectFormsBrowser.__newUiForm"></a> |
389 <h4>ProjectFormsBrowser.__newUiForm</h4> |
388 <h4>ProjectFormsBrowser.__newUiForm</h4> |
390 <b>__newUiForm</b>(<i>path</i>) |
389 <b>__newUiForm</b>(<i>path</i>) |
391 |
|
392 <p> |
390 <p> |
393 Private slot to handle the New Form menu action for Qt-related |
391 Private slot to handle the New Form menu action for Qt-related |
394 projects. |
392 projects. |
395 </p> |
393 </p> |
|
394 |
396 <dl> |
395 <dl> |
397 |
396 |
398 <dt><i>path</i> (str)</dt> |
397 <dt><i>path</i> (str)</dt> |
399 <dd> |
398 <dd> |
400 full directory path for the new form file |
399 full directory path for the new form file |
401 </dd> |
400 </dd> |
402 </dl> |
401 </dl> |
403 <a NAME="ProjectFormsBrowser.__openFile" ID="ProjectFormsBrowser.__openFile"></a> |
402 <a NAME="ProjectFormsBrowser.__openFile" ID="ProjectFormsBrowser.__openFile"></a> |
404 <h4>ProjectFormsBrowser.__openFile</h4> |
403 <h4>ProjectFormsBrowser.__openFile</h4> |
405 <b>__openFile</b>(<i></i>) |
404 <b>__openFile</b>(<i></i>) |
406 |
|
407 <p> |
405 <p> |
408 Private slot to handle the Open menu action. |
406 Private slot to handle the Open menu action. |
409 </p> |
407 </p> |
|
408 |
410 <a NAME="ProjectFormsBrowser.__openFileInEditor" ID="ProjectFormsBrowser.__openFileInEditor"></a> |
409 <a NAME="ProjectFormsBrowser.__openFileInEditor" ID="ProjectFormsBrowser.__openFileInEditor"></a> |
411 <h4>ProjectFormsBrowser.__openFileInEditor</h4> |
410 <h4>ProjectFormsBrowser.__openFileInEditor</h4> |
412 <b>__openFileInEditor</b>(<i></i>) |
411 <b>__openFileInEditor</b>(<i></i>) |
413 |
|
414 <p> |
412 <p> |
415 Private slot to handle the Open in Editor menu action. |
413 Private slot to handle the Open in Editor menu action. |
416 </p> |
414 </p> |
|
415 |
417 <a NAME="ProjectFormsBrowser.__readStderr" ID="ProjectFormsBrowser.__readStderr"></a> |
416 <a NAME="ProjectFormsBrowser.__readStderr" ID="ProjectFormsBrowser.__readStderr"></a> |
418 <h4>ProjectFormsBrowser.__readStderr</h4> |
417 <h4>ProjectFormsBrowser.__readStderr</h4> |
419 <b>__readStderr</b>(<i></i>) |
418 <b>__readStderr</b>(<i></i>) |
420 |
|
421 <p> |
419 <p> |
422 Private slot to handle the readyReadStandardError signal of the |
420 Private slot to handle the readyReadStandardError signal of the |
423 pyuic5/pyuic6/pyside2-uic/pyside6-uic process. |
421 pyuic5/pyuic6/pyside2-uic/pyside6-uic process. |
424 </p> |
422 </p> |
|
423 |
425 <a NAME="ProjectFormsBrowser.__readStdout" ID="ProjectFormsBrowser.__readStdout"></a> |
424 <a NAME="ProjectFormsBrowser.__readStdout" ID="ProjectFormsBrowser.__readStdout"></a> |
426 <h4>ProjectFormsBrowser.__readStdout</h4> |
425 <h4>ProjectFormsBrowser.__readStdout</h4> |
427 <b>__readStdout</b>(<i></i>) |
426 <b>__readStdout</b>(<i></i>) |
428 |
|
429 <p> |
427 <p> |
430 Private slot to handle the readyReadStandardOutput signal of the |
428 Private slot to handle the readyReadStandardOutput signal of the |
431 pyuic5/pyuic6/pyside2-uic/pyside6-uic process. |
429 pyuic5/pyuic6/pyside2-uic/pyside6-uic process. |
432 </p> |
430 </p> |
|
431 |
433 <a NAME="ProjectFormsBrowser.__resetUiCompiler" ID="ProjectFormsBrowser.__resetUiCompiler"></a> |
432 <a NAME="ProjectFormsBrowser.__resetUiCompiler" ID="ProjectFormsBrowser.__resetUiCompiler"></a> |
434 <h4>ProjectFormsBrowser.__resetUiCompiler</h4> |
433 <h4>ProjectFormsBrowser.__resetUiCompiler</h4> |
435 <b>__resetUiCompiler</b>(<i></i>) |
434 <b>__resetUiCompiler</b>(<i></i>) |
436 |
|
437 <p> |
435 <p> |
438 Private slot to reset the determined UI compiler executable. |
436 Private slot to reset the determined UI compiler executable. |
439 </p> |
437 </p> |
|
438 |
440 <a NAME="ProjectFormsBrowser.__showContextMenu" ID="ProjectFormsBrowser.__showContextMenu"></a> |
439 <a NAME="ProjectFormsBrowser.__showContextMenu" ID="ProjectFormsBrowser.__showContextMenu"></a> |
441 <h4>ProjectFormsBrowser.__showContextMenu</h4> |
440 <h4>ProjectFormsBrowser.__showContextMenu</h4> |
442 <b>__showContextMenu</b>(<i></i>) |
441 <b>__showContextMenu</b>(<i></i>) |
443 |
|
444 <p> |
442 <p> |
445 Private slot called by the menu aboutToShow signal. |
443 Private slot called by the menu aboutToShow signal. |
446 </p> |
444 </p> |
|
445 |
447 <a NAME="ProjectFormsBrowser.__showContextMenuBack" ID="ProjectFormsBrowser.__showContextMenuBack"></a> |
446 <a NAME="ProjectFormsBrowser.__showContextMenuBack" ID="ProjectFormsBrowser.__showContextMenuBack"></a> |
448 <h4>ProjectFormsBrowser.__showContextMenuBack</h4> |
447 <h4>ProjectFormsBrowser.__showContextMenuBack</h4> |
449 <b>__showContextMenuBack</b>(<i></i>) |
448 <b>__showContextMenuBack</b>(<i></i>) |
450 |
|
451 <p> |
449 <p> |
452 Private slot called by the backMenu aboutToShow signal. |
450 Private slot called by the backMenu aboutToShow signal. |
453 </p> |
451 </p> |
|
452 |
454 <a NAME="ProjectFormsBrowser.__showContextMenuDir" ID="ProjectFormsBrowser.__showContextMenuDir"></a> |
453 <a NAME="ProjectFormsBrowser.__showContextMenuDir" ID="ProjectFormsBrowser.__showContextMenuDir"></a> |
455 <h4>ProjectFormsBrowser.__showContextMenuDir</h4> |
454 <h4>ProjectFormsBrowser.__showContextMenuDir</h4> |
456 <b>__showContextMenuDir</b>(<i></i>) |
455 <b>__showContextMenuDir</b>(<i></i>) |
457 |
|
458 <p> |
456 <p> |
459 Private slot called by the dirMenu aboutToShow signal. |
457 Private slot called by the dirMenu aboutToShow signal. |
460 </p> |
458 </p> |
|
459 |
461 <a NAME="ProjectFormsBrowser.__showContextMenuDirMulti" ID="ProjectFormsBrowser.__showContextMenuDirMulti"></a> |
460 <a NAME="ProjectFormsBrowser.__showContextMenuDirMulti" ID="ProjectFormsBrowser.__showContextMenuDirMulti"></a> |
462 <h4>ProjectFormsBrowser.__showContextMenuDirMulti</h4> |
461 <h4>ProjectFormsBrowser.__showContextMenuDirMulti</h4> |
463 <b>__showContextMenuDirMulti</b>(<i></i>) |
462 <b>__showContextMenuDirMulti</b>(<i></i>) |
464 |
|
465 <p> |
463 <p> |
466 Private slot called by the dirMultiMenu aboutToShow signal. |
464 Private slot called by the dirMultiMenu aboutToShow signal. |
467 </p> |
465 </p> |
|
466 |
468 <a NAME="ProjectFormsBrowser.__showContextMenuMulti" ID="ProjectFormsBrowser.__showContextMenuMulti"></a> |
467 <a NAME="ProjectFormsBrowser.__showContextMenuMulti" ID="ProjectFormsBrowser.__showContextMenuMulti"></a> |
469 <h4>ProjectFormsBrowser.__showContextMenuMulti</h4> |
468 <h4>ProjectFormsBrowser.__showContextMenuMulti</h4> |
470 <b>__showContextMenuMulti</b>(<i></i>) |
469 <b>__showContextMenuMulti</b>(<i></i>) |
471 |
|
472 <p> |
470 <p> |
473 Private slot called by the multiMenu aboutToShow signal. |
471 Private slot called by the multiMenu aboutToShow signal. |
474 </p> |
472 </p> |
|
473 |
475 <a NAME="ProjectFormsBrowser._contextMenuRequested" ID="ProjectFormsBrowser._contextMenuRequested"></a> |
474 <a NAME="ProjectFormsBrowser._contextMenuRequested" ID="ProjectFormsBrowser._contextMenuRequested"></a> |
476 <h4>ProjectFormsBrowser._contextMenuRequested</h4> |
475 <h4>ProjectFormsBrowser._contextMenuRequested</h4> |
477 <b>_contextMenuRequested</b>(<i>coord</i>) |
476 <b>_contextMenuRequested</b>(<i>coord</i>) |
478 |
|
479 <p> |
477 <p> |
480 Protected slot to show the context menu. |
478 Protected slot to show the context menu. |
481 </p> |
479 </p> |
|
480 |
482 <dl> |
481 <dl> |
483 |
482 |
484 <dt><i>coord</i> (QPoint)</dt> |
483 <dt><i>coord</i> (QPoint)</dt> |
485 <dd> |
484 <dd> |
486 the position of the mouse pointer |
485 the position of the mouse pointer |
487 </dd> |
486 </dd> |
488 </dl> |
487 </dl> |
489 <a NAME="ProjectFormsBrowser._createPopupMenus" ID="ProjectFormsBrowser._createPopupMenus"></a> |
488 <a NAME="ProjectFormsBrowser._createPopupMenus" ID="ProjectFormsBrowser._createPopupMenus"></a> |
490 <h4>ProjectFormsBrowser._createPopupMenus</h4> |
489 <h4>ProjectFormsBrowser._createPopupMenus</h4> |
491 <b>_createPopupMenus</b>(<i></i>) |
490 <b>_createPopupMenus</b>(<i></i>) |
492 |
|
493 <p> |
491 <p> |
494 Protected overloaded method to generate the popup menu. |
492 Protected overloaded method to generate the popup menu. |
495 </p> |
493 </p> |
|
494 |
496 <a NAME="ProjectFormsBrowser._initHookMethods" ID="ProjectFormsBrowser._initHookMethods"></a> |
495 <a NAME="ProjectFormsBrowser._initHookMethods" ID="ProjectFormsBrowser._initHookMethods"></a> |
497 <h4>ProjectFormsBrowser._initHookMethods</h4> |
496 <h4>ProjectFormsBrowser._initHookMethods</h4> |
498 <b>_initHookMethods</b>(<i></i>) |
497 <b>_initHookMethods</b>(<i></i>) |
499 |
|
500 <p> |
498 <p> |
501 Protected method to initialize the hooks dictionary. |
499 Protected method to initialize the hooks dictionary. |
502 </p> |
500 </p> |
503 <p> |
501 <p> |
504 Supported hook methods are: |
502 Supported hook methods are: |