128 viewmanager classes and all common methods. |
128 viewmanager classes and all common methods. |
129 </p><h3>Signals</h3> |
129 </p><h3>Signals</h3> |
130 <dl> |
130 <dl> |
131 <dt>bookmarkToggled(Editor)</dt> |
131 <dt>bookmarkToggled(Editor)</dt> |
132 <dd> |
132 <dd> |
133 emitted when a bookmark is toggled. |
133 emitted when a bookmark is toggled |
134 </dd><dt>breakpointToggled(Editor)</dt> |
134 </dd><dt>breakpointToggled(Editor)</dt> |
135 <dd> |
135 <dd> |
136 emitted when a breakpoint is toggled. |
136 emitted when a breakpoint is toggled |
|
137 </dd><dt>changeCaption(str)</dt> |
|
138 <dd> |
|
139 emitted if a change of the caption is necessary |
137 </dd><dt>checkActions(Editor)</dt> |
140 </dd><dt>checkActions(Editor)</dt> |
138 <dd> |
141 <dd> |
139 emitted when some actions should be checked |
142 emitted when some actions should be checked |
140 for their status |
143 for their status |
141 </dd><dt>cursorChanged(Editor)</dt> |
144 </dd><dt>cursorChanged(Editor)</dt> |
142 <dd> |
145 <dd> |
143 emitted after the cursor position of the active |
146 emitted after the cursor position of the active |
144 window has changed |
147 window has changed |
|
148 </dd><dt>editorChanged(str)</dt> |
|
149 <dd> |
|
150 emitted when the current editor has changed |
|
151 </dd><dt>editorChangedEd(Editor)</dt> |
|
152 <dd> |
|
153 emitted when the current editor has changed |
145 </dd><dt>editorClosed(str)</dt> |
154 </dd><dt>editorClosed(str)</dt> |
146 <dd> |
155 <dd> |
147 emitted just before an editor window gets closed |
156 emitted just before an editor window gets closed |
148 </dd><dt>editorClosedEd(Editor)</dt> |
157 </dd><dt>editorClosedEd(Editor)</dt> |
149 <dd> |
158 <dd> |
150 emitted just before an editor window gets closed |
159 emitted just before an editor window gets closed |
|
160 </dd><dt>editorLanguageChanged(Editor)</dt> |
|
161 <dd> |
|
162 emitted to signal a change of an |
|
163 editor's language |
151 </dd><dt>editorOpened(str)</dt> |
164 </dd><dt>editorOpened(str)</dt> |
152 <dd> |
165 <dd> |
153 emitted after an editor window was opened |
166 emitted after an editor window was opened |
154 </dd><dt>editorOpenedEd(Editor)</dt> |
167 </dd><dt>editorOpenedEd(Editor)</dt> |
155 <dd> |
168 <dd> |
156 emitted after an editor window was opened |
169 emitted after an editor window was opened |
157 </dd><dt>editorSaved(str)</dt> |
170 </dd><dt>editorSaved(str)</dt> |
158 <dd> |
171 <dd> |
159 emitted after an editor window was saved |
172 emitted after an editor window was saved |
|
173 </dd><dt>editorTextChanged(Editor)</dt> |
|
174 <dd> |
|
175 emitted to signal a change of an editor's text |
160 </dd><dt>lastEditorClosed()</dt> |
176 </dd><dt>lastEditorClosed()</dt> |
161 <dd> |
177 <dd> |
162 emitted after the last editor window was closed |
178 emitted after the last editor window was closed |
|
179 </dd><dt>previewStateChanged(bool)</dt> |
|
180 <dd> |
|
181 emitted to signal a change in the preview state |
|
182 </dd><dt>syntaxerrorToggled(Editor)</dt> |
|
183 <dd> |
|
184 emitted when a syntax error is toggled |
163 </dd> |
185 </dd> |
164 </dl> |
186 </dl> |
165 <h3>Derived from</h3> |
187 <h3>Derived from</h3> |
166 QObject |
188 QObject |
167 <h3>Class Attributes</h3> |
189 <h3>Class Attributes</h3> |
318 </tr><tr> |
340 </tr><tr> |
319 <td><a href="#ViewManager.__editorCommand">__editorCommand</a></td> |
341 <td><a href="#ViewManager.__editorCommand">__editorCommand</a></td> |
320 <td>Private method to send an editor command to the active window.</td> |
342 <td>Private method to send an editor command to the active window.</td> |
321 </tr><tr> |
343 </tr><tr> |
322 <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td> |
344 <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td> |
323 <td>Private method to handle changes of an editors configuration (e.g.</td> |
345 <td>Private slot to handle changes of an editor's configuration (e.g.</td> |
324 </tr><tr> |
346 </tr><tr> |
325 <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td> |
347 <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td> |
326 <td>Private slot to handle the editorOpened signal.</td> |
348 <td>Private slot to handle the editorOpened signal.</td> |
327 </tr><tr> |
349 </tr><tr> |
328 <td><a href="#ViewManager.__editorSaved">__editorSaved</a></td> |
350 <td><a href="#ViewManager.__editorSaved">__editorSaved</a></td> |
435 </tr><tr> |
457 </tr><tr> |
436 <td><a href="#ViewManager.__openSourceFile">__openSourceFile</a></td> |
458 <td><a href="#ViewManager.__openSourceFile">__openSourceFile</a></td> |
437 <td>Private method to open a file from the list of recently opened files.</td> |
459 <td>Private method to open a file from the list of recently opened files.</td> |
438 </tr><tr> |
460 </tr><tr> |
439 <td><a href="#ViewManager.__previewEditor">__previewEditor</a></td> |
461 <td><a href="#ViewManager.__previewEditor">__previewEditor</a></td> |
440 <td>Private method to preview the contents of the current editor in a web browser.</td> |
462 <td>Private slot to handle a change of the preview selection state.</td> |
441 </tr><tr> |
463 </tr><tr> |
442 <td><a href="#ViewManager.__previousBookmark">__previousBookmark</a></td> |
464 <td><a href="#ViewManager.__previousBookmark">__previousBookmark</a></td> |
443 <td>Private method to handle the previous bookmark action.</td> |
465 <td>Private method to handle the previous bookmark action.</td> |
444 </tr><tr> |
466 </tr><tr> |
445 <td><a href="#ViewManager.__previousChange">__previousChange</a></td> |
467 <td><a href="#ViewManager.__previousChange">__previousChange</a></td> |
451 <td><a href="#ViewManager.__previousUncovered">__previousUncovered</a></td> |
473 <td><a href="#ViewManager.__previousUncovered">__previousUncovered</a></td> |
452 <td>Private method to handle the previous uncovered action.</td> |
474 <td>Private method to handle the previous uncovered action.</td> |
453 </tr><tr> |
475 </tr><tr> |
454 <td><a href="#ViewManager.__previousWarning">__previousWarning</a></td> |
476 <td><a href="#ViewManager.__previousWarning">__previousWarning</a></td> |
455 <td>Private method to handle the previous warning action.</td> |
477 <td>Private method to handle the previous warning action.</td> |
456 </tr><tr> |
|
457 <td><a href="#ViewManager.__processSSI">__processSSI</a></td> |
|
458 <td>Private method to process the given text for SSI statements.</td> |
|
459 </tr><tr> |
478 </tr><tr> |
460 <td><a href="#ViewManager.__quickSearch">__quickSearch</a></td> |
479 <td><a href="#ViewManager.__quickSearch">__quickSearch</a></td> |
461 <td>Private slot to handle the incremental quick search.</td> |
480 <td>Private slot to handle the incremental quick search.</td> |
462 </tr><tr> |
481 </tr><tr> |
463 <td><a href="#ViewManager.__quickSearchEnter">__quickSearchEnter</a></td> |
482 <td><a href="#ViewManager.__quickSearchEnter">__quickSearchEnter</a></td> |
1181 </dd> |
1200 </dd> |
1182 </dl><a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a> |
1201 </dl><a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a> |
1183 <h4>ViewManager.__editorConfigChanged</h4> |
1202 <h4>ViewManager.__editorConfigChanged</h4> |
1184 <b>__editorConfigChanged</b>(<i></i>) |
1203 <b>__editorConfigChanged</b>(<i></i>) |
1185 <p> |
1204 <p> |
1186 Private method to handle changes of an editors configuration (e.g. language). |
1205 Private slot to handle changes of an editor's configuration (e.g. language). |
1187 </p><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a> |
1206 </p><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a> |
1188 <h4>ViewManager.__editorOpened</h4> |
1207 <h4>ViewManager.__editorOpened</h4> |
1189 <b>__editorOpened</b>(<i></i>) |
1208 <b>__editorOpened</b>(<i></i>) |
1190 <p> |
1209 <p> |
1191 Private slot to handle the editorOpened signal. |
1210 Private slot to handle the editorOpened signal. |
1404 <dd> |
1423 <dd> |
1405 reference to the action that triggered (QAction) |
1424 reference to the action that triggered (QAction) |
1406 </dd> |
1425 </dd> |
1407 </dl><a NAME="ViewManager.__previewEditor" ID="ViewManager.__previewEditor"></a> |
1426 </dl><a NAME="ViewManager.__previewEditor" ID="ViewManager.__previewEditor"></a> |
1408 <h4>ViewManager.__previewEditor</h4> |
1427 <h4>ViewManager.__previewEditor</h4> |
1409 <b>__previewEditor</b>(<i></i>) |
1428 <b>__previewEditor</b>(<i>checked</i>) |
1410 <p> |
1429 <p> |
1411 Private method to preview the contents of the current editor in a web browser. |
1430 Private slot to handle a change of the preview selection state. |
1412 </p><a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a> |
1431 </p><dl> |
|
1432 <dt><i>checked</i></dt> |
|
1433 <dd> |
|
1434 state of the action (boolean) |
|
1435 </dd> |
|
1436 </dl><a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a> |
1413 <h4>ViewManager.__previousBookmark</h4> |
1437 <h4>ViewManager.__previousBookmark</h4> |
1414 <b>__previousBookmark</b>(<i></i>) |
1438 <b>__previousBookmark</b>(<i></i>) |
1415 <p> |
1439 <p> |
1416 Private method to handle the previous bookmark action. |
1440 Private method to handle the previous bookmark action. |
1417 </p><a NAME="ViewManager.__previousChange" ID="ViewManager.__previousChange"></a> |
1441 </p><a NAME="ViewManager.__previousChange" ID="ViewManager.__previousChange"></a> |
1432 </p><a NAME="ViewManager.__previousWarning" ID="ViewManager.__previousWarning"></a> |
1456 </p><a NAME="ViewManager.__previousWarning" ID="ViewManager.__previousWarning"></a> |
1433 <h4>ViewManager.__previousWarning</h4> |
1457 <h4>ViewManager.__previousWarning</h4> |
1434 <b>__previousWarning</b>(<i></i>) |
1458 <b>__previousWarning</b>(<i></i>) |
1435 <p> |
1459 <p> |
1436 Private method to handle the previous warning action. |
1460 Private method to handle the previous warning action. |
1437 </p><a NAME="ViewManager.__processSSI" ID="ViewManager.__processSSI"></a> |
1461 </p><a NAME="ViewManager.__quickSearch" ID="ViewManager.__quickSearch"></a> |
1438 <h4>ViewManager.__processSSI</h4> |
|
1439 <b>__processSSI</b>(<i>txt, filename, root</i>) |
|
1440 <p> |
|
1441 Private method to process the given text for SSI statements. |
|
1442 </p><p> |
|
1443 Note: Only a limited subset of SSI statements are supported. |
|
1444 </p><dl> |
|
1445 <dt><i>txt</i></dt> |
|
1446 <dd> |
|
1447 text to be processed (string) |
|
1448 </dd><dt><i>filename</i></dt> |
|
1449 <dd> |
|
1450 name of the file associated with the given text (string) |
|
1451 </dd><dt><i>root</i></dt> |
|
1452 <dd> |
|
1453 directory of the document root (string) |
|
1454 </dd> |
|
1455 </dl><dl> |
|
1456 <dt>Returns:</dt> |
|
1457 <dd> |
|
1458 processed text (string) |
|
1459 </dd> |
|
1460 </dl><a NAME="ViewManager.__quickSearch" ID="ViewManager.__quickSearch"></a> |
|
1461 <h4>ViewManager.__quickSearch</h4> |
1462 <h4>ViewManager.__quickSearch</h4> |
1462 <b>__quickSearch</b>(<i></i>) |
1463 <b>__quickSearch</b>(<i></i>) |
1463 <p> |
1464 <p> |
1464 Private slot to handle the incremental quick search. |
1465 Private slot to handle the incremental quick search. |
1465 </p><a NAME="ViewManager.__quickSearchEnter" ID="ViewManager.__quickSearchEnter"></a> |
1466 </p><a NAME="ViewManager.__quickSearchEnter" ID="ViewManager.__quickSearchEnter"></a> |