511 <td>Private method to return predefined variables.</td> |
511 <td>Private method to return predefined variables.</td> |
512 </tr><tr> |
512 </tr><tr> |
513 <td><a href="#TemplateViewer.__import">__import</a></td> |
513 <td><a href="#TemplateViewer.__import">__import</a></td> |
514 <td>Private slot to handle the Import context menu action.</td> |
514 <td>Private slot to handle the Import context menu action.</td> |
515 </tr><tr> |
515 </tr><tr> |
|
516 <td><a href="#TemplateViewer.__reload">__reload</a></td> |
|
517 <td>Private slot to reload the templates.</td> |
|
518 </tr><tr> |
516 <td><a href="#TemplateViewer.__remove">__remove</a></td> |
519 <td><a href="#TemplateViewer.__remove">__remove</a></td> |
517 <td>Private slot to handle the Remove context menu action.</td> |
520 <td>Private slot to handle the Remove context menu action.</td> |
518 </tr><tr> |
521 </tr><tr> |
519 <td><a href="#TemplateViewer.__resort">__resort</a></td> |
522 <td><a href="#TemplateViewer.__resort">__resort</a></td> |
520 <td>Private method to resort the tree.</td> |
523 <td>Private method to resort the tree.</td> |
521 </tr><tr> |
524 </tr><tr> |
522 <td><a href="#TemplateViewer.__save">__save</a></td> |
|
523 <td>Private slot to handle the Save context menu action.</td> |
|
524 </tr><tr> |
|
525 <td><a href="#TemplateViewer.__showContextMenu">__showContextMenu</a></td> |
525 <td><a href="#TemplateViewer.__showContextMenu">__showContextMenu</a></td> |
526 <td>Private slot to show the context menu of the list.</td> |
526 <td>Private slot to show the context menu of the list.</td> |
527 </tr><tr> |
527 </tr><tr> |
528 <td><a href="#TemplateViewer.__showHelp">__showHelp</a></td> |
528 <td><a href="#TemplateViewer.__showHelp">__showHelp</a></td> |
529 <td>Private method to show some help.</td> |
529 <td>Private method to show some help.</td> |
570 <td><a href="#TemplateViewer.removeEntry">removeEntry</a></td> |
570 <td><a href="#TemplateViewer.removeEntry">removeEntry</a></td> |
571 <td>Public method to remove a template entry.</td> |
571 <td>Public method to remove a template entry.</td> |
572 </tr><tr> |
572 </tr><tr> |
573 <td><a href="#TemplateViewer.removeGroup">removeGroup</a></td> |
573 <td><a href="#TemplateViewer.removeGroup">removeGroup</a></td> |
574 <td>Public method to remove a group.</td> |
574 <td>Public method to remove a group.</td> |
|
575 </tr><tr> |
|
576 <td><a href="#TemplateViewer.save">save</a></td> |
|
577 <td>Public slot to save the templates.</td> |
575 </tr><tr> |
578 </tr><tr> |
576 <td><a href="#TemplateViewer.writeTemplates">writeTemplates</a></td> |
579 <td><a href="#TemplateViewer.writeTemplates">writeTemplates</a></td> |
577 <td>Public method to write the templates data to an XML file (.e4c).</td> |
580 <td>Public method to write the templates data to an XML file (.e4c).</td> |
578 </tr> |
581 </tr> |
579 </table> |
582 </table> |
632 </dl><a NAME="TemplateViewer.__import" ID="TemplateViewer.__import"></a> |
635 </dl><a NAME="TemplateViewer.__import" ID="TemplateViewer.__import"></a> |
633 <h4>TemplateViewer.__import</h4> |
636 <h4>TemplateViewer.__import</h4> |
634 <b>__import</b>(<i></i>) |
637 <b>__import</b>(<i></i>) |
635 <p> |
638 <p> |
636 Private slot to handle the Import context menu action. |
639 Private slot to handle the Import context menu action. |
|
640 </p><a NAME="TemplateViewer.__reload" ID="TemplateViewer.__reload"></a> |
|
641 <h4>TemplateViewer.__reload</h4> |
|
642 <b>__reload</b>(<i></i>) |
|
643 <p> |
|
644 Private slot to reload the templates. |
637 </p><a NAME="TemplateViewer.__remove" ID="TemplateViewer.__remove"></a> |
645 </p><a NAME="TemplateViewer.__remove" ID="TemplateViewer.__remove"></a> |
638 <h4>TemplateViewer.__remove</h4> |
646 <h4>TemplateViewer.__remove</h4> |
639 <b>__remove</b>(<i></i>) |
647 <b>__remove</b>(<i></i>) |
640 <p> |
648 <p> |
641 Private slot to handle the Remove context menu action. |
649 Private slot to handle the Remove context menu action. |
642 </p><a NAME="TemplateViewer.__resort" ID="TemplateViewer.__resort"></a> |
650 </p><a NAME="TemplateViewer.__resort" ID="TemplateViewer.__resort"></a> |
643 <h4>TemplateViewer.__resort</h4> |
651 <h4>TemplateViewer.__resort</h4> |
644 <b>__resort</b>(<i></i>) |
652 <b>__resort</b>(<i></i>) |
645 <p> |
653 <p> |
646 Private method to resort the tree. |
654 Private method to resort the tree. |
647 </p><a NAME="TemplateViewer.__save" ID="TemplateViewer.__save"></a> |
|
648 <h4>TemplateViewer.__save</h4> |
|
649 <b>__save</b>(<i></i>) |
|
650 <p> |
|
651 Private slot to handle the Save context menu action. |
|
652 </p><a NAME="TemplateViewer.__showContextMenu" ID="TemplateViewer.__showContextMenu"></a> |
655 </p><a NAME="TemplateViewer.__showContextMenu" ID="TemplateViewer.__showContextMenu"></a> |
653 <h4>TemplateViewer.__showContextMenu</h4> |
656 <h4>TemplateViewer.__showContextMenu</h4> |
654 <b>__showContextMenu</b>(<i>coord</i>) |
657 <b>__showContextMenu</b>(<i>coord</i>) |
655 <p> |
658 <p> |
656 Private slot to show the context menu of the list. |
659 Private slot to show the context menu of the list. |
877 </p><dl> |
880 </p><dl> |
878 <dt><i>itm</i></dt> |
881 <dt><i>itm</i></dt> |
879 <dd> |
882 <dd> |
880 template group to be removed (TemplateGroup) |
883 template group to be removed (TemplateGroup) |
881 </dd> |
884 </dd> |
882 </dl><a NAME="TemplateViewer.writeTemplates" ID="TemplateViewer.writeTemplates"></a> |
885 </dl><a NAME="TemplateViewer.save" ID="TemplateViewer.save"></a> |
|
886 <h4>TemplateViewer.save</h4> |
|
887 <b>save</b>(<i></i>) |
|
888 <p> |
|
889 Public slot to save the templates. |
|
890 </p><a NAME="TemplateViewer.writeTemplates" ID="TemplateViewer.writeTemplates"></a> |
883 <h4>TemplateViewer.writeTemplates</h4> |
891 <h4>TemplateViewer.writeTemplates</h4> |
884 <b>writeTemplates</b>(<i>filename=None</i>) |
892 <b>writeTemplates</b>(<i>filename=None</i>) |
885 <p> |
893 <p> |
886 Public method to write the templates data to an XML file (.e4c). |
894 Public method to write the templates data to an XML file (.e4c). |
887 </p><dl> |
895 </p><dl> |
888 <dt><i>filename</i></dt> |
896 <dt><i>filename</i></dt> |
889 <dd> |
897 <dd> |
890 name of a templates file to read (string) |
898 name of a templates file to read (string) |
|
899 </dd> |
|
900 </dl><dl> |
|
901 <dt>Returns:</dt> |
|
902 <dd> |
|
903 flag indicating success (boolean) |
891 </dd> |
904 </dd> |
892 </dl> |
905 </dl> |
893 <div align="right"><a href="#top">Up</a></div> |
906 <div align="right"><a href="#top">Up</a></div> |
894 <hr /> |
907 <hr /> |
895 </body></html> |
908 </body></html> |