305 <td>Public method to update the name of the group.</td> |
305 <td>Public method to update the name of the group.</td> |
306 </tr> |
306 </tr> |
307 </table> |
307 </table> |
308 <a NAME="TemplateGroup.__init__" ID="TemplateGroup.__init__"></a> |
308 <a NAME="TemplateGroup.__init__" ID="TemplateGroup.__init__"></a> |
309 <h4>TemplateGroup (Constructor)</h4> |
309 <h4>TemplateGroup (Constructor)</h4> |
310 <b>TemplateGroup</b>(<i>parent, name, language = "All"</i>) |
310 <b>TemplateGroup</b>(<i>parent, name, language="All"</i>) |
311 <p> |
311 <p> |
312 Constructor |
312 Constructor |
313 </p><dl> |
313 </p><dl> |
314 <dt><i>parent</i></dt> |
314 <dt><i>parent</i></dt> |
315 <dd> |
315 <dd> |
321 <dd> |
321 <dd> |
322 programming language for the group (string) |
322 programming language for the group (string) |
323 </dd> |
323 </dd> |
324 </dl><a NAME="TemplateGroup.addEntry" ID="TemplateGroup.addEntry"></a> |
324 </dl><a NAME="TemplateGroup.addEntry" ID="TemplateGroup.addEntry"></a> |
325 <h4>TemplateGroup.addEntry</h4> |
325 <h4>TemplateGroup.addEntry</h4> |
326 <b>addEntry</b>(<i>name, description, template, quiet = False</i>) |
326 <b>addEntry</b>(<i>name, description, template, quiet=False</i>) |
327 <p> |
327 <p> |
328 Public method to add a template entry to this group. |
328 Public method to add a template entry to this group. |
329 </p><dl> |
329 </p><dl> |
330 <dt><i>name</i></dt> |
330 <dt><i>name</i></dt> |
331 <dd> |
331 <dd> |
367 </dd> |
367 </dd> |
368 </dl><a NAME="TemplateGroup.getEntryNames" ID="TemplateGroup.getEntryNames"></a> |
368 </dl><a NAME="TemplateGroup.getEntryNames" ID="TemplateGroup.getEntryNames"></a> |
369 <h4>TemplateGroup.getEntryNames</h4> |
369 <h4>TemplateGroup.getEntryNames</h4> |
370 <b>getEntryNames</b>(<i>beginning</i>) |
370 <b>getEntryNames</b>(<i>beginning</i>) |
371 <p> |
371 <p> |
372 Public method to get the names of all entries, who's name starts with the |
372 Public method to get the names of all entries, who's name starts with the |
373 given string. |
373 given string. |
374 </p><dl> |
374 </p><dl> |
375 <dt><i>beginning</i></dt> |
375 <dt><i>beginning</i></dt> |
376 <dd> |
376 <dd> |
377 string denoting the beginning of the template name |
377 string denoting the beginning of the template name |
637 <b>__showHelp</b>(<i></i>) |
637 <b>__showHelp</b>(<i></i>) |
638 <p> |
638 <p> |
639 Private method to show some help. |
639 Private method to show some help. |
640 </p><a NAME="TemplateViewer.__templateItemActivated" ID="TemplateViewer.__templateItemActivated"></a> |
640 </p><a NAME="TemplateViewer.__templateItemActivated" ID="TemplateViewer.__templateItemActivated"></a> |
641 <h4>TemplateViewer.__templateItemActivated</h4> |
641 <h4>TemplateViewer.__templateItemActivated</h4> |
642 <b>__templateItemActivated</b>(<i>itm = None, col = 0</i>) |
642 <b>__templateItemActivated</b>(<i>itm=None, col=0</i>) |
643 <p> |
643 <p> |
644 Private slot to handle the activation of an item. |
644 Private slot to handle the activation of an item. |
645 </p><dl> |
645 </p><dl> |
646 <dt><i>itm</i></dt> |
646 <dt><i>itm</i></dt> |
647 <dd> |
647 <dd> |
648 reference to the activated item (QTreeWidgetItem) |
648 reference to the activated item (QTreeWidgetItem) |
649 </dd><dt><i>col</i></dt> |
649 </dd><dt><i>col</i></dt> |
650 <dd> |
650 <dd> |
651 column the item was activated in (integer) |
651 column the item was activated in (integer) |
652 </dd> |
652 </dd> |
653 </dl><a NAME="TemplateViewer.addEntry" ID="TemplateViewer.addEntry"></a> |
653 </dl><a NAME="TemplateViewer.addEntry" ID="TemplateViewer.addEntry"></a> |
654 <h4>TemplateViewer.addEntry</h4> |
654 <h4>TemplateViewer.addEntry</h4> |
655 <b>addEntry</b>(<i>groupName, name, description, template, quiet = False</i>) |
655 <b>addEntry</b>(<i>groupName, name, description, template, quiet=False</i>) |
656 <p> |
656 <p> |
657 Public method to add a template entry. |
657 Public method to add a template entry. |
658 </p><dl> |
658 </p><dl> |
659 <dt><i>groupName</i></dt> |
659 <dt><i>groupName</i></dt> |
660 <dd> |
660 <dd> |
672 <dd> |
672 <dd> |
673 flag indicating quiet operation (boolean) |
673 flag indicating quiet operation (boolean) |
674 </dd> |
674 </dd> |
675 </dl><a NAME="TemplateViewer.addGroup" ID="TemplateViewer.addGroup"></a> |
675 </dl><a NAME="TemplateViewer.addGroup" ID="TemplateViewer.addGroup"></a> |
676 <h4>TemplateViewer.addGroup</h4> |
676 <h4>TemplateViewer.addGroup</h4> |
677 <b>addGroup</b>(<i>name, language = "All"</i>) |
677 <b>addGroup</b>(<i>name, language="All"</i>) |
678 <p> |
678 <p> |
679 Public method to add a group. |
679 Public method to add a group. |
680 </p><dl> |
680 </p><dl> |
681 <dt><i>name</i></dt> |
681 <dt><i>name</i></dt> |
682 <dd> |
682 <dd> |
728 <dd> |
728 <dd> |
729 template text of the entry (string) |
729 template text of the entry (string) |
730 </dd> |
730 </dd> |
731 </dl><a NAME="TemplateViewer.changeGroup" ID="TemplateViewer.changeGroup"></a> |
731 </dl><a NAME="TemplateViewer.changeGroup" ID="TemplateViewer.changeGroup"></a> |
732 <h4>TemplateViewer.changeGroup</h4> |
732 <h4>TemplateViewer.changeGroup</h4> |
733 <b>changeGroup</b>(<i>oldname, newname, language = "All"</i>) |
733 <b>changeGroup</b>(<i>oldname, newname, language="All"</i>) |
734 <p> |
734 <p> |
735 Public method to rename a group. |
735 Public method to rename a group. |
736 </p><dl> |
736 </p><dl> |
737 <dt><i>oldname</i></dt> |
737 <dt><i>oldname</i></dt> |
738 <dd> |
738 <dd> |
794 <dd> |
794 <dd> |
795 flag indicating the existence (boolean) |
795 flag indicating the existence (boolean) |
796 </dd> |
796 </dd> |
797 </dl><a NAME="TemplateViewer.readTemplates" ID="TemplateViewer.readTemplates"></a> |
797 </dl><a NAME="TemplateViewer.readTemplates" ID="TemplateViewer.readTemplates"></a> |
798 <h4>TemplateViewer.readTemplates</h4> |
798 <h4>TemplateViewer.readTemplates</h4> |
799 <b>readTemplates</b>(<i>filename = None</i>) |
799 <b>readTemplates</b>(<i>filename=None</i>) |
800 <p> |
800 <p> |
801 Public method to read in the templates file (.e4c) |
801 Public method to read in the templates file (.e4c) |
802 </p><dl> |
802 </p><dl> |
803 <dt><i>filename</i></dt> |
803 <dt><i>filename</i></dt> |
804 <dd> |
804 <dd> |
824 <dd> |
824 <dd> |
825 template group to be removed (TemplateGroup) |
825 template group to be removed (TemplateGroup) |
826 </dd> |
826 </dd> |
827 </dl><a NAME="TemplateViewer.writeTemplates" ID="TemplateViewer.writeTemplates"></a> |
827 </dl><a NAME="TemplateViewer.writeTemplates" ID="TemplateViewer.writeTemplates"></a> |
828 <h4>TemplateViewer.writeTemplates</h4> |
828 <h4>TemplateViewer.writeTemplates</h4> |
829 <b>writeTemplates</b>(<i>filename = None</i>) |
829 <b>writeTemplates</b>(<i>filename=None</i>) |
830 <p> |
830 <p> |
831 Public method to write the templates data to an XML file (.e4c). |
831 Public method to write the templates data to an XML file (.e4c). |
832 </p><dl> |
832 </p><dl> |
833 <dt><i>filename</i></dt> |
833 <dt><i>filename</i></dt> |
834 <dd> |
834 <dd> |