165 <tr> |
165 <tr> |
166 <td><a href="#MiniEditor.__createToolBars">__createToolBars</a></td> |
166 <td><a href="#MiniEditor.__createToolBars">__createToolBars</a></td> |
167 <td>Private method to create the various toolbars.</td> |
167 <td>Private method to create the various toolbars.</td> |
168 </tr> |
168 </tr> |
169 <tr> |
169 <tr> |
|
170 <td><a href="#MiniEditor.__createViewActions">__createViewActions</a></td> |
|
171 <td>Private method to create the View actions.</td> |
|
172 </tr> |
|
173 <tr> |
170 <td><a href="#MiniEditor.__cursorPositionChanged">__cursorPositionChanged</a></td> |
174 <td><a href="#MiniEditor.__cursorPositionChanged">__cursorPositionChanged</a></td> |
171 <td>Private slot to handle the cursorPositionChanged signal.</td> |
175 <td>Private slot to handle the cursorPositionChanged signal.</td> |
172 </tr> |
176 </tr> |
173 <tr> |
177 <tr> |
174 <td><a href="#MiniEditor.__deselectAll">__deselectAll</a></td> |
178 <td><a href="#MiniEditor.__deselectAll">__deselectAll</a></td> |
345 <tr> |
349 <tr> |
346 <td><a href="#MiniEditor.__showContextMenuLanguages">__showContextMenuLanguages</a></td> |
350 <td><a href="#MiniEditor.__showContextMenuLanguages">__showContextMenuLanguages</a></td> |
347 <td>Private slot handling the aboutToShow signal of the languages context menu.</td> |
351 <td>Private slot handling the aboutToShow signal of the languages context menu.</td> |
348 </tr> |
352 </tr> |
349 <tr> |
353 <tr> |
|
354 <td><a href="#MiniEditor.__showLanguagesMenu">__showLanguagesMenu</a></td> |
|
355 <td>Private slot to show the Languages menu of the status bar.</td> |
|
356 </tr> |
|
357 <tr> |
350 <td><a href="#MiniEditor.__strippedName">__strippedName</a></td> |
358 <td><a href="#MiniEditor.__strippedName">__strippedName</a></td> |
351 <td>Private method to return the filename part of the given path.</td> |
359 <td>Private method to return the filename part of the given path.</td> |
352 </tr> |
360 </tr> |
353 <tr> |
361 <tr> |
354 <td><a href="#MiniEditor.__styleNeeded">__styleNeeded</a></td> |
362 <td><a href="#MiniEditor.__styleNeeded">__styleNeeded</a></td> |
367 <td>Private method to write the current editor text to a file.</td> |
375 <td>Private method to write the current editor text to a file.</td> |
368 </tr> |
376 </tr> |
369 <tr> |
377 <tr> |
370 <td><a href="#MiniEditor.__writeSettings">__writeSettings</a></td> |
378 <td><a href="#MiniEditor.__writeSettings">__writeSettings</a></td> |
371 <td>Private method to write the settings for reuse.</td> |
379 <td>Private method to write the settings for reuse.</td> |
|
380 </tr> |
|
381 <tr> |
|
382 <td><a href="#MiniEditor.__zoom">__zoom</a></td> |
|
383 <td>Private method to handle the zoom action.</td> |
|
384 </tr> |
|
385 <tr> |
|
386 <td><a href="#MiniEditor.__zoomIn">__zoomIn</a></td> |
|
387 <td>Private method to handle the zoom in action.</td> |
|
388 </tr> |
|
389 <tr> |
|
390 <td><a href="#MiniEditor.__zoomOut">__zoomOut</a></td> |
|
391 <td>Private method to handle the zoom out action.</td> |
|
392 </tr> |
|
393 <tr> |
|
394 <td><a href="#MiniEditor.__zoomReset">__zoomReset</a></td> |
|
395 <td>Private method to reset the zoom factor.</td> |
|
396 </tr> |
|
397 <tr> |
|
398 <td><a href="#MiniEditor.__zoomTo">__zoomTo</a></td> |
|
399 <td>Private slot to zoom to a given value.</td> |
372 </tr> |
400 </tr> |
373 <tr> |
401 <tr> |
374 <td><a href="#MiniEditor.activeWindow">activeWindow</a></td> |
402 <td><a href="#MiniEditor.activeWindow">activeWindow</a></td> |
375 <td>Public method to fulfill the ViewManager interface.</td> |
403 <td>Public method to fulfill the ViewManager interface.</td> |
376 </tr> |
404 </tr> |
611 <h4>MiniEditor.__createToolBars</h4> |
639 <h4>MiniEditor.__createToolBars</h4> |
612 <b>__createToolBars</b>(<i></i>) |
640 <b>__createToolBars</b>(<i></i>) |
613 |
641 |
614 <p> |
642 <p> |
615 Private method to create the various toolbars. |
643 Private method to create the various toolbars. |
|
644 </p> |
|
645 <a NAME="MiniEditor.__createViewActions" ID="MiniEditor.__createViewActions"></a> |
|
646 <h4>MiniEditor.__createViewActions</h4> |
|
647 <b>__createViewActions</b>(<i></i>) |
|
648 |
|
649 <p> |
|
650 Private method to create the View actions. |
616 </p> |
651 </p> |
617 <a NAME="MiniEditor.__cursorPositionChanged" ID="MiniEditor.__cursorPositionChanged"></a> |
652 <a NAME="MiniEditor.__cursorPositionChanged" ID="MiniEditor.__cursorPositionChanged"></a> |
618 <h4>MiniEditor.__cursorPositionChanged</h4> |
653 <h4>MiniEditor.__cursorPositionChanged</h4> |
619 <b>__cursorPositionChanged</b>(<i>line, pos</i>) |
654 <b>__cursorPositionChanged</b>(<i>line, pos</i>) |
620 |
655 |
1129 flag to indicate usage of a monospace font (boolean) |
1164 flag to indicate usage of a monospace font (boolean) |
1130 </dd> |
1165 </dd> |
1131 </dl> |
1166 </dl> |
1132 <a NAME="MiniEditor.__setSbFile" ID="MiniEditor.__setSbFile"></a> |
1167 <a NAME="MiniEditor.__setSbFile" ID="MiniEditor.__setSbFile"></a> |
1133 <h4>MiniEditor.__setSbFile</h4> |
1168 <h4>MiniEditor.__setSbFile</h4> |
1134 <b>__setSbFile</b>(<i>line=None, pos=None</i>) |
1169 <b>__setSbFile</b>(<i>line=None, pos=None, language=None, zoom=None</i>) |
1135 |
1170 |
1136 <p> |
1171 <p> |
1137 Private method to set the file info in the status bar. |
1172 Private method to set the file info in the status bar. |
1138 </p> |
1173 </p> |
1139 <dl> |
1174 <dl> |
1140 |
1175 |
1141 <dt><i>line</i></dt> |
1176 <dt><i>line</i> (int)</dt> |
1142 <dd> |
1177 <dd> |
1143 line number to display (int) |
1178 line number to display |
1144 </dd> |
1179 </dd> |
1145 <dt><i>pos</i></dt> |
1180 <dt><i>pos</i> (int)</dt> |
1146 <dd> |
1181 <dd> |
1147 character position to display (int) |
1182 character position to display |
|
1183 </dd> |
|
1184 <dt><i>language</i> (str)</dt> |
|
1185 <dd> |
|
1186 language to display |
|
1187 </dd> |
|
1188 <dt><i>zoom</i> (int)</dt> |
|
1189 <dd> |
|
1190 zoom value |
1148 </dd> |
1191 </dd> |
1149 </dl> |
1192 </dl> |
1150 <a NAME="MiniEditor.__setTabAndIndent" ID="MiniEditor.__setTabAndIndent"></a> |
1193 <a NAME="MiniEditor.__setTabAndIndent" ID="MiniEditor.__setTabAndIndent"></a> |
1151 <h4>MiniEditor.__setTabAndIndent</h4> |
1194 <h4>MiniEditor.__setTabAndIndent</h4> |
1152 <b>__setTabAndIndent</b>(<i></i>) |
1195 <b>__setTabAndIndent</b>(<i></i>) |
1167 |
1210 |
1168 <p> |
1211 <p> |
1169 Private slot handling the aboutToShow signal of the languages context |
1212 Private slot handling the aboutToShow signal of the languages context |
1170 menu. |
1213 menu. |
1171 </p> |
1214 </p> |
|
1215 <a NAME="MiniEditor.__showLanguagesMenu" ID="MiniEditor.__showLanguagesMenu"></a> |
|
1216 <h4>MiniEditor.__showLanguagesMenu</h4> |
|
1217 <b>__showLanguagesMenu</b>(<i>pos</i>) |
|
1218 |
|
1219 <p> |
|
1220 Private slot to show the Languages menu of the status bar. |
|
1221 </p> |
|
1222 <dl> |
|
1223 |
|
1224 <dt><i>pos</i></dt> |
|
1225 <dd> |
|
1226 position the menu should be shown at (QPoint) |
|
1227 </dd> |
|
1228 </dl> |
1172 <a NAME="MiniEditor.__strippedName" ID="MiniEditor.__strippedName"></a> |
1229 <a NAME="MiniEditor.__strippedName" ID="MiniEditor.__strippedName"></a> |
1173 <h4>MiniEditor.__strippedName</h4> |
1230 <h4>MiniEditor.__strippedName</h4> |
1174 <b>__strippedName</b>(<i>fullFileName</i>) |
1231 <b>__strippedName</b>(<i>fullFileName</i>) |
1175 |
1232 |
1176 <p> |
1233 <p> |
1248 <b>__writeSettings</b>(<i></i>) |
1305 <b>__writeSettings</b>(<i></i>) |
1249 |
1306 |
1250 <p> |
1307 <p> |
1251 Private method to write the settings for reuse. |
1308 Private method to write the settings for reuse. |
1252 </p> |
1309 </p> |
|
1310 <a NAME="MiniEditor.__zoom" ID="MiniEditor.__zoom"></a> |
|
1311 <h4>MiniEditor.__zoom</h4> |
|
1312 <b>__zoom</b>(<i></i>) |
|
1313 |
|
1314 <p> |
|
1315 Private method to handle the zoom action. |
|
1316 </p> |
|
1317 <a NAME="MiniEditor.__zoomIn" ID="MiniEditor.__zoomIn"></a> |
|
1318 <h4>MiniEditor.__zoomIn</h4> |
|
1319 <b>__zoomIn</b>(<i></i>) |
|
1320 |
|
1321 <p> |
|
1322 Private method to handle the zoom in action. |
|
1323 </p> |
|
1324 <a NAME="MiniEditor.__zoomOut" ID="MiniEditor.__zoomOut"></a> |
|
1325 <h4>MiniEditor.__zoomOut</h4> |
|
1326 <b>__zoomOut</b>(<i></i>) |
|
1327 |
|
1328 <p> |
|
1329 Private method to handle the zoom out action. |
|
1330 </p> |
|
1331 <a NAME="MiniEditor.__zoomReset" ID="MiniEditor.__zoomReset"></a> |
|
1332 <h4>MiniEditor.__zoomReset</h4> |
|
1333 <b>__zoomReset</b>(<i></i>) |
|
1334 |
|
1335 <p> |
|
1336 Private method to reset the zoom factor. |
|
1337 </p> |
|
1338 <a NAME="MiniEditor.__zoomTo" ID="MiniEditor.__zoomTo"></a> |
|
1339 <h4>MiniEditor.__zoomTo</h4> |
|
1340 <b>__zoomTo</b>(<i>value</i>) |
|
1341 |
|
1342 <p> |
|
1343 Private slot to zoom to a given value. |
|
1344 </p> |
|
1345 <dl> |
|
1346 |
|
1347 <dt><i>value</i></dt> |
|
1348 <dd> |
|
1349 zoom value to be set (integer) |
|
1350 </dd> |
|
1351 </dl> |
1253 <a NAME="MiniEditor.activeWindow" ID="MiniEditor.activeWindow"></a> |
1352 <a NAME="MiniEditor.activeWindow" ID="MiniEditor.activeWindow"></a> |
1254 <h4>MiniEditor.activeWindow</h4> |
1353 <h4>MiniEditor.activeWindow</h4> |
1255 <b>activeWindow</b>(<i></i>) |
1354 <b>activeWindow</b>(<i></i>) |
1256 |
1355 |
1257 <p> |
1356 <p> |