143 </dl> |
143 </dl> |
144 <h3>Derived from</h3> |
144 <h3>Derived from</h3> |
145 QObject |
145 QObject |
146 <h3>Class Attributes</h3> |
146 <h3>Class Attributes</h3> |
147 <table> |
147 <table> |
148 <tr><td>DB_VERSION</td></tr><tr><td>ac_context_stmt</td></tr><tr><td>ac_context_word_stmt</td></tr><tr><td>ac_stmt</td></tr><tr><td>api_files_stmt</td></tr><tr><td>create_acWord_idx</td></tr><tr><td>create_api_stmt</td></tr><tr><td>create_context_idx</td></tr><tr><td>create_file_idx</td></tr><tr><td>create_file_stmt</td></tr><tr><td>create_fullContext_idx</td></tr><tr><td>create_mgmt_stmt</td></tr><tr><td>ct_context_stmt</td></tr><tr><td>ct_fullContext_stmt</td></tr><tr><td>ct_stmt</td></tr><tr><td>drop_acWord_idx</td></tr><tr><td>drop_api_stmt</td></tr><tr><td>drop_context_idx</td></tr><tr><td>drop_file_idx</td></tr><tr><td>drop_file_stmt</td></tr><tr><td>drop_fullContext_idx</td></tr><tr><td>drop_mgmt_stmt</td></tr><tr><td>format_select_stmt</td></tr><tr><td>mgmt_insert_stmt</td></tr> |
148 <tr><td>DB_VERSION</td></tr><tr><td>ac_context_stmt</td></tr><tr><td>ac_context_word_stmt</td></tr><tr><td>ac_stmt</td></tr><tr><td>api_files_stmt</td></tr><tr><td>bases_stmt</td></tr><tr><td>create_acWord_idx</td></tr><tr><td>create_api_stmt</td></tr><tr><td>create_bases_idx</td></tr><tr><td>create_bases_stmt</td></tr><tr><td>create_context_idx</td></tr><tr><td>create_file_idx</td></tr><tr><td>create_file_stmt</td></tr><tr><td>create_fullContext_idx</td></tr><tr><td>create_mgmt_stmt</td></tr><tr><td>ct_context_stmt</td></tr><tr><td>ct_fullContext_stmt</td></tr><tr><td>ct_stmt</td></tr><tr><td>drop_acWord_idx</td></tr><tr><td>drop_api_stmt</td></tr><tr><td>drop_bases_idx</td></tr><tr><td>drop_bases_stmt</td></tr><tr><td>drop_context_idx</td></tr><tr><td>drop_file_idx</td></tr><tr><td>drop_file_stmt</td></tr><tr><td>drop_fullContext_idx</td></tr><tr><td>drop_mgmt_stmt</td></tr><tr><td>format_select_stmt</td></tr><tr><td>mgmt_insert_stmt</td></tr> |
149 </table> |
149 </table> |
150 <h3>Class Methods</h3> |
150 <h3>Class Methods</h3> |
151 <table> |
151 <table> |
152 <tr><td>None</td></tr> |
152 <tr><td>None</td></tr> |
153 </table> |
153 </table> |
363 <dd> |
363 <dd> |
364 list of API filenames (list of strings) |
364 list of API filenames (list of strings) |
365 </dd> |
365 </dd> |
366 </dl><a NAME="DbAPIs.getCalltips" ID="DbAPIs.getCalltips"></a> |
366 </dl><a NAME="DbAPIs.getCalltips" ID="DbAPIs.getCalltips"></a> |
367 <h4>DbAPIs.getCalltips</h4> |
367 <h4>DbAPIs.getCalltips</h4> |
368 <b>getCalltips</b>(<i>acWord, commas, context=None, fullContext=None, showContext=True</i>) |
368 <b>getCalltips</b>(<i>acWord, commas, context=None, fullContext=None, showContext=True, followHierarchy=False</i>) |
369 <p> |
369 <p> |
370 Public method to determine the calltips. |
370 Public method to determine the calltips. |
371 </p><dl> |
371 </p><dl> |
372 <dt><i>acWord</i></dt> |
372 <dt><i>acWord</i></dt> |
373 <dd> |
373 <dd> |
382 <dd> |
382 <dd> |
383 string giving the full context (string) |
383 string giving the full context (string) |
384 </dd><dt><i>showContext</i></dt> |
384 </dd><dt><i>showContext</i></dt> |
385 <dd> |
385 <dd> |
386 flag indicating to show the calltip context (boolean) |
386 flag indicating to show the calltip context (boolean) |
|
387 </dd><dt><i>followHierarchy=</i></dt> |
|
388 <dd> |
|
389 flag indicating to follow the hierarchy of |
|
390 base classes (boolean) |
387 </dd> |
391 </dd> |
388 </dl><dl> |
392 </dl><dl> |
389 <dt>Returns:</dt> |
393 <dt>Returns:</dt> |
390 <dd> |
394 <dd> |
391 list of calltips (list of string) |
395 list of calltips (list of string) |
392 </dd> |
396 </dd> |
393 </dl><a NAME="DbAPIs.getCompletions" ID="DbAPIs.getCompletions"></a> |
397 </dl><a NAME="DbAPIs.getCompletions" ID="DbAPIs.getCompletions"></a> |
394 <h4>DbAPIs.getCompletions</h4> |
398 <h4>DbAPIs.getCompletions</h4> |
395 <b>getCompletions</b>(<i>start=None, context=None</i>) |
399 <b>getCompletions</b>(<i>start=None, context=None, followHierarchy=False</i>) |
396 <p> |
400 <p> |
397 Public method to determine the possible completions. |
401 Public method to determine the possible completions. |
398 </p><dl> |
402 </p><dl> |
399 <dt><i>start=</i></dt> |
403 <dt><i>start=</i></dt> |
400 <dd> |
404 <dd> |
402 completed (string) |
406 completed (string) |
403 </dd><dt><i>context=</i></dt> |
407 </dd><dt><i>context=</i></dt> |
404 <dd> |
408 <dd> |
405 string giving the context (e.g. classname) |
409 string giving the context (e.g. classname) |
406 to be completed (string) |
410 to be completed (string) |
|
411 </dd><dt><i>followHierarchy=</i></dt> |
|
412 <dd> |
|
413 flag indicating to follow the hierarchy of |
|
414 base classes (boolean) |
407 </dd> |
415 </dd> |
408 </dl><dl> |
416 </dl><dl> |
409 <dt>Returns:</dt> |
417 <dt>Returns:</dt> |
410 <dd> |
418 <dd> |
411 list of dictionaries with possible completions (key 'completion' |
419 list of dictionaries with possible completions (key 'completion' |
443 </p> |
451 </p> |
444 <h3>Derived from</h3> |
452 <h3>Derived from</h3> |
445 QThread |
453 QThread |
446 <h3>Class Attributes</h3> |
454 <h3>Class Attributes</h3> |
447 <table> |
455 <table> |
448 <tr><td>file_delete_id_stmt</td></tr><tr><td>file_id_stmt</td></tr><tr><td>file_loaded_stmt</td></tr><tr><td>populate_api_stmt</td></tr><tr><td>populate_del_api_stmt</td></tr><tr><td>populate_file_stmt</td></tr><tr><td>update_file_stmt</td></tr> |
456 <tr><td>file_delete_id_stmt</td></tr><tr><td>file_id_stmt</td></tr><tr><td>file_loaded_stmt</td></tr><tr><td>populate_api_stmt</td></tr><tr><td>populate_bases_stmt</td></tr><tr><td>populate_del_api_stmt</td></tr><tr><td>populate_del_bases_stmt</td></tr><tr><td>populate_file_stmt</td></tr><tr><td>update_file_stmt</td></tr> |
449 </table> |
457 </table> |
450 <h3>Class Methods</h3> |
458 <h3>Class Methods</h3> |
451 <table> |
459 <table> |
452 <tr><td>None</td></tr> |
460 <tr><td>None</td></tr> |
453 </table> |
461 </table> |
552 <dd> |
560 <dd> |
553 filename of the raw API file (string) |
561 filename of the raw API file (string) |
554 </dd> |
562 </dd> |
555 </dl><a NAME="DbAPIsWorker.__storeApis" ID="DbAPIsWorker.__storeApis"></a> |
563 </dl><a NAME="DbAPIsWorker.__storeApis" ID="DbAPIsWorker.__storeApis"></a> |
556 <h4>DbAPIsWorker.__storeApis</h4> |
564 <h4>DbAPIsWorker.__storeApis</h4> |
557 <b>__storeApis</b>(<i>apis, apiFile, language</i>) |
565 <b>__storeApis</b>(<i>apis, bases, apiFile, language</i>) |
558 <p> |
566 <p> |
559 Private method to put the API entries into the database. |
567 Private method to put the API entries into the database. |
560 </p><dl> |
568 </p><dl> |
561 <dt><i>apis</i></dt> |
569 <dt><i>apis</i></dt> |
562 <dd> |
570 <dd> |
563 list of api entries (list of strings) |
571 list of api entries (list of strings) |
|
572 </dd><dt><i>bases</i></dt> |
|
573 <dd> |
|
574 list of base class entries (list of strings) |
564 </dd><dt><i>apiFile</i></dt> |
575 </dd><dt><i>apiFile</i></dt> |
565 <dd> |
576 <dd> |
566 filename of the file read to get the APIs (string) |
577 filename of the file read to get the APIs (string) |
567 </dd><dt><i>language</i></dt> |
578 </dd><dt><i>language</i></dt> |
568 <dd> |
579 <dd> |