Documentation/Source/eric6.ViewManager.ViewManager.html

changeset 6934
eae7d1d9cc7b
parent 6209
05b9989c1977
equal deleted inserted replaced
6933:7dc49eb45a06 6934:eae7d1d9cc7b
123 </p><p> 123 </p><p>
124 It defines the interface to be implemented by specific 124 It defines the interface to be implemented by specific
125 viewmanager classes and all common methods. 125 viewmanager classes and all common methods.
126 </p><h3>Signals</h3> 126 </p><h3>Signals</h3>
127 <dl> 127 <dl>
128 <dt>bookmarkToggled(Editor)</dt> 128 <dt>astViewerStateChanged(bool)</dt>
129 <dd>
130 emitted to signal a change in the
131 AST viewer state
132 </dd><dt>bookmarkToggled(Editor)</dt>
129 <dd> 133 <dd>
130 emitted when a bookmark is toggled 134 emitted when a bookmark is toggled
131 </dd><dt>breakpointToggled(Editor)</dt> 135 </dd><dt>breakpointToggled(Editor)</dt>
132 <dd> 136 <dd>
133 emitted when a breakpoint is toggled 137 emitted when a breakpoint is toggled
153 emitted just before an editor window gets closed 157 emitted just before an editor window gets closed
154 </dd><dt>editorClosedEd(Editor)</dt> 158 </dd><dt>editorClosedEd(Editor)</dt>
155 <dd> 159 <dd>
156 emitted just before an editor window gets 160 emitted just before an editor window gets
157 closed 161 closed
162 </dd><dt>editorDoubleClickedEd(Editor, position, buttons)</dt>
163 <dd>
164 emitted to signal
165 a mouse double click in an editor
158 </dd><dt>editorLanguageChanged(Editor)</dt> 166 </dd><dt>editorLanguageChanged(Editor)</dt>
159 <dd> 167 <dd>
160 emitted to signal a change of an 168 emitted to signal a change of an
161 editor's language 169 editor's language
162 </dd><dt>editorLineChanged(str,int)</dt> 170 </dd><dt>editorLineChanged(str,int)</dt>
214 <td>Constructor</td> 222 <td>Constructor</td>
215 </tr><tr> 223 </tr><tr>
216 <td><a href="#ViewManager.__addBookmarked">__addBookmarked</a></td> 224 <td><a href="#ViewManager.__addBookmarked">__addBookmarked</a></td>
217 <td>Private method to add the current file to the list of bookmarked files.</td> 225 <td>Private method to add the current file to the list of bookmarked files.</td>
218 </tr><tr> 226 </tr><tr>
227 <td><a href="#ViewManager.__astViewer">__astViewer</a></td>
228 <td>Private slot to handle a change of the AST Viewer selection state.</td>
229 </tr><tr>
219 <td><a href="#ViewManager.__autosave">__autosave</a></td> 230 <td><a href="#ViewManager.__autosave">__autosave</a></td>
220 <td>Private slot to save the contents of all editors automatically.</td> 231 <td>Private slot to save the contents of all editors automatically.</td>
221 </tr><tr> 232 </tr><tr>
222 <td><a href="#ViewManager.__bookmarkSelected">__bookmarkSelected</a></td> 233 <td><a href="#ViewManager.__bookmarkSelected">__bookmarkSelected</a></td>
223 <td>Private method to handle the bookmark selected signal.</td> 234 <td>Private method to handle the bookmark selected signal.</td>
360 <td><a href="#ViewManager.__editorCommand">__editorCommand</a></td> 371 <td><a href="#ViewManager.__editorCommand">__editorCommand</a></td>
361 <td>Private method to send an editor command to the active window.</td> 372 <td>Private method to send an editor command to the active window.</td>
362 </tr><tr> 373 </tr><tr>
363 <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td> 374 <td><a href="#ViewManager.__editorConfigChanged">__editorConfigChanged</a></td>
364 <td>Private slot to handle changes of an editor's configuration.</td> 375 <td>Private slot to handle changes of an editor's configuration.</td>
376 </tr><tr>
377 <td><a href="#ViewManager.__editorDoubleClicked">__editorDoubleClicked</a></td>
378 <td>Private slot handling mouse double clicks of an editor.</td>
365 </tr><tr> 379 </tr><tr>
366 <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td> 380 <td><a href="#ViewManager.__editorOpened">__editorOpened</a></td>
367 <td>Private slot to handle the editorOpened signal.</td> 381 <td>Private slot to handle the editorOpened signal.</td>
368 </tr><tr> 382 </tr><tr>
369 <td><a href="#ViewManager.__editorRenamed">__editorRenamed</a></td> 383 <td><a href="#ViewManager.__editorRenamed">__editorRenamed</a></td>
1006 </p><a NAME="ViewManager.__addBookmarked" ID="ViewManager.__addBookmarked"></a> 1020 </p><a NAME="ViewManager.__addBookmarked" ID="ViewManager.__addBookmarked"></a>
1007 <h4>ViewManager.__addBookmarked</h4> 1021 <h4>ViewManager.__addBookmarked</h4>
1008 <b>__addBookmarked</b>(<i></i>) 1022 <b>__addBookmarked</b>(<i></i>)
1009 <p> 1023 <p>
1010 Private method to add the current file to the list of bookmarked files. 1024 Private method to add the current file to the list of bookmarked files.
1011 </p><a NAME="ViewManager.__autosave" ID="ViewManager.__autosave"></a> 1025 </p><a NAME="ViewManager.__astViewer" ID="ViewManager.__astViewer"></a>
1026 <h4>ViewManager.__astViewer</h4>
1027 <b>__astViewer</b>(<i>checked</i>)
1028 <p>
1029 Private slot to handle a change of the AST Viewer selection state.
1030 </p><dl>
1031 <dt><i>checked</i></dt>
1032 <dd>
1033 state of the action (boolean)
1034 </dd>
1035 </dl><a NAME="ViewManager.__autosave" ID="ViewManager.__autosave"></a>
1012 <h4>ViewManager.__autosave</h4> 1036 <h4>ViewManager.__autosave</h4>
1013 <b>__autosave</b>(<i></i>) 1037 <b>__autosave</b>(<i></i>)
1014 <p> 1038 <p>
1015 Private slot to save the contents of all editors automatically. 1039 Private slot to save the contents of all editors automatically.
1016 </p><p> 1040 </p><p>
1326 Private slot to handle changes of an editor's configuration. 1350 Private slot to handle changes of an editor's configuration.
1327 </p><dl> 1351 </p><dl>
1328 <dt><i>editor</i> (Editor)</dt> 1352 <dt><i>editor</i> (Editor)</dt>
1329 <dd> 1353 <dd>
1330 reference to the editor 1354 reference to the editor
1355 </dd>
1356 </dl><a NAME="ViewManager.__editorDoubleClicked" ID="ViewManager.__editorDoubleClicked"></a>
1357 <h4>ViewManager.__editorDoubleClicked</h4>
1358 <b>__editorDoubleClicked</b>(<i>editor, pos, buttons</i>)
1359 <p>
1360 Private slot handling mouse double clicks of an editor.
1361 </p><p>
1362 Note: This method is simply a multiplexer to re-emit the signal
1363 with the editor prepended.
1364 </p><dl>
1365 <dt><i>editor</i> (Editor)</dt>
1366 <dd>
1367 reference to the editor, that emitted the signal
1368 </dd><dt><i>pos</i> (QPoint)</dt>
1369 <dd>
1370 position of the double click
1371 </dd><dt><i>buttons</i> (Qt.MouseButtons)</dt>
1372 <dd>
1373 mouse buttons that were double clicked
1331 </dd> 1374 </dd>
1332 </dl><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a> 1375 </dl><a NAME="ViewManager.__editorOpened" ID="ViewManager.__editorOpened"></a>
1333 <h4>ViewManager.__editorOpened</h4> 1376 <h4>ViewManager.__editorOpened</h4>
1334 <b>__editorOpened</b>(<i></i>) 1377 <b>__editorOpened</b>(<i></i>)
1335 <p> 1378 <p>

eric ide

mercurial