Documentation/Source/eric5.Templates.TemplateViewer.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Templates.TemplateViewer</h1> 23 <h1>eric5.Templates.TemplateViewer</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#105;&#101;w&#101;&#114; &#97;&#110;&#100; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#101;&#100; &#99;&#108;&#97;&#115;&#115;&#101;&#115;. 25 Module implementing a template viewer and associated classes.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#TemplateEntry">TemplateEntry</a></td> 34 <td><a href="#TemplateEntry">TemplateEntry</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y.</td> 35 <td>Class immplementing a template entry.</td>
36 </tr><tr> 36 </tr><tr>
37 <td><a href="#TemplateGroup">TemplateGroup</a></td> 37 <td><a href="#TemplateGroup">TemplateGroup</a></td>
38 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#103;&#114;&#111;&#117;&#112;.</td> 38 <td>Class implementing a template group.</td>
39 </tr><tr> 39 </tr><tr>
40 <td><a href="#TemplateViewer">TemplateViewer</a></td> 40 <td><a href="#TemplateViewer">TemplateViewer</a></td>
41 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#105;&#101;w&#101;&#114;.</td> 41 <td>Class implementing the template viewer.</td>
42 </tr> 42 </tr>
43 </table> 43 </table>
44 <h3>Functions</h3> 44 <h3>Functions</h3>
45 <table> 45 <table>
46 <tr><td>None</td></tr> 46 <tr><td>None</td></tr>
47 </table> 47 </table>
48 <hr /><hr /> 48 <hr /><hr />
49 <a NAME="TemplateEntry" ID="TemplateEntry"></a> 49 <a NAME="TemplateEntry" ID="TemplateEntry"></a>
50 <h2>TemplateEntry</h2> 50 <h2>TemplateEntry</h2>
51 <p> 51 <p>
52 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y. 52 Class immplementing a template entry.
53 </p> 53 </p>
54 <h3>Derived from</h3> 54 <h3>Derived from</h3>
55 QTreeWidgetItem 55 QTreeWidgetItem
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
57 <table> 57 <table>
59 </table> 59 </table>
60 <h3>Methods</h3> 60 <h3>Methods</h3>
61 <table> 61 <table>
62 <tr> 62 <tr>
63 <td><a href="#TemplateEntry.__init__">TemplateEntry</a></td> 63 <td><a href="#TemplateEntry.__init__">TemplateEntry</a></td>
64 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 64 <td>Constructor</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#TemplateEntry.__displayText">__displayText</a></td> 66 <td><a href="#TemplateEntry.__displayText">__displayText</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#101;x&#116;.</td> 67 <td>Private method to generate the display text.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#TemplateEntry.__expandFormattedVariable">__expandFormattedVariable</a></td> 69 <td><a href="#TemplateEntry.__expandFormattedVariable">__expandFormattedVariable</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; w&#105;&#116;&#104; &#115;&#112;&#101;&#99;&#105;&#97;&#108; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#105;&#110;&#103;.</td> 70 <td>Private method to expand a template variable with special formatting.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#TemplateEntry.__extractVariables">__extractVariables</a></td> 72 <td><a href="#TemplateEntry.__extractVariables">__extractVariables</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;.</td> 73 <td>Private method to retrieve the list of variables.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#TemplateEntry.getDescription">getDescription</a></td> 75 <td><a href="#TemplateEntry.getDescription">getDescription</a></td>
76 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y.</td> 76 <td>Public method to get the description of the entry.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#TemplateEntry.getExpandedText">getExpandedText</a></td> 78 <td><a href="#TemplateEntry.getExpandedText">getExpandedText</a></td>
79 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; w&#105;&#116;&#104; &#97;&#108;&#108; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#101;x&#112;&#97;&#110;&#100;&#101;&#100;.</td> 79 <td>Public method to get the template text with all variables expanded.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#TemplateEntry.getGroupName">getGroupName</a></td> 81 <td><a href="#TemplateEntry.getGroupName">getGroupName</a></td>
82 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#116;&#104;&#105;&#115; &#101;&#110;&#116;&#114;y &#98;&#101;&#108;&#111;&#110;&#103;&#115; &#116;&#111;.</td> 82 <td>Public method to get the name of the group this entry belongs to.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#TemplateEntry.getName">getName</a></td> 84 <td><a href="#TemplateEntry.getName">getName</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y.</td> 85 <td>Public method to get the name of the entry.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#TemplateEntry.getTemplateText">getTemplateText</a></td> 87 <td><a href="#TemplateEntry.getTemplateText">getTemplateText</a></td>
88 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116;.</td> 88 <td>Public method to get the template text.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#TemplateEntry.getVariables">getVariables</a></td> 90 <td><a href="#TemplateEntry.getVariables">getVariables</a></td>
91 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;.</td> 91 <td>Public method to get the list of variables.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#TemplateEntry.setDescription">setDescription</a></td> 93 <td><a href="#TemplateEntry.setDescription">setDescription</a></td>
94 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y.</td> 94 <td>Public method to update the description of the entry.</td>
95 </tr><tr> 95 </tr><tr>
96 <td><a href="#TemplateEntry.setName">setName</a></td> 96 <td><a href="#TemplateEntry.setName">setName</a></td>
97 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y.</td> 97 <td>Public method to update the name of the entry.</td>
98 </tr><tr> 98 </tr><tr>
99 <td><a href="#TemplateEntry.setTemplateText">setTemplateText</a></td> 99 <td><a href="#TemplateEntry.setTemplateText">setTemplateText</a></td>
100 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116;.</td> 100 <td>Public method to update the template text.</td>
101 </tr> 101 </tr>
102 </table> 102 </table>
103 <a NAME="TemplateEntry.__init__" ID="TemplateEntry.__init__"></a> 103 <a NAME="TemplateEntry.__init__" ID="TemplateEntry.__init__"></a>
104 <h4>TemplateEntry (Constructor)</h4> 104 <h4>TemplateEntry (Constructor)</h4>
105 <b>TemplateEntry</b>(<i>parent, name, description, templateText</i>) 105 <b>TemplateEntry</b>(<i>parent, name, description, templateText</i>)
106 <p> 106 <p>
107 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 107 Constructor
108 </p><dl> 108 </p><dl>
109 <dt><i>parent</i></dt> 109 <dt><i>parent</i></dt>
110 <dd> 110 <dd>
111 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 111 parent widget of the template entry (QWidget)
112 </dd><dt><i>name</i></dt> 112 </dd><dt><i>name</i></dt>
113 <dd> 113 <dd>
114 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 114 name of the entry (string)
115 </dd><dt><i>description</i></dt> 115 </dd><dt><i>description</i></dt>
116 <dd> 116 <dd>
117 &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;v&#101; &#116;&#101;x&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 117 descriptive text for the template (string)
118 </dd><dt><i>templateText</i></dt> 118 </dd><dt><i>templateText</i></dt>
119 <dd> 119 <dd>
120 &#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 120 text of the template entry (string)
121 </dd> 121 </dd>
122 </dl><a NAME="TemplateEntry.__displayText" ID="TemplateEntry.__displayText"></a> 122 </dl><a NAME="TemplateEntry.__displayText" ID="TemplateEntry.__displayText"></a>
123 <h4>TemplateEntry.__displayText</h4> 123 <h4>TemplateEntry.__displayText</h4>
124 <b>__displayText</b>(<i></i>) 124 <b>__displayText</b>(<i></i>)
125 <p> 125 <p>
126 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#101;x&#116;. 126 Private method to generate the display text.
127 </p><dl> 127 </p><dl>
128 <dt>Returns:</dt> 128 <dt>Returns:</dt>
129 <dd> 129 <dd>
130 &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 130 display text (string)
131 </dd> 131 </dd>
132 </dl><a NAME="TemplateEntry.__expandFormattedVariable" ID="TemplateEntry.__expandFormattedVariable"></a> 132 </dl><a NAME="TemplateEntry.__expandFormattedVariable" ID="TemplateEntry.__expandFormattedVariable"></a>
133 <h4>TemplateEntry.__expandFormattedVariable</h4> 133 <h4>TemplateEntry.__expandFormattedVariable</h4>
134 <b>__expandFormattedVariable</b>(<i>var, val, txt</i>) 134 <b>__expandFormattedVariable</b>(<i>var, val, txt</i>)
135 <p> 135 <p>
136 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; w&#105;&#116;&#104; &#115;&#112;&#101;&#99;&#105;&#97;&#108; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#105;&#110;&#103;. 136 Private method to expand a template variable with special formatting.
137 </p><dl> 137 </p><dl>
138 <dt><i>var</i></dt> 138 <dt><i>var</i></dt>
139 <dd> 139 <dd>
140 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#110;&#97;&#109;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 140 template variable name (string)
141 </dd><dt><i>val</i></dt> 141 </dd><dt><i>val</i></dt>
142 <dd> 142 <dd>
143 v&#97;&#108;&#117;&#101; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 143 value of the template variable (string)
144 </dd><dt><i>txt</i></dt> 144 </dd><dt><i>txt</i></dt>
145 <dd> 145 <dd>
146 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 146 template text (string)
147 </dd> 147 </dd>
148 </dl><a NAME="TemplateEntry.__extractVariables" ID="TemplateEntry.__extractVariables"></a> 148 </dl><a NAME="TemplateEntry.__extractVariables" ID="TemplateEntry.__extractVariables"></a>
149 <h4>TemplateEntry.__extractVariables</h4> 149 <h4>TemplateEntry.__extractVariables</h4>
150 <b>__extractVariables</b>(<i></i>) 150 <b>__extractVariables</b>(<i></i>)
151 <p> 151 <p>
152 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;. 152 Private method to retrieve the list of variables.
153 </p><a NAME="TemplateEntry.getDescription" ID="TemplateEntry.getDescription"></a> 153 </p><a NAME="TemplateEntry.getDescription" ID="TemplateEntry.getDescription"></a>
154 <h4>TemplateEntry.getDescription</h4> 154 <h4>TemplateEntry.getDescription</h4>
155 <b>getDescription</b>(<i></i>) 155 <b>getDescription</b>(<i></i>)
156 <p> 156 <p>
157 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y. 157 Public method to get the description of the entry.
158 </p><dl> 158 </p><dl>
159 <dt>Returns:</dt> 159 <dt>Returns:</dt>
160 <dd> 160 <dd>
161 &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 161 description of the entry (string)
162 </dd> 162 </dd>
163 </dl><a NAME="TemplateEntry.getExpandedText" ID="TemplateEntry.getExpandedText"></a> 163 </dl><a NAME="TemplateEntry.getExpandedText" ID="TemplateEntry.getExpandedText"></a>
164 <h4>TemplateEntry.getExpandedText</h4> 164 <h4>TemplateEntry.getExpandedText</h4>
165 <b>getExpandedText</b>(<i>varDict, indent</i>) 165 <b>getExpandedText</b>(<i>varDict, indent</i>)
166 <p> 166 <p>
167 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; w&#105;&#116;&#104; &#97;&#108;&#108; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#101;x&#112;&#97;&#110;&#100;&#101;&#100;. 167 Public method to get the template text with all variables expanded.
168 </p><dl> 168 </p><dl>
169 <dt><i>varDict</i></dt> 169 <dt><i>varDict</i></dt>
170 <dd> 170 <dd>
171 &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#101;x&#116;&#115; &#111;&#102; &#101;&#97;&#99;&#104; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; 171 dictionary containing the texts of each variable
172 w&#105;&#116;&#104; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#110;&#97;&#109;&#101; &#97;&#115; &#107;&#101;y. 172 with the variable name as key.
173 </dd><dt><i>indent</i></dt> 173 </dd><dt><i>indent</i></dt>
174 <dd> 174 <dd>
175 &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101; &#114;&#101;&#99;&#101;&#105;v&#105;&#110;&#103; &#104;&#101; &#101;x&#112;&#97;&#110;&#100;&#101;&#100; 175 indentation of the line receiving he expanded
176 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 176 template text (string)
177 </dd> 177 </dd>
178 </dl><dl> 178 </dl><dl>
179 <dt>Returns:</dt> 179 <dt>Returns:</dt>
180 <dd> 180 <dd>
181 &#97; &#116;&#117;&#112;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#101;x&#112;&#97;&#110;&#100;&#101;&#100; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;), &#116;&#104;&#101; 181 a tuple of the expanded template text (string), the
182 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#108;&#105;&#110;&#101;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) &#97;&#110;&#100; &#116;&#104;&#101; &#108;&#101;&#110;&#103;&#116;&#104; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#115;&#116; &#108;&#105;&#110;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 182 number of lines (integer) and the length of the last line (integer)
183 </dd> 183 </dd>
184 </dl><a NAME="TemplateEntry.getGroupName" ID="TemplateEntry.getGroupName"></a> 184 </dl><a NAME="TemplateEntry.getGroupName" ID="TemplateEntry.getGroupName"></a>
185 <h4>TemplateEntry.getGroupName</h4> 185 <h4>TemplateEntry.getGroupName</h4>
186 <b>getGroupName</b>(<i></i>) 186 <b>getGroupName</b>(<i></i>)
187 <p> 187 <p>
188 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#116;&#104;&#105;&#115; &#101;&#110;&#116;&#114;y &#98;&#101;&#108;&#111;&#110;&#103;&#115; &#116;&#111;. 188 Public method to get the name of the group this entry belongs to.
189 </p><dl> 189 </p><dl>
190 <dt>Returns:</dt> 190 <dt>Returns:</dt>
191 <dd> 191 <dd>
192 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#105;&#115; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 192 name of the group containing this entry (string)
193 </dd> 193 </dd>
194 </dl><a NAME="TemplateEntry.getName" ID="TemplateEntry.getName"></a> 194 </dl><a NAME="TemplateEntry.getName" ID="TemplateEntry.getName"></a>
195 <h4>TemplateEntry.getName</h4> 195 <h4>TemplateEntry.getName</h4>
196 <b>getName</b>(<i></i>) 196 <b>getName</b>(<i></i>)
197 <p> 197 <p>
198 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y. 198 Public method to get the name of the entry.
199 </p><dl> 199 </p><dl>
200 <dt>Returns:</dt> 200 <dt>Returns:</dt>
201 <dd> 201 <dd>
202 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 202 name of the entry (string)
203 </dd> 203 </dd>
204 </dl><a NAME="TemplateEntry.getTemplateText" ID="TemplateEntry.getTemplateText"></a> 204 </dl><a NAME="TemplateEntry.getTemplateText" ID="TemplateEntry.getTemplateText"></a>
205 <h4>TemplateEntry.getTemplateText</h4> 205 <h4>TemplateEntry.getTemplateText</h4>
206 <b>getTemplateText</b>(<i></i>) 206 <b>getTemplateText</b>(<i></i>)
207 <p> 207 <p>
208 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116;. 208 Public method to get the template text.
209 </p><dl> 209 </p><dl>
210 <dt>Returns:</dt> 210 <dt>Returns:</dt>
211 <dd> 211 <dd>
212 &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 212 the template text (string)
213 </dd> 213 </dd>
214 </dl><a NAME="TemplateEntry.getVariables" ID="TemplateEntry.getVariables"></a> 214 </dl><a NAME="TemplateEntry.getVariables" ID="TemplateEntry.getVariables"></a>
215 <h4>TemplateEntry.getVariables</h4> 215 <h4>TemplateEntry.getVariables</h4>
216 <b>getVariables</b>(<i></i>) 216 <b>getVariables</b>(<i></i>)
217 <p> 217 <p>
218 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;. 218 Public method to get the list of variables.
219 </p><dl> 219 </p><dl>
220 <dt>Returns:</dt> 220 <dt>Returns:</dt>
221 <dd> 221 <dd>
222 &#108;&#105;&#115;&#116; &#111;&#102; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 222 list of variables (list of strings)
223 </dd> 223 </dd>
224 </dl><a NAME="TemplateEntry.setDescription" ID="TemplateEntry.setDescription"></a> 224 </dl><a NAME="TemplateEntry.setDescription" ID="TemplateEntry.setDescription"></a>
225 <h4>TemplateEntry.setDescription</h4> 225 <h4>TemplateEntry.setDescription</h4>
226 <b>setDescription</b>(<i>description</i>) 226 <b>setDescription</b>(<i>description</i>)
227 <p> 227 <p>
228 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y. 228 Public method to update the description of the entry.
229 </p><dl> 229 </p><dl>
230 <dt><i>description</i></dt> 230 <dt><i>description</i></dt>
231 <dd> 231 <dd>
232 &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 232 description of the entry (string)
233 </dd> 233 </dd>
234 </dl><a NAME="TemplateEntry.setName" ID="TemplateEntry.setName"></a> 234 </dl><a NAME="TemplateEntry.setName" ID="TemplateEntry.setName"></a>
235 <h4>TemplateEntry.setName</h4> 235 <h4>TemplateEntry.setName</h4>
236 <b>setName</b>(<i>name</i>) 236 <b>setName</b>(<i>name</i>)
237 <p> 237 <p>
238 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y. 238 Public method to update the name of the entry.
239 </p><dl> 239 </p><dl>
240 <dt><i>name</i></dt> 240 <dt><i>name</i></dt>
241 <dd> 241 <dd>
242 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 242 name of the entry (string)
243 </dd> 243 </dd>
244 </dl><a NAME="TemplateEntry.setTemplateText" ID="TemplateEntry.setTemplateText"></a> 244 </dl><a NAME="TemplateEntry.setTemplateText" ID="TemplateEntry.setTemplateText"></a>
245 <h4>TemplateEntry.setTemplateText</h4> 245 <h4>TemplateEntry.setTemplateText</h4>
246 <b>setTemplateText</b>(<i>templateText</i>) 246 <b>setTemplateText</b>(<i>templateText</i>)
247 <p> 247 <p>
248 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116;. 248 Public method to update the template text.
249 </p><dl> 249 </p><dl>
250 <dt><i>templateText</i></dt> 250 <dt><i>templateText</i></dt>
251 <dd> 251 <dd>
252 &#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 252 text of the template entry (string)
253 </dd> 253 </dd>
254 </dl> 254 </dl>
255 <div align="right"><a href="#top">Up</a></div> 255 <div align="right"><a href="#top">Up</a></div>
256 <hr /><hr /> 256 <hr /><hr />
257 <a NAME="TemplateGroup" ID="TemplateGroup"></a> 257 <a NAME="TemplateGroup" ID="TemplateGroup"></a>
258 <h2>TemplateGroup</h2> 258 <h2>TemplateGroup</h2>
259 <p> 259 <p>
260 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#103;&#114;&#111;&#117;&#112;. 260 Class implementing a template group.
261 </p> 261 </p>
262 <h3>Derived from</h3> 262 <h3>Derived from</h3>
263 QTreeWidgetItem 263 QTreeWidgetItem
264 <h3>Class Attributes</h3> 264 <h3>Class Attributes</h3>
265 <table> 265 <table>
267 </table> 267 </table>
268 <h3>Methods</h3> 268 <h3>Methods</h3>
269 <table> 269 <table>
270 <tr> 270 <tr>
271 <td><a href="#TemplateGroup.__init__">TemplateGroup</a></td> 271 <td><a href="#TemplateGroup.__init__">TemplateGroup</a></td>
272 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 272 <td>Constructor</td>
273 </tr><tr> 273 </tr><tr>
274 <td><a href="#TemplateGroup.addEntry">addEntry</a></td> 274 <td><a href="#TemplateGroup.addEntry">addEntry</a></td>
275 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#116;&#104;&#105;&#115; &#103;&#114;&#111;&#117;&#112;.</td> 275 <td>Public method to add a template entry to this group.</td>
276 </tr><tr> 276 </tr><tr>
277 <td><a href="#TemplateGroup.getAllEntries">getAllEntries</a></td> 277 <td><a href="#TemplateGroup.getAllEntries">getAllEntries</a></td>
278 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115;.</td> 278 <td>Public method to retrieve all entries.</td>
279 </tr><tr> 279 </tr><tr>
280 <td><a href="#TemplateGroup.getEntry">getEntry</a></td> 280 <td><a href="#TemplateGroup.getEntry">getEntry</a></td>
281 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#110; &#101;&#110;&#116;&#114;y.</td> 281 <td>Public method to get an entry.</td>
282 </tr><tr> 282 </tr><tr>
283 <td><a href="#TemplateGroup.getEntryNames">getEntryNames</a></td> 283 <td><a href="#TemplateGroup.getEntryNames">getEntryNames</a></td>
284 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101;&#115; &#111;&#102; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115;, w&#104;&#111;'&#115; &#110;&#97;&#109;&#101; &#115;&#116;&#97;&#114;&#116;&#115; w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#115;&#116;&#114;&#105;&#110;&#103;.</td> 284 <td>Public method to get the names of all entries, who's name starts with the given string.</td>
285 </tr><tr> 285 </tr><tr>
286 <td><a href="#TemplateGroup.getLanguage">getLanguage</a></td> 286 <td><a href="#TemplateGroup.getLanguage">getLanguage</a></td>
287 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;.</td> 287 <td>Public method to get the name of the group.</td>
288 </tr><tr> 288 </tr><tr>
289 <td><a href="#TemplateGroup.getName">getName</a></td> 289 <td><a href="#TemplateGroup.getName">getName</a></td>
290 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;.</td> 290 <td>Public method to get the name of the group.</td>
291 </tr><tr> 291 </tr><tr>
292 <td><a href="#TemplateGroup.hasEntry">hasEntry</a></td> 292 <td><a href="#TemplateGroup.hasEntry">hasEntry</a></td>
293 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#104;&#97;&#115; &#97;&#110; &#101;&#110;&#116;&#114;y w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#110;&#97;&#109;&#101;.</td> 293 <td>Public method to check, if the group has an entry with the given name.</td>
294 </tr><tr> 294 </tr><tr>
295 <td><a href="#TemplateGroup.removeAllEntries">removeAllEntries</a></td> 295 <td><a href="#TemplateGroup.removeAllEntries">removeAllEntries</a></td>
296 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#108;&#108; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#105;&#115; &#103;&#114;&#111;&#117;&#112;.</td> 296 <td>Public method to remove all template entries of this group.</td>
297 </tr><tr> 297 </tr><tr>
298 <td><a href="#TemplateGroup.removeEntry">removeEntry</a></td> 298 <td><a href="#TemplateGroup.removeEntry">removeEntry</a></td>
299 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y &#102;&#114;&#111;&#109; &#116;&#104;&#105;&#115; &#103;&#114;&#111;&#117;&#112;.</td> 299 <td>Public method to remove a template entry from this group.</td>
300 </tr><tr> 300 </tr><tr>
301 <td><a href="#TemplateGroup.setLanguage">setLanguage</a></td> 301 <td><a href="#TemplateGroup.setLanguage">setLanguage</a></td>
302 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;.</td> 302 <td>Public method to update the name of the group.</td>
303 </tr><tr> 303 </tr><tr>
304 <td><a href="#TemplateGroup.setName">setName</a></td> 304 <td><a href="#TemplateGroup.setName">setName</a></td>
305 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;.</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 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 312 Constructor
313 </p><dl> 313 </p><dl>
314 <dt><i>parent</i></dt> 314 <dt><i>parent</i></dt>
315 <dd> 315 <dd>
316 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#103;&#114;&#111;&#117;&#112; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 316 parent widget of the template group (QWidget)
317 </dd><dt><i>name</i></dt> 317 </dd><dt><i>name</i></dt>
318 <dd> 318 <dd>
319 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 319 name of the group (string)
320 </dd><dt><i>language</i></dt> 320 </dd><dt><i>language</i></dt>
321 <dd> 321 <dd>
322 &#112;&#114;&#111;&#103;&#114;&#97;&#109;&#109;&#105;&#110;&#103; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#116;&#104;&#105;&#115; &#103;&#114;&#111;&#117;&#112;. 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>
332 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 332 name of the entry (string)
333 </dd><dt><i>description</i></dt> 333 </dd><dt><i>description</i></dt>
334 <dd> 334 <dd>
335 &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#97;&#100;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 335 description of the entry to add (string)
336 </dd><dt><i>template</i></dt> 336 </dd><dt><i>template</i></dt>
337 <dd> 337 <dd>
338 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 338 template text of the entry (string)
339 </dd><dt><i>quiet</i></dt> 339 </dd><dt><i>quiet</i></dt>
340 <dd> 340 <dd>
341 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#113;&#117;&#105;&#101;&#116; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 341 flag indicating quiet operation (boolean)
342 </dd> 342 </dd>
343 </dl><a NAME="TemplateGroup.getAllEntries" ID="TemplateGroup.getAllEntries"></a> 343 </dl><a NAME="TemplateGroup.getAllEntries" ID="TemplateGroup.getAllEntries"></a>
344 <h4>TemplateGroup.getAllEntries</h4> 344 <h4>TemplateGroup.getAllEntries</h4>
345 <b>getAllEntries</b>(<i></i>) 345 <b>getAllEntries</b>(<i></i>)
346 <p> 346 <p>
347 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115;. 347 Public method to retrieve all entries.
348 </p><dl> 348 </p><dl>
349 <dt>Returns:</dt> 349 <dt>Returns:</dt>
350 <dd> 350 <dd>
351 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#69;&#110;&#116;&#114;y) 351 list of all entries (list of TemplateEntry)
352 </dd> 352 </dd>
353 </dl><a NAME="TemplateGroup.getEntry" ID="TemplateGroup.getEntry"></a> 353 </dl><a NAME="TemplateGroup.getEntry" ID="TemplateGroup.getEntry"></a>
354 <h4>TemplateGroup.getEntry</h4> 354 <h4>TemplateGroup.getEntry</h4>
355 <b>getEntry</b>(<i>name</i>) 355 <b>getEntry</b>(<i>name</i>)
356 <p> 356 <p>
357 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#110; &#101;&#110;&#116;&#114;y. 357 Public method to get an entry.
358 </p><dl> 358 </p><dl>
359 <dt><i>name</i></dt> 359 <dt><i>name</i></dt>
360 <dd> 360 <dd>
361 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 361 name of the entry to retrieve (string)
362 </dd> 362 </dd>
363 </dl><dl> 363 </dl><dl>
364 <dt>Returns:</dt> 364 <dt>Returns:</dt>
365 <dd> 365 <dd>
366 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#69;&#110;&#116;&#114;y) 366 reference to the entry (TemplateEntry)
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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101;&#115; &#111;&#102; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115;, w&#104;&#111;'&#115; &#110;&#97;&#109;&#101; &#115;&#116;&#97;&#114;&#116;&#115; w&#105;&#116;&#104; &#116;&#104;&#101; 372 Public method to get the names of all entries, who's name starts with the
373 &#103;&#105;v&#101;&#110; &#115;&#116;&#114;&#105;&#110;&#103;. 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 &#115;&#116;&#114;&#105;&#110;&#103; &#100;&#101;&#110;&#111;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#98;&#101;&#103;&#105;&#110;&#110;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#110;&#97;&#109;&#101; 377 string denoting the beginning of the template name
378 (&#115;&#116;&#114;&#105;&#110;&#103;) 378 (string)
379 </dd> 379 </dd>
380 </dl><dl> 380 </dl><dl>
381 <dt>Returns:</dt> 381 <dt>Returns:</dt>
382 <dd> 382 <dd>
383 &#108;&#105;&#115;&#116; &#111;&#102; &#101;&#110;&#116;&#114;y &#110;&#97;&#109;&#101;&#115; &#102;&#111;&#117;&#110;&#100; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 383 list of entry names found (list of strings)
384 </dd> 384 </dd>
385 </dl><a NAME="TemplateGroup.getLanguage" ID="TemplateGroup.getLanguage"></a> 385 </dl><a NAME="TemplateGroup.getLanguage" ID="TemplateGroup.getLanguage"></a>
386 <h4>TemplateGroup.getLanguage</h4> 386 <h4>TemplateGroup.getLanguage</h4>
387 <b>getLanguage</b>(<i></i>) 387 <b>getLanguage</b>(<i></i>)
388 <p> 388 <p>
389 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;. 389 Public method to get the name of the group.
390 </p><dl> 390 </p><dl>
391 <dt>Returns:</dt> 391 <dt>Returns:</dt>
392 <dd> 392 <dd>
393 &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 393 language of the group (string)
394 </dd> 394 </dd>
395 </dl><a NAME="TemplateGroup.getName" ID="TemplateGroup.getName"></a> 395 </dl><a NAME="TemplateGroup.getName" ID="TemplateGroup.getName"></a>
396 <h4>TemplateGroup.getName</h4> 396 <h4>TemplateGroup.getName</h4>
397 <b>getName</b>(<i></i>) 397 <b>getName</b>(<i></i>)
398 <p> 398 <p>
399 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;. 399 Public method to get the name of the group.
400 </p><dl> 400 </p><dl>
401 <dt>Returns:</dt> 401 <dt>Returns:</dt>
402 <dd> 402 <dd>
403 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 403 name of the group (string)
404 </dd> 404 </dd>
405 </dl><a NAME="TemplateGroup.hasEntry" ID="TemplateGroup.hasEntry"></a> 405 </dl><a NAME="TemplateGroup.hasEntry" ID="TemplateGroup.hasEntry"></a>
406 <h4>TemplateGroup.hasEntry</h4> 406 <h4>TemplateGroup.hasEntry</h4>
407 <b>hasEntry</b>(<i>name</i>) 407 <b>hasEntry</b>(<i>name</i>)
408 <p> 408 <p>
409 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#104;&#97;&#115; &#97;&#110; &#101;&#110;&#116;&#114;y w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#110;&#97;&#109;&#101;. 409 Public method to check, if the group has an entry with the given name.
410 </p><dl> 410 </p><dl>
411 <dt><i>name</i></dt> 411 <dt><i>name</i></dt>
412 <dd> 412 <dd>
413 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#102;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 413 name of the entry to check for (string)
414 </dd> 414 </dd>
415 </dl><dl> 415 </dl><dl>
416 <dt>Returns:</dt> 416 <dt>Returns:</dt>
417 <dd> 417 <dd>
418 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#101;x&#105;&#115;&#116;&#101;&#110;&#99;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 418 flag indicating existence (boolean)
419 </dd> 419 </dd>
420 </dl><a NAME="TemplateGroup.removeAllEntries" ID="TemplateGroup.removeAllEntries"></a> 420 </dl><a NAME="TemplateGroup.removeAllEntries" ID="TemplateGroup.removeAllEntries"></a>
421 <h4>TemplateGroup.removeAllEntries</h4> 421 <h4>TemplateGroup.removeAllEntries</h4>
422 <b>removeAllEntries</b>(<i></i>) 422 <b>removeAllEntries</b>(<i></i>)
423 <p> 423 <p>
424 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#108;&#108; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#105;&#115; &#103;&#114;&#111;&#117;&#112;. 424 Public method to remove all template entries of this group.
425 </p><a NAME="TemplateGroup.removeEntry" ID="TemplateGroup.removeEntry"></a> 425 </p><a NAME="TemplateGroup.removeEntry" ID="TemplateGroup.removeEntry"></a>
426 <h4>TemplateGroup.removeEntry</h4> 426 <h4>TemplateGroup.removeEntry</h4>
427 <b>removeEntry</b>(<i>name</i>) 427 <b>removeEntry</b>(<i>name</i>)
428 <p> 428 <p>
429 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y &#102;&#114;&#111;&#109; &#116;&#104;&#105;&#115; &#103;&#114;&#111;&#117;&#112;. 429 Public method to remove a template entry from this group.
430 </p><dl> 430 </p><dl>
431 <dt><i>name</i></dt> 431 <dt><i>name</i></dt>
432 <dd> 432 <dd>
433 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#98;&#101; &#114;&#101;&#109;&#111;v&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 433 name of the entry to be removed (string)
434 </dd> 434 </dd>
435 </dl><a NAME="TemplateGroup.setLanguage" ID="TemplateGroup.setLanguage"></a> 435 </dl><a NAME="TemplateGroup.setLanguage" ID="TemplateGroup.setLanguage"></a>
436 <h4>TemplateGroup.setLanguage</h4> 436 <h4>TemplateGroup.setLanguage</h4>
437 <b>setLanguage</b>(<i>language</i>) 437 <b>setLanguage</b>(<i>language</i>)
438 <p> 438 <p>
439 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;. 439 Public method to update the name of the group.
440 </p><dl> 440 </p><dl>
441 <dt><i>language</i></dt> 441 <dt><i>language</i></dt>
442 <dd> 442 <dd>
443 &#112;&#114;&#111;&#103;&#114;&#97;&#109;&#109;&#105;&#110;&#103; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 443 programming language for the group (string)
444 </dd> 444 </dd>
445 </dl><a NAME="TemplateGroup.setName" ID="TemplateGroup.setName"></a> 445 </dl><a NAME="TemplateGroup.setName" ID="TemplateGroup.setName"></a>
446 <h4>TemplateGroup.setName</h4> 446 <h4>TemplateGroup.setName</h4>
447 <b>setName</b>(<i>name</i>) 447 <b>setName</b>(<i>name</i>)
448 <p> 448 <p>
449 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112;. 449 Public method to update the name of the group.
450 </p><dl> 450 </p><dl>
451 <dt><i>name</i></dt> 451 <dt><i>name</i></dt>
452 <dd> 452 <dd>
453 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 453 name of the group (string)
454 </dd> 454 </dd>
455 </dl> 455 </dl>
456 <div align="right"><a href="#top">Up</a></div> 456 <div align="right"><a href="#top">Up</a></div>
457 <hr /><hr /> 457 <hr /><hr />
458 <a NAME="TemplateViewer" ID="TemplateViewer"></a> 458 <a NAME="TemplateViewer" ID="TemplateViewer"></a>
459 <h2>TemplateViewer</h2> 459 <h2>TemplateViewer</h2>
460 <p> 460 <p>
461 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#105;&#101;w&#101;&#114;. 461 Class implementing the template viewer.
462 </p> 462 </p>
463 <h3>Derived from</h3> 463 <h3>Derived from</h3>
464 QTreeWidget 464 QTreeWidget
465 <h3>Class Attributes</h3> 465 <h3>Class Attributes</h3>
466 <table> 466 <table>
468 </table> 468 </table>
469 <h3>Methods</h3> 469 <h3>Methods</h3>
470 <table> 470 <table>
471 <tr> 471 <tr>
472 <td><a href="#TemplateViewer.__init__">TemplateViewer</a></td> 472 <td><a href="#TemplateViewer.__init__">TemplateViewer</a></td>
473 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 473 <td>Constructor</td>
474 </tr><tr> 474 </tr><tr>
475 <td><a href="#TemplateViewer.__addEntry">__addEntry</a></td> 475 <td><a href="#TemplateViewer.__addEntry">__addEntry</a></td>
476 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#100;&#100; &#69;&#110;&#116;&#114;y &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 476 <td>Private slot to handle the Add Entry context menu action.</td>
477 </tr><tr> 477 </tr><tr>
478 <td><a href="#TemplateViewer.__addGroup">__addGroup</a></td> 478 <td><a href="#TemplateViewer.__addGroup">__addGroup</a></td>
479 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#100;&#100; &#71;&#114;&#111;&#117;&#112; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 479 <td>Private slot to handle the Add Group context menu action.</td>
480 </tr><tr> 480 </tr><tr>
481 <td><a href="#TemplateViewer.__configure">__configure</a></td> 481 <td><a href="#TemplateViewer.__configure">__configure</a></td>
482 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#116;&#104;&#101; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#97;&#116;&#105;&#111;&#110; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 482 <td>Private method to open the configuration dialog.</td>
483 </tr><tr> 483 </tr><tr>
484 <td><a href="#TemplateViewer.__edit">__edit</a></td> 484 <td><a href="#TemplateViewer.__edit">__edit</a></td>
485 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#100;&#105;&#116; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 485 <td>Private slot to handle the Edit context menu action.</td>
486 </tr><tr> 486 </tr><tr>
487 <td><a href="#TemplateViewer.__export">__export</a></td> 487 <td><a href="#TemplateViewer.__export">__export</a></td>
488 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;x&#112;&#111;&#114;&#116; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 488 <td>Private slot to handle the Export context menu action.</td>
489 </tr><tr> 489 </tr><tr>
490 <td><a href="#TemplateViewer.__getPredefinedVars">__getPredefinedVars</a></td> 490 <td><a href="#TemplateViewer.__getPredefinedVars">__getPredefinedVars</a></td>
491 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#112;&#114;&#101;&#100;&#101;&#102;&#105;&#110;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;.</td> 491 <td>Private method to return predefined variables.</td>
492 </tr><tr> 492 </tr><tr>
493 <td><a href="#TemplateViewer.__import">__import</a></td> 493 <td><a href="#TemplateViewer.__import">__import</a></td>
494 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#73;&#109;&#112;&#111;&#114;&#116; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 494 <td>Private slot to handle the Import context menu action.</td>
495 </tr><tr> 495 </tr><tr>
496 <td><a href="#TemplateViewer.__remove">__remove</a></td> 496 <td><a href="#TemplateViewer.__remove">__remove</a></td>
497 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#82;&#101;&#109;&#111;v&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 497 <td>Private slot to handle the Remove context menu action.</td>
498 </tr><tr> 498 </tr><tr>
499 <td><a href="#TemplateViewer.__resort">__resort</a></td> 499 <td><a href="#TemplateViewer.__resort">__resort</a></td>
500 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;.</td> 500 <td>Private method to resort the tree.</td>
501 </tr><tr> 501 </tr><tr>
502 <td><a href="#TemplateViewer.__save">__save</a></td> 502 <td><a href="#TemplateViewer.__save">__save</a></td>
503 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#83;&#97;v&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 503 <td>Private slot to handle the Save context menu action.</td>
504 </tr><tr> 504 </tr><tr>
505 <td><a href="#TemplateViewer.__showContextMenu">__showContextMenu</a></td> 505 <td><a href="#TemplateViewer.__showContextMenu">__showContextMenu</a></td>
506 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;.</td> 506 <td>Private slot to show the context menu of the list.</td>
507 </tr><tr> 507 </tr><tr>
508 <td><a href="#TemplateViewer.__showHelp">__showHelp</a></td> 508 <td><a href="#TemplateViewer.__showHelp">__showHelp</a></td>
509 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#104;&#111;w &#115;&#111;&#109;&#101; &#104;&#101;&#108;&#112;.</td> 509 <td>Private method to show some help.</td>
510 </tr><tr> 510 </tr><tr>
511 <td><a href="#TemplateViewer.__templateItemActivated">__templateItemActivated</a></td> 511 <td><a href="#TemplateViewer.__templateItemActivated">__templateItemActivated</a></td>
512 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97;&#110; &#105;&#116;&#101;&#109;.</td> 512 <td>Private slot to handle the activation of an item.</td>
513 </tr><tr> 513 </tr><tr>
514 <td><a href="#TemplateViewer.addEntry">addEntry</a></td> 514 <td><a href="#TemplateViewer.addEntry">addEntry</a></td>
515 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y.</td> 515 <td>Public method to add a template entry.</td>
516 </tr><tr> 516 </tr><tr>
517 <td><a href="#TemplateViewer.addGroup">addGroup</a></td> 517 <td><a href="#TemplateViewer.addGroup">addGroup</a></td>
518 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#103;&#114;&#111;&#117;&#112;.</td> 518 <td>Public method to add a group.</td>
519 </tr><tr> 519 </tr><tr>
520 <td><a href="#TemplateViewer.applyNamedTemplate">applyNamedTemplate</a></td> 520 <td><a href="#TemplateViewer.applyNamedTemplate">applyNamedTemplate</a></td>
521 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#108;y &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#103;&#105;v&#101;&#110; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#110;&#97;&#109;&#101;.</td> 521 <td>Public method to apply a template given a template name.</td>
522 </tr><tr> 522 </tr><tr>
523 <td><a href="#TemplateViewer.applyTemplate">applyTemplate</a></td> 523 <td><a href="#TemplateViewer.applyTemplate">applyTemplate</a></td>
524 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#108;y &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;.</td> 524 <td>Public method to apply the template.</td>
525 </tr><tr> 525 </tr><tr>
526 <td><a href="#TemplateViewer.changeEntry">changeEntry</a></td> 526 <td><a href="#TemplateViewer.changeEntry">changeEntry</a></td>
527 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y.</td> 527 <td>Public method to change a template entry.</td>
528 </tr><tr> 528 </tr><tr>
529 <td><a href="#TemplateViewer.changeGroup">changeGroup</a></td> 529 <td><a href="#TemplateViewer.changeGroup">changeGroup</a></td>
530 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#110;&#97;&#109;&#101; &#97; &#103;&#114;&#111;&#117;&#112;.</td> 530 <td>Public method to rename a group.</td>
531 </tr><tr> 531 </tr><tr>
532 <td><a href="#TemplateViewer.getAllGroups">getAllGroups</a></td> 532 <td><a href="#TemplateViewer.getAllGroups">getAllGroups</a></td>
533 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#108;&#108; &#103;&#114;&#111;&#117;&#112;&#115;.</td> 533 <td>Public method to get all groups.</td>
534 </tr><tr> 534 </tr><tr>
535 <td><a href="#TemplateViewer.getGroupNames">getGroupNames</a></td> 535 <td><a href="#TemplateViewer.getGroupNames">getGroupNames</a></td>
536 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#108;&#108; &#103;&#114;&#111;&#117;&#112; &#110;&#97;&#109;&#101;&#115;.</td> 536 <td>Public method to get all group names.</td>
537 </tr><tr> 537 </tr><tr>
538 <td><a href="#TemplateViewer.getTemplateNames">getTemplateNames</a></td> 538 <td><a href="#TemplateViewer.getTemplateNames">getTemplateNames</a></td>
539 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101;&#115; &#111;&#102; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#115;&#116;&#97;&#114;&#116;&#105;&#110;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#115;&#116;&#114;&#105;&#110;&#103;.</td> 539 <td>Public method to get the names of templates starting with the given string.</td>
540 </tr><tr> 540 </tr><tr>
541 <td><a href="#TemplateViewer.hasTemplate">hasTemplate</a></td> 541 <td><a href="#TemplateViewer.hasTemplate">hasTemplate</a></td>
542 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y &#111;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#110;&#97;&#109;&#101; &#101;x&#105;&#115;&#116;&#115;.</td> 542 <td>Public method to check, if an entry of the given name exists.</td>
543 </tr><tr> 543 </tr><tr>
544 <td><a href="#TemplateViewer.readTemplates">readTemplates</a></td> 544 <td><a href="#TemplateViewer.readTemplates">readTemplates</a></td>
545 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#97;&#100; &#105;&#110; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#102;&#105;&#108;&#101; (.&#101;&#52;&#99;)</td> 545 <td>Public method to read in the templates file (.e4c)</td>
546 </tr><tr> 546 </tr><tr>
547 <td><a href="#TemplateViewer.removeEntry">removeEntry</a></td> 547 <td><a href="#TemplateViewer.removeEntry">removeEntry</a></td>
548 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y.</td> 548 <td>Public method to remove a template entry.</td>
549 </tr><tr> 549 </tr><tr>
550 <td><a href="#TemplateViewer.removeGroup">removeGroup</a></td> 550 <td><a href="#TemplateViewer.removeGroup">removeGroup</a></td>
551 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#103;&#114;&#111;&#117;&#112;.</td> 551 <td>Public method to remove a group.</td>
552 </tr><tr> 552 </tr><tr>
553 <td><a href="#TemplateViewer.writeTemplates">writeTemplates</a></td> 553 <td><a href="#TemplateViewer.writeTemplates">writeTemplates</a></td>
554 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#100;&#97;&#116;&#97; &#116;&#111; &#97;&#110; &#88;&#77;&#76; &#102;&#105;&#108;&#101; (.&#101;&#52;&#99;).</td> 554 <td>Public method to write the templates data to an XML file (.e4c).</td>
555 </tr> 555 </tr>
556 </table> 556 </table>
557 <a NAME="TemplateViewer.__init__" ID="TemplateViewer.__init__"></a> 557 <a NAME="TemplateViewer.__init__" ID="TemplateViewer.__init__"></a>
558 <h4>TemplateViewer (Constructor)</h4> 558 <h4>TemplateViewer (Constructor)</h4>
559 <b>TemplateViewer</b>(<i>parent, viewmanager</i>) 559 <b>TemplateViewer</b>(<i>parent, viewmanager</i>)
560 <p> 560 <p>
561 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 561 Constructor
562 </p><dl> 562 </p><dl>
563 <dt><i>parent</i></dt> 563 <dt><i>parent</i></dt>
564 <dd> 564 <dd>
565 &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 565 the parent (QWidget)
566 </dd><dt><i>viewmanager</i></dt> 566 </dd><dt><i>viewmanager</i></dt>
567 <dd> 567 <dd>
568 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#105;&#101;w&#109;&#97;&#110;&#97;&#103;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116; 568 reference to the viewmanager object
569 </dd> 569 </dd>
570 </dl><a NAME="TemplateViewer.__addEntry" ID="TemplateViewer.__addEntry"></a> 570 </dl><a NAME="TemplateViewer.__addEntry" ID="TemplateViewer.__addEntry"></a>
571 <h4>TemplateViewer.__addEntry</h4> 571 <h4>TemplateViewer.__addEntry</h4>
572 <b>__addEntry</b>(<i></i>) 572 <b>__addEntry</b>(<i></i>)
573 <p> 573 <p>
574 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#100;&#100; &#69;&#110;&#116;&#114;y &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 574 Private slot to handle the Add Entry context menu action.
575 </p><a NAME="TemplateViewer.__addGroup" ID="TemplateViewer.__addGroup"></a> 575 </p><a NAME="TemplateViewer.__addGroup" ID="TemplateViewer.__addGroup"></a>
576 <h4>TemplateViewer.__addGroup</h4> 576 <h4>TemplateViewer.__addGroup</h4>
577 <b>__addGroup</b>(<i></i>) 577 <b>__addGroup</b>(<i></i>)
578 <p> 578 <p>
579 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#100;&#100; &#71;&#114;&#111;&#117;&#112; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 579 Private slot to handle the Add Group context menu action.
580 </p><a NAME="TemplateViewer.__configure" ID="TemplateViewer.__configure"></a> 580 </p><a NAME="TemplateViewer.__configure" ID="TemplateViewer.__configure"></a>
581 <h4>TemplateViewer.__configure</h4> 581 <h4>TemplateViewer.__configure</h4>
582 <b>__configure</b>(<i></i>) 582 <b>__configure</b>(<i></i>)
583 <p> 583 <p>
584 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#116;&#104;&#101; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#97;&#116;&#105;&#111;&#110; &#100;&#105;&#97;&#108;&#111;&#103;. 584 Private method to open the configuration dialog.
585 </p><a NAME="TemplateViewer.__edit" ID="TemplateViewer.__edit"></a> 585 </p><a NAME="TemplateViewer.__edit" ID="TemplateViewer.__edit"></a>
586 <h4>TemplateViewer.__edit</h4> 586 <h4>TemplateViewer.__edit</h4>
587 <b>__edit</b>(<i></i>) 587 <b>__edit</b>(<i></i>)
588 <p> 588 <p>
589 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#100;&#105;&#116; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 589 Private slot to handle the Edit context menu action.
590 </p><a NAME="TemplateViewer.__export" ID="TemplateViewer.__export"></a> 590 </p><a NAME="TemplateViewer.__export" ID="TemplateViewer.__export"></a>
591 <h4>TemplateViewer.__export</h4> 591 <h4>TemplateViewer.__export</h4>
592 <b>__export</b>(<i></i>) 592 <b>__export</b>(<i></i>)
593 <p> 593 <p>
594 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;x&#112;&#111;&#114;&#116; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 594 Private slot to handle the Export context menu action.
595 </p><a NAME="TemplateViewer.__getPredefinedVars" ID="TemplateViewer.__getPredefinedVars"></a> 595 </p><a NAME="TemplateViewer.__getPredefinedVars" ID="TemplateViewer.__getPredefinedVars"></a>
596 <h4>TemplateViewer.__getPredefinedVars</h4> 596 <h4>TemplateViewer.__getPredefinedVars</h4>
597 <b>__getPredefinedVars</b>(<i></i>) 597 <b>__getPredefinedVars</b>(<i></i>)
598 <p> 598 <p>
599 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#112;&#114;&#101;&#100;&#101;&#102;&#105;&#110;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115;. 599 Private method to return predefined variables.
600 </p><dl> 600 </p><dl>
601 <dt>Returns:</dt> 601 <dt>Returns:</dt>
602 <dd> 602 <dd>
603 &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y &#111;&#102; &#112;&#114;&#101;&#100;&#101;&#102;&#105;&#110;&#101;&#100; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;&#115; &#97;&#110;&#100; &#116;&#104;&#101;&#105;&#114; v&#97;&#108;&#117;&#101;&#115; 603 dictionary of predefined variables and their values
604 </dd> 604 </dd>
605 </dl><a NAME="TemplateViewer.__import" ID="TemplateViewer.__import"></a> 605 </dl><a NAME="TemplateViewer.__import" ID="TemplateViewer.__import"></a>
606 <h4>TemplateViewer.__import</h4> 606 <h4>TemplateViewer.__import</h4>
607 <b>__import</b>(<i></i>) 607 <b>__import</b>(<i></i>)
608 <p> 608 <p>
609 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#73;&#109;&#112;&#111;&#114;&#116; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 609 Private slot to handle the Import context menu action.
610 </p><a NAME="TemplateViewer.__remove" ID="TemplateViewer.__remove"></a> 610 </p><a NAME="TemplateViewer.__remove" ID="TemplateViewer.__remove"></a>
611 <h4>TemplateViewer.__remove</h4> 611 <h4>TemplateViewer.__remove</h4>
612 <b>__remove</b>(<i></i>) 612 <b>__remove</b>(<i></i>)
613 <p> 613 <p>
614 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#82;&#101;&#109;&#111;v&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 614 Private slot to handle the Remove context menu action.
615 </p><a NAME="TemplateViewer.__resort" ID="TemplateViewer.__resort"></a> 615 </p><a NAME="TemplateViewer.__resort" ID="TemplateViewer.__resort"></a>
616 <h4>TemplateViewer.__resort</h4> 616 <h4>TemplateViewer.__resort</h4>
617 <b>__resort</b>(<i></i>) 617 <b>__resort</b>(<i></i>)
618 <p> 618 <p>
619 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;. 619 Private method to resort the tree.
620 </p><a NAME="TemplateViewer.__save" ID="TemplateViewer.__save"></a> 620 </p><a NAME="TemplateViewer.__save" ID="TemplateViewer.__save"></a>
621 <h4>TemplateViewer.__save</h4> 621 <h4>TemplateViewer.__save</h4>
622 <b>__save</b>(<i></i>) 622 <b>__save</b>(<i></i>)
623 <p> 623 <p>
624 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#83;&#97;v&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 624 Private slot to handle the Save context menu action.
625 </p><a NAME="TemplateViewer.__showContextMenu" ID="TemplateViewer.__showContextMenu"></a> 625 </p><a NAME="TemplateViewer.__showContextMenu" ID="TemplateViewer.__showContextMenu"></a>
626 <h4>TemplateViewer.__showContextMenu</h4> 626 <h4>TemplateViewer.__showContextMenu</h4>
627 <b>__showContextMenu</b>(<i>coord</i>) 627 <b>__showContextMenu</b>(<i>coord</i>)
628 <p> 628 <p>
629 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;. 629 Private slot to show the context menu of the list.
630 </p><dl> 630 </p><dl>
631 <dt><i>coord</i></dt> 631 <dt><i>coord</i></dt>
632 <dd> 632 <dd>
633 &#116;&#104;&#101; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#117;&#115;&#101; &#112;&#111;&#105;&#110;&#116;&#101;&#114; (&#81;&#80;&#111;&#105;&#110;&#116;) 633 the position of the mouse pointer (QPoint)
634 </dd> 634 </dd>
635 </dl><a NAME="TemplateViewer.__showHelp" ID="TemplateViewer.__showHelp"></a> 635 </dl><a NAME="TemplateViewer.__showHelp" ID="TemplateViewer.__showHelp"></a>
636 <h4>TemplateViewer.__showHelp</h4> 636 <h4>TemplateViewer.__showHelp</h4>
637 <b>__showHelp</b>(<i></i>) 637 <b>__showHelp</b>(<i></i>)
638 <p> 638 <p>
639 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#104;&#111;w &#115;&#111;&#109;&#101; &#104;&#101;&#108;&#112;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97;&#110; &#105;&#116;&#101;&#109;. 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 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 &#99;&#111;&#108;&#117;&#109;&#110; &#116;&#104;&#101; &#105;&#116;&#101;&#109; w&#97;&#115; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; &#105;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y. 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>
661 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#116;&#111; &#97;&#100;&#100; &#116;&#111; (&#115;&#116;&#114;&#105;&#110;&#103;) 661 name of the group to add to (string)
662 </dd><dt><i>name</i></dt> 662 </dd><dt><i>name</i></dt>
663 <dd> 663 <dd>
664 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#97;&#100;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 664 name of the entry to add (string)
665 </dd><dt><i>description</i></dt> 665 </dd><dt><i>description</i></dt>
666 <dd> 666 <dd>
667 &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#97;&#100;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 667 description of the entry to add (string)
668 </dd><dt><i>template</i></dt> 668 </dd><dt><i>template</i></dt>
669 <dd> 669 <dd>
670 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 670 template text of the entry (string)
671 </dd><dt><i>quiet</i></dt> 671 </dd><dt><i>quiet</i></dt>
672 <dd> 672 <dd>
673 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#113;&#117;&#105;&#101;&#116; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#103;&#114;&#111;&#117;&#112;. 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>
683 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#116;&#111; &#98;&#101; &#97;&#100;&#100;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 683 name of the group to be added (string)
684 </dd><dt><i>language</i></dt> 684 </dd><dt><i>language</i></dt>
685 <dd> 685 <dd>
686 &#112;&#114;&#111;&#103;&#114;&#97;&#109;&#109;&#105;&#110;&#103; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 686 programming language for the group (string)
687 </dd> 687 </dd>
688 </dl><a NAME="TemplateViewer.applyNamedTemplate" ID="TemplateViewer.applyNamedTemplate"></a> 688 </dl><a NAME="TemplateViewer.applyNamedTemplate" ID="TemplateViewer.applyNamedTemplate"></a>
689 <h4>TemplateViewer.applyNamedTemplate</h4> 689 <h4>TemplateViewer.applyNamedTemplate</h4>
690 <b>applyNamedTemplate</b>(<i>templateName</i>) 690 <b>applyNamedTemplate</b>(<i>templateName</i>)
691 <p> 691 <p>
692 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#108;y &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#103;&#105;v&#101;&#110; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#110;&#97;&#109;&#101;. 692 Public method to apply a template given a template name.
693 </p><dl> 693 </p><dl>
694 <dt><i>templateName</i></dt> 694 <dt><i>templateName</i></dt>
695 <dd> 695 <dd>
696 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#105;&#116;&#101;&#109; &#116;&#111; &#97;&#112;&#112;&#108;y (&#115;&#116;&#114;&#105;&#110;&#103;) 696 name of the template item to apply (string)
697 </dd> 697 </dd>
698 </dl><a NAME="TemplateViewer.applyTemplate" ID="TemplateViewer.applyTemplate"></a> 698 </dl><a NAME="TemplateViewer.applyTemplate" ID="TemplateViewer.applyTemplate"></a>
699 <h4>TemplateViewer.applyTemplate</h4> 699 <h4>TemplateViewer.applyTemplate</h4>
700 <b>applyTemplate</b>(<i>itm</i>) 700 <b>applyTemplate</b>(<i>itm</i>)
701 <p> 701 <p>
702 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#108;y &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;. 702 Public method to apply the template.
703 </p><dl> 703 </p><dl>
704 <dt><i>itm</i></dt> 704 <dt><i>itm</i></dt>
705 <dd> 705 <dd>
706 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#105;&#116;&#101;&#109; &#116;&#111; &#97;&#112;&#112;&#108;y (&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#69;&#110;&#116;&#114;y) 706 reference to the template item to apply (TemplateEntry)
707 </dd> 707 </dd>
708 </dl><a NAME="TemplateViewer.changeEntry" ID="TemplateViewer.changeEntry"></a> 708 </dl><a NAME="TemplateViewer.changeEntry" ID="TemplateViewer.changeEntry"></a>
709 <h4>TemplateViewer.changeEntry</h4> 709 <h4>TemplateViewer.changeEntry</h4>
710 <b>changeEntry</b>(<i>itm, name, groupName, description, template</i>) 710 <b>changeEntry</b>(<i>itm, name, groupName, description, template</i>)
711 <p> 711 <p>
712 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y. 712 Public method to change a template entry.
713 </p><dl> 713 </p><dl>
714 <dt><i>itm</i></dt> 714 <dt><i>itm</i></dt>
715 <dd> 715 <dd>
716 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#98;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#100; (&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#69;&#110;&#116;&#114;y) 716 template entry to be changed (TemplateEntry)
717 </dd><dt><i>name</i></dt> 717 </dd><dt><i>name</i></dt>
718 <dd> 718 <dd>
719 &#110;&#101;w &#110;&#97;&#109;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 719 new name for the entry (string)
720 </dd><dt><i>groupName</i></dt> 720 </dd><dt><i>groupName</i></dt>
721 <dd> 721 <dd>
722 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101;&#108;&#111;&#110;&#103; &#116;&#111; 722 name of the group the entry should belong to
723 (&#115;&#116;&#114;&#105;&#110;&#103;) 723 (string)
724 </dd><dt><i>description</i></dt> 724 </dd><dt><i>description</i></dt>
725 <dd> 725 <dd>
726 &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 726 description of the entry (string)
727 </dd><dt><i>template</i></dt> 727 </dd><dt><i>template</i></dt>
728 <dd> 728 <dd>
729 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#110;&#97;&#109;&#101; &#97; &#103;&#114;&#111;&#117;&#112;. 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>
739 &#111;&#108;&#100; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 739 old name of the group (string)
740 </dd><dt><i>newname</i></dt> 740 </dd><dt><i>newname</i></dt>
741 <dd> 741 <dd>
742 &#110;&#101;w &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 742 new name of the group (string)
743 </dd><dt><i>language</i></dt> 743 </dd><dt><i>language</i></dt>
744 <dd> 744 <dd>
745 &#112;&#114;&#111;&#103;&#114;&#97;&#109;&#109;&#105;&#110;&#103; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#103;&#114;&#111;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 745 programming language for the group (string)
746 </dd> 746 </dd>
747 </dl><a NAME="TemplateViewer.getAllGroups" ID="TemplateViewer.getAllGroups"></a> 747 </dl><a NAME="TemplateViewer.getAllGroups" ID="TemplateViewer.getAllGroups"></a>
748 <h4>TemplateViewer.getAllGroups</h4> 748 <h4>TemplateViewer.getAllGroups</h4>
749 <b>getAllGroups</b>(<i></i>) 749 <b>getAllGroups</b>(<i></i>)
750 <p> 750 <p>
751 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#108;&#108; &#103;&#114;&#111;&#117;&#112;&#115;. 751 Public method to get all groups.
752 </p><dl> 752 </p><dl>
753 <dt>Returns:</dt> 753 <dt>Returns:</dt>
754 <dd> 754 <dd>
755 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108; &#103;&#114;&#111;&#117;&#112;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#71;&#114;&#111;&#117;&#112;) 755 list of all groups (list of TemplateGroup)
756 </dd> 756 </dd>
757 </dl><a NAME="TemplateViewer.getGroupNames" ID="TemplateViewer.getGroupNames"></a> 757 </dl><a NAME="TemplateViewer.getGroupNames" ID="TemplateViewer.getGroupNames"></a>
758 <h4>TemplateViewer.getGroupNames</h4> 758 <h4>TemplateViewer.getGroupNames</h4>
759 <b>getGroupNames</b>(<i></i>) 759 <b>getGroupNames</b>(<i></i>)
760 <p> 760 <p>
761 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97;&#108;&#108; &#103;&#114;&#111;&#117;&#112; &#110;&#97;&#109;&#101;&#115;. 761 Public method to get all group names.
762 </p><dl> 762 </p><dl>
763 <dt>Returns:</dt> 763 <dt>Returns:</dt>
764 <dd> 764 <dd>
765 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108; &#103;&#114;&#111;&#117;&#112; &#110;&#97;&#109;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 765 list of all group names (list of strings)
766 </dd> 766 </dd>
767 </dl><a NAME="TemplateViewer.getTemplateNames" ID="TemplateViewer.getTemplateNames"></a> 767 </dl><a NAME="TemplateViewer.getTemplateNames" ID="TemplateViewer.getTemplateNames"></a>
768 <h4>TemplateViewer.getTemplateNames</h4> 768 <h4>TemplateViewer.getTemplateNames</h4>
769 <b>getTemplateNames</b>(<i>start</i>) 769 <b>getTemplateNames</b>(<i>start</i>)
770 <p> 770 <p>
771 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101;&#115; &#111;&#102; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#115;&#116;&#97;&#114;&#116;&#105;&#110;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#115;&#116;&#114;&#105;&#110;&#103;. 771 Public method to get the names of templates starting with the given string.
772 </p><dl> 772 </p><dl>
773 <dt><i>start</i></dt> 773 <dt><i>start</i></dt>
774 <dd> 774 <dd>
775 &#115;&#116;&#97;&#114;&#116; &#115;&#116;&#114;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#110;&#97;&#109;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 775 start string of the name (string)
776 </dd> 776 </dd>
777 </dl><dl> 777 </dl><dl>
778 <dt>Returns:</dt> 778 <dt>Returns:</dt>
779 <dd> 779 <dd>
780 &#115;&#111;&#114;&#116;&#101;&#100; &#108;&#105;&#115;&#116; &#111;&#102; &#109;&#97;&#116;&#99;&#104;&#105;&#110;&#103; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#110;&#97;&#109;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 780 sorted list of matching template names (list of strings)
781 </dd> 781 </dd>
782 </dl><a NAME="TemplateViewer.hasTemplate" ID="TemplateViewer.hasTemplate"></a> 782 </dl><a NAME="TemplateViewer.hasTemplate" ID="TemplateViewer.hasTemplate"></a>
783 <h4>TemplateViewer.hasTemplate</h4> 783 <h4>TemplateViewer.hasTemplate</h4>
784 <b>hasTemplate</b>(<i>entryName</i>) 784 <b>hasTemplate</b>(<i>entryName</i>)
785 <p> 785 <p>
786 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y &#111;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#110;&#97;&#109;&#101; &#101;x&#105;&#115;&#116;&#115;. 786 Public method to check, if an entry of the given name exists.
787 </p><dl> 787 </p><dl>
788 <dt><i>entryName</i></dt> 788 <dt><i>entryName</i></dt>
789 <dd> 789 <dd>
790 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#102;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 790 name of the entry to check for (string)
791 </dd> 791 </dd>
792 </dl><dl> 792 </dl><dl>
793 <dt>Returns:</dt> 793 <dt>Returns:</dt>
794 <dd> 794 <dd>
795 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#101;x&#105;&#115;&#116;&#101;&#110;&#99;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#97;&#100; &#105;&#110; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#102;&#105;&#108;&#101; (.&#101;&#52;&#99;) 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>
805 &#110;&#97;&#109;&#101; &#111;&#102; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#102;&#105;&#108;&#101; &#116;&#111; &#114;&#101;&#97;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 805 name of a templates file to read (string)
806 </dd> 806 </dd>
807 </dl><a NAME="TemplateViewer.removeEntry" ID="TemplateViewer.removeEntry"></a> 807 </dl><a NAME="TemplateViewer.removeEntry" ID="TemplateViewer.removeEntry"></a>
808 <h4>TemplateViewer.removeEntry</h4> 808 <h4>TemplateViewer.removeEntry</h4>
809 <b>removeEntry</b>(<i>itm</i>) 809 <b>removeEntry</b>(<i>itm</i>)
810 <p> 810 <p>
811 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y. 811 Public method to remove a template entry.
812 </p><dl> 812 </p><dl>
813 <dt><i>itm</i></dt> 813 <dt><i>itm</i></dt>
814 <dd> 814 <dd>
815 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#98;&#101; &#114;&#101;&#109;&#111;v&#101;&#100; (&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#69;&#110;&#116;&#114;y) 815 template entry to be removed (TemplateEntry)
816 </dd> 816 </dd>
817 </dl><a NAME="TemplateViewer.removeGroup" ID="TemplateViewer.removeGroup"></a> 817 </dl><a NAME="TemplateViewer.removeGroup" ID="TemplateViewer.removeGroup"></a>
818 <h4>TemplateViewer.removeGroup</h4> 818 <h4>TemplateViewer.removeGroup</h4>
819 <b>removeGroup</b>(<i>itm</i>) 819 <b>removeGroup</b>(<i>itm</i>)
820 <p> 820 <p>
821 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#103;&#114;&#111;&#117;&#112;. 821 Public method to remove a group.
822 </p><dl> 822 </p><dl>
823 <dt><i>itm</i></dt> 823 <dt><i>itm</i></dt>
824 <dd> 824 <dd>
825 &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; &#103;&#114;&#111;&#117;&#112; &#116;&#111; &#98;&#101; &#114;&#101;&#109;&#111;v&#101;&#100; (&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#71;&#114;&#111;&#117;&#112;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#100;&#97;&#116;&#97; &#116;&#111; &#97;&#110; &#88;&#77;&#76; &#102;&#105;&#108;&#101; (.&#101;&#52;&#99;). 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>
835 &#110;&#97;&#109;&#101; &#111;&#102; &#97; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#102;&#105;&#108;&#101; &#116;&#111; &#114;&#101;&#97;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 835 name of a templates file to read (string)
836 </dd> 836 </dd>
837 </dl> 837 </dl>
838 <div align="right"><a href="#top">Up</a></div> 838 <div align="right"><a href="#top">Up</a></div>
839 <hr /> 839 <hr />
840 </body></html> 840 </body></html>

eric ide

mercurial