163 </table> |
163 </table> |
164 <h3>Methods</h3> |
164 <h3>Methods</h3> |
165 <table> |
165 <table> |
166 <tr> |
166 <tr> |
167 <td><a href="#TabWidget.__init__">TabWidget</a></td> |
167 <td><a href="#TabWidget.__init__">TabWidget</a></td> |
168 <td>Constructor</td> |
168 <td>Constructor</td> |
169 </tr><tr> |
169 </tr><tr> |
170 <td><a href="#TabWidget.__captionChange">__captionChange</a></td> |
170 <td><a href="#TabWidget.__captionChange">__captionChange</a></td> |
171 <td>Private method to handle Caption change signals from the editor.</td> |
171 <td>Private method to handle Caption change signals from the editor.</td> |
172 </tr><tr> |
172 </tr><tr> |
173 <td><a href="#TabWidget.__closeButtonClicked">__closeButtonClicked</a></td> |
173 <td><a href="#TabWidget.__closeButtonClicked">__closeButtonClicked</a></td> |
174 <td>Private method to handle the press of the close button.</td> |
174 <td>Private method to handle the press of the close button.</td> |
175 </tr><tr> |
175 </tr><tr> |
176 <td><a href="#TabWidget.__closeRequested">__closeRequested</a></td> |
176 <td><a href="#TabWidget.__closeRequested">__closeRequested</a></td> |
177 <td>Private method to handle the press of the individual tab close button.</td> |
177 <td>Private method to handle the press of the individual tab close button.</td> |
178 </tr><tr> |
178 </tr><tr> |
179 <td><a href="#TabWidget.__contextMenuClose">__contextMenuClose</a></td> |
179 <td><a href="#TabWidget.__contextMenuClose">__contextMenuClose</a></td> |
180 <td>Private method to close the selected tab.</td> |
180 <td>Private method to close the selected tab.</td> |
181 </tr><tr> |
181 </tr><tr> |
182 <td><a href="#TabWidget.__contextMenuCloseAll">__contextMenuCloseAll</a></td> |
182 <td><a href="#TabWidget.__contextMenuCloseAll">__contextMenuCloseAll</a></td> |
183 <td>Private method to close all tabs.</td> |
183 <td>Private method to close all tabs.</td> |
184 </tr><tr> |
184 </tr><tr> |
185 <td><a href="#TabWidget.__contextMenuCloseOthers">__contextMenuCloseOthers</a></td> |
185 <td><a href="#TabWidget.__contextMenuCloseOthers">__contextMenuCloseOthers</a></td> |
186 <td>Private method to close the other tabs.</td> |
186 <td>Private method to close the other tabs.</td> |
187 </tr><tr> |
187 </tr><tr> |
188 <td><a href="#TabWidget.__contextMenuMoveFirst">__contextMenuMoveFirst</a></td> |
188 <td><a href="#TabWidget.__contextMenuMoveFirst">__contextMenuMoveFirst</a></td> |
189 <td>Private method to move a tab to the first position.</td> |
189 <td>Private method to move a tab to the first position.</td> |
190 </tr><tr> |
190 </tr><tr> |
191 <td><a href="#TabWidget.__contextMenuMoveLast">__contextMenuMoveLast</a></td> |
191 <td><a href="#TabWidget.__contextMenuMoveLast">__contextMenuMoveLast</a></td> |
192 <td>Private method to move a tab to the last position.</td> |
192 <td>Private method to move a tab to the last position.</td> |
193 </tr><tr> |
193 </tr><tr> |
194 <td><a href="#TabWidget.__contextMenuMoveLeft">__contextMenuMoveLeft</a></td> |
194 <td><a href="#TabWidget.__contextMenuMoveLeft">__contextMenuMoveLeft</a></td> |
195 <td>Private method to move a tab one position to the left.</td> |
195 <td>Private method to move a tab one position to the left.</td> |
196 </tr><tr> |
196 </tr><tr> |
197 <td><a href="#TabWidget.__contextMenuMoveRight">__contextMenuMoveRight</a></td> |
197 <td><a href="#TabWidget.__contextMenuMoveRight">__contextMenuMoveRight</a></td> |
198 <td>Private method to move a tab one position to the right.</td> |
198 <td>Private method to move a tab one position to the right.</td> |
199 </tr><tr> |
199 </tr><tr> |
200 <td><a href="#TabWidget.__contextMenuPrintFile">__contextMenuPrintFile</a></td> |
200 <td><a href="#TabWidget.__contextMenuPrintFile">__contextMenuPrintFile</a></td> |
201 <td>Private method to print the selected tab.</td> |
201 <td>Private method to print the selected tab.</td> |
202 </tr><tr> |
202 </tr><tr> |
203 <td><a href="#TabWidget.__contextMenuSave">__contextMenuSave</a></td> |
203 <td><a href="#TabWidget.__contextMenuSave">__contextMenuSave</a></td> |
204 <td>Private method to save the selected tab.</td> |
204 <td>Private method to save the selected tab.</td> |
205 </tr><tr> |
205 </tr><tr> |
206 <td><a href="#TabWidget.__contextMenuSaveAll">__contextMenuSaveAll</a></td> |
206 <td><a href="#TabWidget.__contextMenuSaveAll">__contextMenuSaveAll</a></td> |
207 <td>Private method to save all tabs.</td> |
207 <td>Private method to save all tabs.</td> |
208 </tr><tr> |
208 </tr><tr> |
209 <td><a href="#TabWidget.__contextMenuSaveAs">__contextMenuSaveAs</a></td> |
209 <td><a href="#TabWidget.__contextMenuSaveAs">__contextMenuSaveAs</a></td> |
210 <td>Private method to save the selected tab to a new file.</td> |
210 <td>Private method to save the selected tab to a new file.</td> |
211 </tr><tr> |
211 </tr><tr> |
212 <td><a href="#TabWidget.__contextMenuSaveToProject">__contextMenuSaveToProject</a></td> |
212 <td><a href="#TabWidget.__contextMenuSaveToProject">__contextMenuSaveToProject</a></td> |
213 <td>Private method to save the selected tab to the current project.</td> |
213 <td>Private method to save the selected tab to the current project.</td> |
214 </tr><tr> |
214 </tr><tr> |
215 <td><a href="#TabWidget.__initMenu">__initMenu</a></td> |
215 <td><a href="#TabWidget.__initMenu">__initMenu</a></td> |
216 <td>Private method to initialize the tab context menu.</td> |
216 <td>Private method to initialize the tab context menu.</td> |
217 </tr><tr> |
217 </tr><tr> |
218 <td><a href="#TabWidget.__navigationMenuTriggered">__navigationMenuTriggered</a></td> |
218 <td><a href="#TabWidget.__navigationMenuTriggered">__navigationMenuTriggered</a></td> |
219 <td>Private slot called to handle the navigation button menu selection.</td> |
219 <td>Private slot called to handle the navigation button menu selection.</td> |
220 </tr><tr> |
220 </tr><tr> |
221 <td><a href="#TabWidget.__showContextMenu">__showContextMenu</a></td> |
221 <td><a href="#TabWidget.__showContextMenu">__showContextMenu</a></td> |
222 <td>Private slot to show the tab context menu.</td> |
222 <td>Private slot to show the tab context menu.</td> |
223 </tr><tr> |
223 </tr><tr> |
224 <td><a href="#TabWidget.__showNavigationMenu">__showNavigationMenu</a></td> |
224 <td><a href="#TabWidget.__showNavigationMenu">__showNavigationMenu</a></td> |
225 <td>Private slot to show the navigation button menu.</td> |
225 <td>Private slot to show the navigation button menu.</td> |
226 </tr><tr> |
226 </tr><tr> |
227 <td><a href="#TabWidget.addTab">addTab</a></td> |
227 <td><a href="#TabWidget.addTab">addTab</a></td> |
228 <td>Overwritten method to add a new tab.</td> |
228 <td>Overwritten method to add a new tab.</td> |
229 </tr><tr> |
229 </tr><tr> |
230 <td><a href="#TabWidget.copyTab">copyTab</a></td> |
230 <td><a href="#TabWidget.copyTab">copyTab</a></td> |
231 <td>Public method to copy an editor.</td> |
231 <td>Public method to copy an editor.</td> |
232 </tr><tr> |
232 </tr><tr> |
233 <td><a href="#TabWidget.copyTabOther">copyTabOther</a></td> |
233 <td><a href="#TabWidget.copyTabOther">copyTabOther</a></td> |
234 <td>Public method to copy an editor from another TabWidget.</td> |
234 <td>Public method to copy an editor from another TabWidget.</td> |
235 </tr><tr> |
235 </tr><tr> |
236 <td><a href="#TabWidget.currentWidget">currentWidget</a></td> |
236 <td><a href="#TabWidget.currentWidget">currentWidget</a></td> |
237 <td>Overridden method to return a reference to the current page.</td> |
237 <td>Overridden method to return a reference to the current page.</td> |
238 </tr><tr> |
238 </tr><tr> |
239 <td><a href="#TabWidget.hasEditor">hasEditor</a></td> |
239 <td><a href="#TabWidget.hasEditor">hasEditor</a></td> |
240 <td>Public method to check for an editor.</td> |
240 <td>Public method to check for an editor.</td> |
241 </tr><tr> |
241 </tr><tr> |
242 <td><a href="#TabWidget.hasEditors">hasEditors</a></td> |
242 <td><a href="#TabWidget.hasEditors">hasEditors</a></td> |
243 <td>Public method to test, if any editor is managed.</td> |
243 <td>Public method to test, if any editor is managed.</td> |
244 </tr><tr> |
244 </tr><tr> |
245 <td><a href="#TabWidget.insertWidget">insertWidget</a></td> |
245 <td><a href="#TabWidget.insertWidget">insertWidget</a></td> |
246 <td>Overwritten method to insert a new tab.</td> |
246 <td>Overwritten method to insert a new tab.</td> |
247 </tr><tr> |
247 </tr><tr> |
248 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
248 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
249 <td>Protected method handling double click events.</td> |
249 <td>Protected method handling double click events.</td> |
250 </tr><tr> |
250 </tr><tr> |
251 <td><a href="#TabWidget.relocateTab">relocateTab</a></td> |
251 <td><a href="#TabWidget.relocateTab">relocateTab</a></td> |
252 <td>Public method to relocate an editor from another TabWidget.</td> |
252 <td>Public method to relocate an editor from another TabWidget.</td> |
253 </tr><tr> |
253 </tr><tr> |
254 <td><a href="#TabWidget.removeWidget">removeWidget</a></td> |
254 <td><a href="#TabWidget.removeWidget">removeWidget</a></td> |
255 <td>Public method to remove a widget.</td> |
255 <td>Public method to remove a widget.</td> |
256 </tr><tr> |
256 </tr><tr> |
257 <td><a href="#TabWidget.showIndicator">showIndicator</a></td> |
257 <td><a href="#TabWidget.showIndicator">showIndicator</a></td> |
258 <td>Public slot to set the indicator on or off.</td> |
258 <td>Public slot to set the indicator on or off.</td> |
259 </tr> |
259 </tr> |
260 </table> |
260 </table> |
261 <a NAME="TabWidget.__init__" ID="TabWidget.__init__"></a> |
261 <a NAME="TabWidget.__init__" ID="TabWidget.__init__"></a> |
262 <h4>TabWidget (Constructor)</h4> |
262 <h4>TabWidget (Constructor)</h4> |
263 <b>TabWidget</b>(<i>vm</i>) |
263 <b>TabWidget</b>(<i>vm</i>) |
264 <p> |
264 <p> |
265 Constructor |
265 Constructor |
266 </p><dl> |
266 </p><dl> |
267 <dt><i>vm</i></dt> |
267 <dt><i>vm</i></dt> |
268 <dd> |
268 <dd> |
269 view manager widget (Tabview) |
269 view manager widget (Tabview) |
270 </dd> |
270 </dd> |
271 </dl><a NAME="TabWidget.__captionChange" ID="TabWidget.__captionChange"></a> |
271 </dl><a NAME="TabWidget.__captionChange" ID="TabWidget.__captionChange"></a> |
272 <h4>TabWidget.__captionChange</h4> |
272 <h4>TabWidget.__captionChange</h4> |
273 <b>__captionChange</b>(<i>cap, editor</i>) |
273 <b>__captionChange</b>(<i>cap, editor</i>) |
274 <p> |
274 <p> |
275 Private method to handle Caption change signals from the editor. |
275 Private method to handle Caption change signals from the editor. |
276 </p><p> |
276 </p><p> |
277 Updates the tab text and tooltip text to reflect the new caption information. |
277 Updates the tab text and tooltip text to reflect the new caption information. |
278 </p><dl> |
278 </p><dl> |
279 <dt><i>cap</i></dt> |
279 <dt><i>cap</i></dt> |
280 <dd> |
280 <dd> |
281 Caption for the editor |
281 Caption for the editor |
282 </dd><dt><i>editor</i></dt> |
282 </dd><dt><i>editor</i></dt> |
283 <dd> |
283 <dd> |
284 Editor to update the caption for |
284 Editor to update the caption for |
285 </dd> |
285 </dd> |
286 </dl><a NAME="TabWidget.__closeButtonClicked" ID="TabWidget.__closeButtonClicked"></a> |
286 </dl><a NAME="TabWidget.__closeButtonClicked" ID="TabWidget.__closeButtonClicked"></a> |
287 <h4>TabWidget.__closeButtonClicked</h4> |
287 <h4>TabWidget.__closeButtonClicked</h4> |
288 <b>__closeButtonClicked</b>(<i></i>) |
288 <b>__closeButtonClicked</b>(<i></i>) |
289 <p> |
289 <p> |
290 Private method to handle the press of the close button. |
290 Private method to handle the press of the close button. |
291 </p><a NAME="TabWidget.__closeRequested" ID="TabWidget.__closeRequested"></a> |
291 </p><a NAME="TabWidget.__closeRequested" ID="TabWidget.__closeRequested"></a> |
292 <h4>TabWidget.__closeRequested</h4> |
292 <h4>TabWidget.__closeRequested</h4> |
293 <b>__closeRequested</b>(<i>index</i>) |
293 <b>__closeRequested</b>(<i>index</i>) |
294 <p> |
294 <p> |
295 Private method to handle the press of the individual tab close button. |
295 Private method to handle the press of the individual tab close button. |
296 </p><dl> |
296 </p><dl> |
297 <dt><i>index</i></dt> |
297 <dt><i>index</i></dt> |
298 <dd> |
298 <dd> |
299 index of the tab (integer) |
299 index of the tab (integer) |
300 </dd> |
300 </dd> |
301 </dl><a NAME="TabWidget.__contextMenuClose" ID="TabWidget.__contextMenuClose"></a> |
301 </dl><a NAME="TabWidget.__contextMenuClose" ID="TabWidget.__contextMenuClose"></a> |
302 <h4>TabWidget.__contextMenuClose</h4> |
302 <h4>TabWidget.__contextMenuClose</h4> |
303 <b>__contextMenuClose</b>(<i></i>) |
303 <b>__contextMenuClose</b>(<i></i>) |
304 <p> |
304 <p> |
305 Private method to close the selected tab. |
305 Private method to close the selected tab. |
306 </p><a NAME="TabWidget.__contextMenuCloseAll" ID="TabWidget.__contextMenuCloseAll"></a> |
306 </p><a NAME="TabWidget.__contextMenuCloseAll" ID="TabWidget.__contextMenuCloseAll"></a> |
307 <h4>TabWidget.__contextMenuCloseAll</h4> |
307 <h4>TabWidget.__contextMenuCloseAll</h4> |
308 <b>__contextMenuCloseAll</b>(<i></i>) |
308 <b>__contextMenuCloseAll</b>(<i></i>) |
309 <p> |
309 <p> |
310 Private method to close all tabs. |
310 Private method to close all tabs. |
311 </p><a NAME="TabWidget.__contextMenuCloseOthers" ID="TabWidget.__contextMenuCloseOthers"></a> |
311 </p><a NAME="TabWidget.__contextMenuCloseOthers" ID="TabWidget.__contextMenuCloseOthers"></a> |
312 <h4>TabWidget.__contextMenuCloseOthers</h4> |
312 <h4>TabWidget.__contextMenuCloseOthers</h4> |
313 <b>__contextMenuCloseOthers</b>(<i></i>) |
313 <b>__contextMenuCloseOthers</b>(<i></i>) |
314 <p> |
314 <p> |
315 Private method to close the other tabs. |
315 Private method to close the other tabs. |
316 </p><a NAME="TabWidget.__contextMenuMoveFirst" ID="TabWidget.__contextMenuMoveFirst"></a> |
316 </p><a NAME="TabWidget.__contextMenuMoveFirst" ID="TabWidget.__contextMenuMoveFirst"></a> |
317 <h4>TabWidget.__contextMenuMoveFirst</h4> |
317 <h4>TabWidget.__contextMenuMoveFirst</h4> |
318 <b>__contextMenuMoveFirst</b>(<i></i>) |
318 <b>__contextMenuMoveFirst</b>(<i></i>) |
319 <p> |
319 <p> |
320 Private method to move a tab to the first position. |
320 Private method to move a tab to the first position. |
321 </p><a NAME="TabWidget.__contextMenuMoveLast" ID="TabWidget.__contextMenuMoveLast"></a> |
321 </p><a NAME="TabWidget.__contextMenuMoveLast" ID="TabWidget.__contextMenuMoveLast"></a> |
322 <h4>TabWidget.__contextMenuMoveLast</h4> |
322 <h4>TabWidget.__contextMenuMoveLast</h4> |
323 <b>__contextMenuMoveLast</b>(<i></i>) |
323 <b>__contextMenuMoveLast</b>(<i></i>) |
324 <p> |
324 <p> |
325 Private method to move a tab to the last position. |
325 Private method to move a tab to the last position. |
326 </p><a NAME="TabWidget.__contextMenuMoveLeft" ID="TabWidget.__contextMenuMoveLeft"></a> |
326 </p><a NAME="TabWidget.__contextMenuMoveLeft" ID="TabWidget.__contextMenuMoveLeft"></a> |
327 <h4>TabWidget.__contextMenuMoveLeft</h4> |
327 <h4>TabWidget.__contextMenuMoveLeft</h4> |
328 <b>__contextMenuMoveLeft</b>(<i></i>) |
328 <b>__contextMenuMoveLeft</b>(<i></i>) |
329 <p> |
329 <p> |
330 Private method to move a tab one position to the left. |
330 Private method to move a tab one position to the left. |
331 </p><a NAME="TabWidget.__contextMenuMoveRight" ID="TabWidget.__contextMenuMoveRight"></a> |
331 </p><a NAME="TabWidget.__contextMenuMoveRight" ID="TabWidget.__contextMenuMoveRight"></a> |
332 <h4>TabWidget.__contextMenuMoveRight</h4> |
332 <h4>TabWidget.__contextMenuMoveRight</h4> |
333 <b>__contextMenuMoveRight</b>(<i></i>) |
333 <b>__contextMenuMoveRight</b>(<i></i>) |
334 <p> |
334 <p> |
335 Private method to move a tab one position to the right. |
335 Private method to move a tab one position to the right. |
336 </p><a NAME="TabWidget.__contextMenuPrintFile" ID="TabWidget.__contextMenuPrintFile"></a> |
336 </p><a NAME="TabWidget.__contextMenuPrintFile" ID="TabWidget.__contextMenuPrintFile"></a> |
337 <h4>TabWidget.__contextMenuPrintFile</h4> |
337 <h4>TabWidget.__contextMenuPrintFile</h4> |
338 <b>__contextMenuPrintFile</b>(<i></i>) |
338 <b>__contextMenuPrintFile</b>(<i></i>) |
339 <p> |
339 <p> |
340 Private method to print the selected tab. |
340 Private method to print the selected tab. |
341 </p><a NAME="TabWidget.__contextMenuSave" ID="TabWidget.__contextMenuSave"></a> |
341 </p><a NAME="TabWidget.__contextMenuSave" ID="TabWidget.__contextMenuSave"></a> |
342 <h4>TabWidget.__contextMenuSave</h4> |
342 <h4>TabWidget.__contextMenuSave</h4> |
343 <b>__contextMenuSave</b>(<i></i>) |
343 <b>__contextMenuSave</b>(<i></i>) |
344 <p> |
344 <p> |
345 Private method to save the selected tab. |
345 Private method to save the selected tab. |
346 </p><a NAME="TabWidget.__contextMenuSaveAll" ID="TabWidget.__contextMenuSaveAll"></a> |
346 </p><a NAME="TabWidget.__contextMenuSaveAll" ID="TabWidget.__contextMenuSaveAll"></a> |
347 <h4>TabWidget.__contextMenuSaveAll</h4> |
347 <h4>TabWidget.__contextMenuSaveAll</h4> |
348 <b>__contextMenuSaveAll</b>(<i></i>) |
348 <b>__contextMenuSaveAll</b>(<i></i>) |
349 <p> |
349 <p> |
350 Private method to save all tabs. |
350 Private method to save all tabs. |
351 </p><a NAME="TabWidget.__contextMenuSaveAs" ID="TabWidget.__contextMenuSaveAs"></a> |
351 </p><a NAME="TabWidget.__contextMenuSaveAs" ID="TabWidget.__contextMenuSaveAs"></a> |
352 <h4>TabWidget.__contextMenuSaveAs</h4> |
352 <h4>TabWidget.__contextMenuSaveAs</h4> |
353 <b>__contextMenuSaveAs</b>(<i></i>) |
353 <b>__contextMenuSaveAs</b>(<i></i>) |
354 <p> |
354 <p> |
355 Private method to save the selected tab to a new file. |
355 Private method to save the selected tab to a new file. |
356 </p><a NAME="TabWidget.__contextMenuSaveToProject" ID="TabWidget.__contextMenuSaveToProject"></a> |
356 </p><a NAME="TabWidget.__contextMenuSaveToProject" ID="TabWidget.__contextMenuSaveToProject"></a> |
357 <h4>TabWidget.__contextMenuSaveToProject</h4> |
357 <h4>TabWidget.__contextMenuSaveToProject</h4> |
358 <b>__contextMenuSaveToProject</b>(<i></i>) |
358 <b>__contextMenuSaveToProject</b>(<i></i>) |
359 <p> |
359 <p> |
360 Private method to save the selected tab to the current project. |
360 Private method to save the selected tab to the current project. |
361 </p><a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a> |
361 </p><a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a> |
362 <h4>TabWidget.__initMenu</h4> |
362 <h4>TabWidget.__initMenu</h4> |
363 <b>__initMenu</b>(<i></i>) |
363 <b>__initMenu</b>(<i></i>) |
364 <p> |
364 <p> |
365 Private method to initialize the tab context menu. |
365 Private method to initialize the tab context menu. |
366 </p><a NAME="TabWidget.__navigationMenuTriggered" ID="TabWidget.__navigationMenuTriggered"></a> |
366 </p><a NAME="TabWidget.__navigationMenuTriggered" ID="TabWidget.__navigationMenuTriggered"></a> |
367 <h4>TabWidget.__navigationMenuTriggered</h4> |
367 <h4>TabWidget.__navigationMenuTriggered</h4> |
368 <b>__navigationMenuTriggered</b>(<i>act</i>) |
368 <b>__navigationMenuTriggered</b>(<i>act</i>) |
369 <p> |
369 <p> |
370 Private slot called to handle the navigation button menu selection. |
370 Private slot called to handle the navigation button menu selection. |
371 </p><dl> |
371 </p><dl> |
372 <dt><i>act</i></dt> |
372 <dt><i>act</i></dt> |
373 <dd> |
373 <dd> |
374 reference to the selected action (QAction) |
374 reference to the selected action (QAction) |
375 </dd> |
375 </dd> |
376 </dl><a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a> |
376 </dl><a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a> |
377 <h4>TabWidget.__showContextMenu</h4> |
377 <h4>TabWidget.__showContextMenu</h4> |
378 <b>__showContextMenu</b>(<i>coord, index</i>) |
378 <b>__showContextMenu</b>(<i>coord, index</i>) |
379 <p> |
379 <p> |
380 Private slot to show the tab context menu. |
380 Private slot to show the tab context menu. |
381 </p><dl> |
381 </p><dl> |
382 <dt><i>coord</i></dt> |
382 <dt><i>coord</i></dt> |
383 <dd> |
383 <dd> |
384 the position of the mouse pointer (QPoint) |
384 the position of the mouse pointer (QPoint) |
385 </dd><dt><i>index</i></dt> |
385 </dd><dt><i>index</i></dt> |
386 <dd> |
386 <dd> |
387 index of the tab the menu is requested for (integer) |
387 index of the tab the menu is requested for (integer) |
388 </dd> |
388 </dd> |
389 </dl><a NAME="TabWidget.__showNavigationMenu" ID="TabWidget.__showNavigationMenu"></a> |
389 </dl><a NAME="TabWidget.__showNavigationMenu" ID="TabWidget.__showNavigationMenu"></a> |
390 <h4>TabWidget.__showNavigationMenu</h4> |
390 <h4>TabWidget.__showNavigationMenu</h4> |
391 <b>__showNavigationMenu</b>(<i></i>) |
391 <b>__showNavigationMenu</b>(<i></i>) |
392 <p> |
392 <p> |
393 Private slot to show the navigation button menu. |
393 Private slot to show the navigation button menu. |
394 </p><a NAME="TabWidget.addTab" ID="TabWidget.addTab"></a> |
394 </p><a NAME="TabWidget.addTab" ID="TabWidget.addTab"></a> |
395 <h4>TabWidget.addTab</h4> |
395 <h4>TabWidget.addTab</h4> |
396 <b>addTab</b>(<i>editor, title</i>) |
396 <b>addTab</b>(<i>editor, title</i>) |
397 <p> |
397 <p> |
398 Overwritten method to add a new tab. |
398 Overwritten method to add a new tab. |
399 </p><dl> |
399 </p><dl> |
400 <dt><i>editor</i></dt> |
400 <dt><i>editor</i></dt> |
401 <dd> |
401 <dd> |
402 the editor object to be added (QScintilla.Editor.Editor) |
402 the editor object to be added (QScintilla.Editor.Editor) |
403 </dd><dt><i>title</i></dt> |
403 </dd><dt><i>title</i></dt> |
404 <dd> |
404 <dd> |
405 title for the new tab (string) |
405 title for the new tab (string) |
406 </dd> |
406 </dd> |
407 </dl><a NAME="TabWidget.copyTab" ID="TabWidget.copyTab"></a> |
407 </dl><a NAME="TabWidget.copyTab" ID="TabWidget.copyTab"></a> |
408 <h4>TabWidget.copyTab</h4> |
408 <h4>TabWidget.copyTab</h4> |
409 <b>copyTab</b>(<i>sourceIndex, targetIndex</i>) |
409 <b>copyTab</b>(<i>sourceIndex, targetIndex</i>) |
410 <p> |
410 <p> |
411 Public method to copy an editor. |
411 Public method to copy an editor. |
412 </p><dl> |
412 </p><dl> |
413 <dt><i>sourceIndex</i></dt> |
413 <dt><i>sourceIndex</i></dt> |
414 <dd> |
414 <dd> |
415 index of the tab (integer) |
415 index of the tab (integer) |
416 </dd><dt><i>targetIndex</i></dt> |
416 </dd><dt><i>targetIndex</i></dt> |
417 <dd> |
417 <dd> |
418 index position to place it to (integer) |
418 index position to place it to (integer) |
419 </dd> |
419 </dd> |
420 </dl><a NAME="TabWidget.copyTabOther" ID="TabWidget.copyTabOther"></a> |
420 </dl><a NAME="TabWidget.copyTabOther" ID="TabWidget.copyTabOther"></a> |
421 <h4>TabWidget.copyTabOther</h4> |
421 <h4>TabWidget.copyTabOther</h4> |
422 <b>copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
422 <b>copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
423 <p> |
423 <p> |
424 Public method to copy an editor from another TabWidget. |
424 Public method to copy an editor from another TabWidget. |
425 </p><dl> |
425 </p><dl> |
426 <dt><i>sourceId</i></dt> |
426 <dt><i>sourceId</i></dt> |
427 <dd> |
427 <dd> |
428 id of the TabWidget to get the editor from (long) |
428 id of the TabWidget to get the editor from (long) |
429 </dd><dt><i>sourceIndex</i></dt> |
429 </dd><dt><i>sourceIndex</i></dt> |
430 <dd> |
430 <dd> |
431 index of the tab in the old tab widget (integer) |
431 index of the tab in the old tab widget (integer) |
432 </dd><dt><i>targetIndex</i></dt> |
432 </dd><dt><i>targetIndex</i></dt> |
433 <dd> |
433 <dd> |
434 index position to place it to (integer) |
434 index position to place it to (integer) |
435 </dd> |
435 </dd> |
436 </dl><a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a> |
436 </dl><a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a> |
437 <h4>TabWidget.currentWidget</h4> |
437 <h4>TabWidget.currentWidget</h4> |
438 <b>currentWidget</b>(<i></i>) |
438 <b>currentWidget</b>(<i></i>) |
439 <p> |
439 <p> |
440 Overridden method to return a reference to the current page. |
440 Overridden method to return a reference to the current page. |
441 </p><dl> |
441 </p><dl> |
442 <dt>Returns:</dt> |
442 <dt>Returns:</dt> |
443 <dd> |
443 <dd> |
444 reference to the current page (QWidget) |
444 reference to the current page (QWidget) |
445 </dd> |
445 </dd> |
446 </dl><a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a> |
446 </dl><a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a> |
447 <h4>TabWidget.hasEditor</h4> |
447 <h4>TabWidget.hasEditor</h4> |
448 <b>hasEditor</b>(<i>editor</i>) |
448 <b>hasEditor</b>(<i>editor</i>) |
449 <p> |
449 <p> |
450 Public method to check for an editor. |
450 Public method to check for an editor. |
451 </p><dl> |
451 </p><dl> |
452 <dt><i>editor</i></dt> |
452 <dt><i>editor</i></dt> |
453 <dd> |
453 <dd> |
454 editor object to check for |
454 editor object to check for |
455 </dd> |
455 </dd> |
456 </dl><dl> |
456 </dl><dl> |
457 <dt>Returns:</dt> |
457 <dt>Returns:</dt> |
458 <dd> |
458 <dd> |
459 flag indicating, whether the editor to be checked belongs |
459 flag indicating, whether the editor to be checked belongs |
460 to the list of editors managed by this tab widget. |
460 to the list of editors managed by this tab widget. |
461 </dd> |
461 </dd> |
462 </dl><a NAME="TabWidget.hasEditors" ID="TabWidget.hasEditors"></a> |
462 </dl><a NAME="TabWidget.hasEditors" ID="TabWidget.hasEditors"></a> |
463 <h4>TabWidget.hasEditors</h4> |
463 <h4>TabWidget.hasEditors</h4> |
464 <b>hasEditors</b>(<i></i>) |
464 <b>hasEditors</b>(<i></i>) |
465 <p> |
465 <p> |
466 Public method to test, if any editor is managed. |
466 Public method to test, if any editor is managed. |
467 </p><dl> |
467 </p><dl> |
468 <dt>Returns:</dt> |
468 <dt>Returns:</dt> |
469 <dd> |
469 <dd> |
470 flag indicating editors are managed |
470 flag indicating editors are managed |
471 </dd> |
471 </dd> |
472 </dl><a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a> |
472 </dl><a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a> |
473 <h4>TabWidget.insertWidget</h4> |
473 <h4>TabWidget.insertWidget</h4> |
474 <b>insertWidget</b>(<i>index, editor, title</i>) |
474 <b>insertWidget</b>(<i>index, editor, title</i>) |
475 <p> |
475 <p> |
476 Overwritten method to insert a new tab. |
476 Overwritten method to insert a new tab. |
477 </p><dl> |
477 </p><dl> |
478 <dt><i>index</i></dt> |
478 <dt><i>index</i></dt> |
479 <dd> |
479 <dd> |
480 index position for the new tab (integer) |
480 index position for the new tab (integer) |
481 </dd><dt><i>editor</i></dt> |
481 </dd><dt><i>editor</i></dt> |
482 <dd> |
482 <dd> |
483 the editor object to be added (QScintilla.Editor.Editor) |
483 the editor object to be added (QScintilla.Editor.Editor) |
484 </dd><dt><i>title</i></dt> |
484 </dd><dt><i>title</i></dt> |
485 <dd> |
485 <dd> |
486 title for the new tab (string) |
486 title for the new tab (string) |
487 </dd> |
487 </dd> |
488 </dl><dl> |
488 </dl><dl> |
489 <dt>Returns:</dt> |
489 <dt>Returns:</dt> |
490 <dd> |
490 <dd> |
491 index of the inserted tab (integer) |
491 index of the inserted tab (integer) |
492 </dd> |
492 </dd> |
493 </dl><a NAME="TabWidget.mouseDoubleClickEvent" ID="TabWidget.mouseDoubleClickEvent"></a> |
493 </dl><a NAME="TabWidget.mouseDoubleClickEvent" ID="TabWidget.mouseDoubleClickEvent"></a> |
494 <h4>TabWidget.mouseDoubleClickEvent</h4> |
494 <h4>TabWidget.mouseDoubleClickEvent</h4> |
495 <b>mouseDoubleClickEvent</b>(<i>event</i>) |
495 <b>mouseDoubleClickEvent</b>(<i>event</i>) |
496 <p> |
496 <p> |
497 Protected method handling double click events. |
497 Protected method handling double click events. |
498 </p><dl> |
498 </p><dl> |
499 <dt><i>event</i></dt> |
499 <dt><i>event</i></dt> |
500 <dd> |
500 <dd> |
501 reference to the event object (QMouseEvent) |
501 reference to the event object (QMouseEvent) |
502 </dd> |
502 </dd> |
503 </dl><a NAME="TabWidget.relocateTab" ID="TabWidget.relocateTab"></a> |
503 </dl><a NAME="TabWidget.relocateTab" ID="TabWidget.relocateTab"></a> |
504 <h4>TabWidget.relocateTab</h4> |
504 <h4>TabWidget.relocateTab</h4> |
505 <b>relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
505 <b>relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
506 <p> |
506 <p> |
507 Public method to relocate an editor from another TabWidget. |
507 Public method to relocate an editor from another TabWidget. |
508 </p><dl> |
508 </p><dl> |
509 <dt><i>sourceId</i></dt> |
509 <dt><i>sourceId</i></dt> |
510 <dd> |
510 <dd> |
511 id of the TabWidget to get the editor from (long) |
511 id of the TabWidget to get the editor from (long) |
512 </dd><dt><i>sourceIndex</i></dt> |
512 </dd><dt><i>sourceIndex</i></dt> |
513 <dd> |
513 <dd> |
514 index of the tab in the old tab widget (integer) |
514 index of the tab in the old tab widget (integer) |
515 </dd><dt><i>targetIndex</i></dt> |
515 </dd><dt><i>targetIndex</i></dt> |
516 <dd> |
516 <dd> |
517 index position to place it to (integer) |
517 index position to place it to (integer) |
518 </dd> |
518 </dd> |
519 </dl><a NAME="TabWidget.removeWidget" ID="TabWidget.removeWidget"></a> |
519 </dl><a NAME="TabWidget.removeWidget" ID="TabWidget.removeWidget"></a> |
520 <h4>TabWidget.removeWidget</h4> |
520 <h4>TabWidget.removeWidget</h4> |
521 <b>removeWidget</b>(<i>object</i>) |
521 <b>removeWidget</b>(<i>object</i>) |
522 <p> |
522 <p> |
523 Public method to remove a widget. |
523 Public method to remove a widget. |
524 </p><dl> |
524 </p><dl> |
525 <dt><i>object</i></dt> |
525 <dt><i>object</i></dt> |
526 <dd> |
526 <dd> |
527 object to be removed (QWidget) |
527 object to be removed (QWidget) |
528 </dd> |
528 </dd> |
529 </dl><a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a> |
529 </dl><a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a> |
530 <h4>TabWidget.showIndicator</h4> |
530 <h4>TabWidget.showIndicator</h4> |
531 <b>showIndicator</b>(<i>on</i>) |
531 <b>showIndicator</b>(<i>on</i>) |
532 <p> |
532 <p> |
533 Public slot to set the indicator on or off. |
533 Public slot to set the indicator on or off. |
534 </p><dl> |
534 </p><dl> |
535 <dt><i>on</i></dt> |
535 <dt><i>on</i></dt> |
536 <dd> |
536 <dd> |
537 flag indicating the dtate of the indicator (boolean) |
537 flag indicating the dtate of the indicator (boolean) |
538 </dd> |
538 </dd> |
539 </dl> |
539 </dl> |
540 <div align="right"><a href="#top">Up</a></div> |
540 <div align="right"><a href="#top">Up</a></div> |
541 <hr /><hr /> |
541 <hr /><hr /> |
542 <a NAME="Tabview" ID="Tabview"></a> |
542 <a NAME="Tabview" ID="Tabview"></a> |
543 <h2>Tabview</h2> |
543 <h2>Tabview</h2> |
544 <p> |
544 <p> |
545 Class implementing a tabbed viewmanager class embedded in a splitter. |
545 Class implementing a tabbed viewmanager class embedded in a splitter. |
546 </p><h4>Signals</h4> |
546 </p><h4>Signals</h4> |
547 <dl> |
547 <dl> |
548 <dt>changeCaption(string)</dt> |
548 <dt>changeCaption(string)</dt> |
549 <dd> |
549 <dd> |
550 emitted if a change of the caption is necessary |
550 emitted if a change of the caption is necessary |
551 </dd><dt>editorChanged(string)</dt> |
551 </dd><dt>editorChanged(string)</dt> |
552 <dd> |
552 <dd> |
553 emitted when the current editor has changed |
553 emitted when the current editor has changed |
554 </dd> |
554 </dd> |
555 </dl> |
555 </dl> |
556 <h3>Derived from</h3> |
556 <h3>Derived from</h3> |
557 QSplitter, ViewManager |
557 QSplitter, ViewManager |
558 <h3>Class Attributes</h3> |
558 <h3>Class Attributes</h3> |
561 </table> |
561 </table> |
562 <h3>Methods</h3> |
562 <h3>Methods</h3> |
563 <table> |
563 <table> |
564 <tr> |
564 <tr> |
565 <td><a href="#Tabview.__init__">Tabview</a></td> |
565 <td><a href="#Tabview.__init__">Tabview</a></td> |
566 <td>Constructor</td> |
566 <td>Constructor</td> |
567 </tr><tr> |
567 </tr><tr> |
568 <td><a href="#Tabview.__currentChanged">__currentChanged</a></td> |
568 <td><a href="#Tabview.__currentChanged">__currentChanged</a></td> |
569 <td>Private slot to handle the currentChanged signal.</td> |
569 <td>Private slot to handle the currentChanged signal.</td> |
570 </tr><tr> |
570 </tr><tr> |
571 <td><a href="#Tabview._addView">_addView</a></td> |
571 <td><a href="#Tabview._addView">_addView</a></td> |
572 <td>Protected method to add a view (i.e.</td> |
572 <td>Protected method to add a view (i.e.</td> |
573 </tr><tr> |
573 </tr><tr> |
574 <td><a href="#Tabview._initWindowActions">_initWindowActions</a></td> |
574 <td><a href="#Tabview._initWindowActions">_initWindowActions</a></td> |
575 <td>Protected method to define the user interface actions for window handling.</td> |
575 <td>Protected method to define the user interface actions for window handling.</td> |
576 </tr><tr> |
576 </tr><tr> |
577 <td><a href="#Tabview._modificationStatusChanged">_modificationStatusChanged</a></td> |
577 <td><a href="#Tabview._modificationStatusChanged">_modificationStatusChanged</a></td> |
578 <td>Protected slot to handle the modificationStatusChanged signal.</td> |
578 <td>Protected slot to handle the modificationStatusChanged signal.</td> |
579 </tr><tr> |
579 </tr><tr> |
580 <td><a href="#Tabview._removeAllViews">_removeAllViews</a></td> |
580 <td><a href="#Tabview._removeAllViews">_removeAllViews</a></td> |
581 <td>Protected method to remove all views (i.e.</td> |
581 <td>Protected method to remove all views (i.e.</td> |
582 </tr><tr> |
582 </tr><tr> |
583 <td><a href="#Tabview._removeView">_removeView</a></td> |
583 <td><a href="#Tabview._removeView">_removeView</a></td> |
584 <td>Protected method to remove a view (i.e.</td> |
584 <td>Protected method to remove a view (i.e.</td> |
585 </tr><tr> |
585 </tr><tr> |
586 <td><a href="#Tabview._showView">_showView</a></td> |
586 <td><a href="#Tabview._showView">_showView</a></td> |
587 <td>Protected method to show a view (i.e.</td> |
587 <td>Protected method to show a view (i.e.</td> |
588 </tr><tr> |
588 </tr><tr> |
589 <td><a href="#Tabview._syntaxErrorToggled">_syntaxErrorToggled</a></td> |
589 <td><a href="#Tabview._syntaxErrorToggled">_syntaxErrorToggled</a></td> |
590 <td>Protected slot to handle the syntaxerrorToggled signal.</td> |
590 <td>Protected slot to handle the syntaxerrorToggled signal.</td> |
591 </tr><tr> |
591 </tr><tr> |
592 <td><a href="#Tabview.activeWindow">activeWindow</a></td> |
592 <td><a href="#Tabview.activeWindow">activeWindow</a></td> |
593 <td>Public method to return the active (i.e.</td> |
593 <td>Public method to return the active (i.e.</td> |
594 </tr><tr> |
594 </tr><tr> |
595 <td><a href="#Tabview.addSplit">addSplit</a></td> |
595 <td><a href="#Tabview.addSplit">addSplit</a></td> |
596 <td>Public method used to split the current view.</td> |
596 <td>Public method used to split the current view.</td> |
597 </tr><tr> |
597 </tr><tr> |
598 <td><a href="#Tabview.canCascade">canCascade</a></td> |
598 <td><a href="#Tabview.canCascade">canCascade</a></td> |
599 <td>Public method to signal if cascading of managed windows is available.</td> |
599 <td>Public method to signal if cascading of managed windows is available.</td> |
600 </tr><tr> |
600 </tr><tr> |
601 <td><a href="#Tabview.canSplit">canSplit</a></td> |
601 <td><a href="#Tabview.canSplit">canSplit</a></td> |
602 <td>public method to signal if splitting of the view is available.</td> |
602 <td>public method to signal if splitting of the view is available.</td> |
603 </tr><tr> |
603 </tr><tr> |
604 <td><a href="#Tabview.canTile">canTile</a></td> |
604 <td><a href="#Tabview.canTile">canTile</a></td> |
605 <td>Public method to signal if tiling of managed windows is available.</td> |
605 <td>Public method to signal if tiling of managed windows is available.</td> |
606 </tr><tr> |
606 </tr><tr> |
607 <td><a href="#Tabview.cascade">cascade</a></td> |
607 <td><a href="#Tabview.cascade">cascade</a></td> |
608 <td>Public method to cascade the managed windows.</td> |
608 <td>Public method to cascade the managed windows.</td> |
609 </tr><tr> |
609 </tr><tr> |
610 <td><a href="#Tabview.eventFilter">eventFilter</a></td> |
610 <td><a href="#Tabview.eventFilter">eventFilter</a></td> |
611 <td>Public method called to filter the event queue.</td> |
611 <td>Public method called to filter the event queue.</td> |
612 </tr><tr> |
612 </tr><tr> |
613 <td><a href="#Tabview.getTabWidgetById">getTabWidgetById</a></td> |
613 <td><a href="#Tabview.getTabWidgetById">getTabWidgetById</a></td> |
614 <td>Public method to get a reference to a tab widget knowing it's ID.</td> |
614 <td>Public method to get a reference to a tab widget knowing it's ID.</td> |
615 </tr><tr> |
615 </tr><tr> |
616 <td><a href="#Tabview.insertView">insertView</a></td> |
616 <td><a href="#Tabview.insertView">insertView</a></td> |
617 <td>Protected method to add a view (i.e.</td> |
617 <td>Protected method to add a view (i.e.</td> |
618 </tr><tr> |
618 </tr><tr> |
619 <td><a href="#Tabview.nextSplit">nextSplit</a></td> |
619 <td><a href="#Tabview.nextSplit">nextSplit</a></td> |
620 <td>Public slot used to move to the next split.</td> |
620 <td>Public slot used to move to the next split.</td> |
621 </tr><tr> |
621 </tr><tr> |
622 <td><a href="#Tabview.preferencesChanged">preferencesChanged</a></td> |
622 <td><a href="#Tabview.preferencesChanged">preferencesChanged</a></td> |
623 <td>Public slot to handle the preferencesChanged signal.</td> |
623 <td>Public slot to handle the preferencesChanged signal.</td> |
624 </tr><tr> |
624 </tr><tr> |
625 <td><a href="#Tabview.prevSplit">prevSplit</a></td> |
625 <td><a href="#Tabview.prevSplit">prevSplit</a></td> |
626 <td>Public slot used to move to the previous split.</td> |
626 <td>Public slot used to move to the previous split.</td> |
627 </tr><tr> |
627 </tr><tr> |
628 <td><a href="#Tabview.removeSplit">removeSplit</a></td> |
628 <td><a href="#Tabview.removeSplit">removeSplit</a></td> |
629 <td>Public method used to remove the current split view.</td> |
629 <td>Public method used to remove the current split view.</td> |
630 </tr><tr> |
630 </tr><tr> |
631 <td><a href="#Tabview.setEditorName">setEditorName</a></td> |
631 <td><a href="#Tabview.setEditorName">setEditorName</a></td> |
632 <td>Public method to change the displayed name of the editor.</td> |
632 <td>Public method to change the displayed name of the editor.</td> |
633 </tr><tr> |
633 </tr><tr> |
634 <td><a href="#Tabview.setSplitOrientation">setSplitOrientation</a></td> |
634 <td><a href="#Tabview.setSplitOrientation">setSplitOrientation</a></td> |
635 <td>Public method used to set the orientation of the split view.</td> |
635 <td>Public method used to set the orientation of the split view.</td> |
636 </tr><tr> |
636 </tr><tr> |
637 <td><a href="#Tabview.showWindowMenu">showWindowMenu</a></td> |
637 <td><a href="#Tabview.showWindowMenu">showWindowMenu</a></td> |
638 <td>Public method to set up the viewmanager part of the Window menu.</td> |
638 <td>Public method to set up the viewmanager part of the Window menu.</td> |
639 </tr><tr> |
639 </tr><tr> |
640 <td><a href="#Tabview.tile">tile</a></td> |
640 <td><a href="#Tabview.tile">tile</a></td> |
641 <td>Public method to tile the managed windows.</td> |
641 <td>Public method to tile the managed windows.</td> |
642 </tr> |
642 </tr> |
643 </table> |
643 </table> |
644 <a NAME="Tabview.__init__" ID="Tabview.__init__"></a> |
644 <a NAME="Tabview.__init__" ID="Tabview.__init__"></a> |
645 <h4>Tabview (Constructor)</h4> |
645 <h4>Tabview (Constructor)</h4> |
646 <b>Tabview</b>(<i>parent</i>) |
646 <b>Tabview</b>(<i>parent</i>) |
647 <p> |
647 <p> |
648 Constructor |
648 Constructor |
649 </p><dl> |
649 </p><dl> |
650 <dt><i>parent</i></dt> |
650 <dt><i>parent</i></dt> |
651 <dd> |
651 <dd> |
652 parent widget (QWidget) |
652 parent widget (QWidget) |
653 </dd><dt><i>ui</i></dt> |
653 </dd><dt><i>ui</i></dt> |
654 <dd> |
654 <dd> |
655 reference to the main user interface |
655 reference to the main user interface |
656 </dd><dt><i>dbs</i></dt> |
656 </dd><dt><i>dbs</i></dt> |
657 <dd> |
657 <dd> |
658 reference to the debug server object |
658 reference to the debug server object |
659 </dd> |
659 </dd> |
660 </dl><a NAME="Tabview.__currentChanged" ID="Tabview.__currentChanged"></a> |
660 </dl><a NAME="Tabview.__currentChanged" ID="Tabview.__currentChanged"></a> |
661 <h4>Tabview.__currentChanged</h4> |
661 <h4>Tabview.__currentChanged</h4> |
662 <b>__currentChanged</b>(<i>index</i>) |
662 <b>__currentChanged</b>(<i>index</i>) |
663 <p> |
663 <p> |
664 Private slot to handle the currentChanged signal. |
664 Private slot to handle the currentChanged signal. |
665 </p><dl> |
665 </p><dl> |
666 <dt><i>index</i></dt> |
666 <dt><i>index</i></dt> |
667 <dd> |
667 <dd> |
668 index of the current tab (integer) |
668 index of the current tab (integer) |
669 </dd> |
669 </dd> |
670 </dl><a NAME="Tabview._addView" ID="Tabview._addView"></a> |
670 </dl><a NAME="Tabview._addView" ID="Tabview._addView"></a> |
671 <h4>Tabview._addView</h4> |
671 <h4>Tabview._addView</h4> |
672 <b>_addView</b>(<i>win, fn = None, noName = ""</i>) |
672 <b>_addView</b>(<i>win, fn = None, noName = ""</i>) |
673 <p> |
673 <p> |
674 Protected method to add a view (i.e. window) |
674 Protected method to add a view (i.e. window) |
675 </p><dl> |
675 </p><dl> |
676 <dt><i>win</i></dt> |
676 <dt><i>win</i></dt> |
677 <dd> |
677 <dd> |
678 editor window to be added |
678 editor window to be added |
679 </dd><dt><i>fn</i></dt> |
679 </dd><dt><i>fn</i></dt> |
680 <dd> |
680 <dd> |
681 filename of this editor (string) |
681 filename of this editor (string) |
682 </dd><dt><i>noName</i></dt> |
682 </dd><dt><i>noName</i></dt> |
683 <dd> |
683 <dd> |
684 name to be used for an unnamed editor (string) |
684 name to be used for an unnamed editor (string) |
685 </dd> |
685 </dd> |
686 </dl><a NAME="Tabview._initWindowActions" ID="Tabview._initWindowActions"></a> |
686 </dl><a NAME="Tabview._initWindowActions" ID="Tabview._initWindowActions"></a> |
687 <h4>Tabview._initWindowActions</h4> |
687 <h4>Tabview._initWindowActions</h4> |
688 <b>_initWindowActions</b>(<i></i>) |
688 <b>_initWindowActions</b>(<i></i>) |
689 <p> |
689 <p> |
690 Protected method to define the user interface actions for window handling. |
690 Protected method to define the user interface actions for window handling. |
691 </p><a NAME="Tabview._modificationStatusChanged" ID="Tabview._modificationStatusChanged"></a> |
691 </p><a NAME="Tabview._modificationStatusChanged" ID="Tabview._modificationStatusChanged"></a> |
692 <h4>Tabview._modificationStatusChanged</h4> |
692 <h4>Tabview._modificationStatusChanged</h4> |
693 <b>_modificationStatusChanged</b>(<i>m, editor</i>) |
693 <b>_modificationStatusChanged</b>(<i>m, editor</i>) |
694 <p> |
694 <p> |
695 Protected slot to handle the modificationStatusChanged signal. |
695 Protected slot to handle the modificationStatusChanged signal. |
696 </p><dl> |
696 </p><dl> |
697 <dt><i>m</i></dt> |
697 <dt><i>m</i></dt> |
698 <dd> |
698 <dd> |
699 flag indicating the modification status (boolean) |
699 flag indicating the modification status (boolean) |
700 </dd><dt><i>editor</i></dt> |
700 </dd><dt><i>editor</i></dt> |
701 <dd> |
701 <dd> |
702 editor window changed |
702 editor window changed |
703 </dd> |
703 </dd> |
704 </dl><a NAME="Tabview._removeAllViews" ID="Tabview._removeAllViews"></a> |
704 </dl><a NAME="Tabview._removeAllViews" ID="Tabview._removeAllViews"></a> |
705 <h4>Tabview._removeAllViews</h4> |
705 <h4>Tabview._removeAllViews</h4> |
706 <b>_removeAllViews</b>(<i></i>) |
706 <b>_removeAllViews</b>(<i></i>) |
707 <p> |
707 <p> |
708 Protected method to remove all views (i.e. windows) |
708 Protected method to remove all views (i.e. windows) |
709 </p><a NAME="Tabview._removeView" ID="Tabview._removeView"></a> |
709 </p><a NAME="Tabview._removeView" ID="Tabview._removeView"></a> |
710 <h4>Tabview._removeView</h4> |
710 <h4>Tabview._removeView</h4> |
711 <b>_removeView</b>(<i>win</i>) |
711 <b>_removeView</b>(<i>win</i>) |
712 <p> |
712 <p> |
713 Protected method to remove a view (i.e. window) |
713 Protected method to remove a view (i.e. window) |
714 </p><dl> |
714 </p><dl> |
715 <dt><i>win</i></dt> |
715 <dt><i>win</i></dt> |
716 <dd> |
716 <dd> |
717 editor window to be removed |
717 editor window to be removed |
718 </dd> |
718 </dd> |
719 </dl><a NAME="Tabview._showView" ID="Tabview._showView"></a> |
719 </dl><a NAME="Tabview._showView" ID="Tabview._showView"></a> |
720 <h4>Tabview._showView</h4> |
720 <h4>Tabview._showView</h4> |
721 <b>_showView</b>(<i>win, fn = None</i>) |
721 <b>_showView</b>(<i>win, fn = None</i>) |
722 <p> |
722 <p> |
723 Protected method to show a view (i.e. window) |
723 Protected method to show a view (i.e. window) |
724 </p><dl> |
724 </p><dl> |
725 <dt><i>win</i></dt> |
725 <dt><i>win</i></dt> |
726 <dd> |
726 <dd> |
727 editor window to be shown |
727 editor window to be shown |
728 </dd><dt><i>fn</i></dt> |
728 </dd><dt><i>fn</i></dt> |
729 <dd> |
729 <dd> |
730 filename of this editor (string) |
730 filename of this editor (string) |
731 </dd> |
731 </dd> |
732 </dl><a NAME="Tabview._syntaxErrorToggled" ID="Tabview._syntaxErrorToggled"></a> |
732 </dl><a NAME="Tabview._syntaxErrorToggled" ID="Tabview._syntaxErrorToggled"></a> |
733 <h4>Tabview._syntaxErrorToggled</h4> |
733 <h4>Tabview._syntaxErrorToggled</h4> |
734 <b>_syntaxErrorToggled</b>(<i>editor</i>) |
734 <b>_syntaxErrorToggled</b>(<i>editor</i>) |
735 <p> |
735 <p> |
736 Protected slot to handle the syntaxerrorToggled signal. |
736 Protected slot to handle the syntaxerrorToggled signal. |
737 </p><dl> |
737 </p><dl> |
738 <dt><i>editor</i></dt> |
738 <dt><i>editor</i></dt> |
739 <dd> |
739 <dd> |
740 editor that sent the signal |
740 editor that sent the signal |
741 </dd> |
741 </dd> |
742 </dl><a NAME="Tabview.activeWindow" ID="Tabview.activeWindow"></a> |
742 </dl><a NAME="Tabview.activeWindow" ID="Tabview.activeWindow"></a> |
743 <h4>Tabview.activeWindow</h4> |
743 <h4>Tabview.activeWindow</h4> |
744 <b>activeWindow</b>(<i></i>) |
744 <b>activeWindow</b>(<i></i>) |
745 <p> |
745 <p> |
746 Public method to return the active (i.e. current) window. |
746 Public method to return the active (i.e. current) window. |
747 </p><dl> |
747 </p><dl> |
748 <dt>Returns:</dt> |
748 <dt>Returns:</dt> |
749 <dd> |
749 <dd> |
750 reference to the active editor |
750 reference to the active editor |
751 </dd> |
751 </dd> |
752 </dl><a NAME="Tabview.addSplit" ID="Tabview.addSplit"></a> |
752 </dl><a NAME="Tabview.addSplit" ID="Tabview.addSplit"></a> |
753 <h4>Tabview.addSplit</h4> |
753 <h4>Tabview.addSplit</h4> |
754 <b>addSplit</b>(<i></i>) |
754 <b>addSplit</b>(<i></i>) |
755 <p> |
755 <p> |
756 Public method used to split the current view. |
756 Public method used to split the current view. |
757 </p><a NAME="Tabview.canCascade" ID="Tabview.canCascade"></a> |
757 </p><a NAME="Tabview.canCascade" ID="Tabview.canCascade"></a> |
758 <h4>Tabview.canCascade</h4> |
758 <h4>Tabview.canCascade</h4> |
759 <b>canCascade</b>(<i></i>) |
759 <b>canCascade</b>(<i></i>) |
760 <p> |
760 <p> |
761 Public method to signal if cascading of managed windows is available. |
761 Public method to signal if cascading of managed windows is available. |
762 </p><dl> |
762 </p><dl> |
763 <dt>Returns:</dt> |
763 <dt>Returns:</dt> |
764 <dd> |
764 <dd> |
765 flag indicating cascading of windows is available |
765 flag indicating cascading of windows is available |
766 </dd> |
766 </dd> |
767 </dl><a NAME="Tabview.canSplit" ID="Tabview.canSplit"></a> |
767 </dl><a NAME="Tabview.canSplit" ID="Tabview.canSplit"></a> |
768 <h4>Tabview.canSplit</h4> |
768 <h4>Tabview.canSplit</h4> |
769 <b>canSplit</b>(<i></i>) |
769 <b>canSplit</b>(<i></i>) |
770 <p> |
770 <p> |
771 public method to signal if splitting of the view is available. |
771 public method to signal if splitting of the view is available. |
772 </p><dl> |
772 </p><dl> |
773 <dt>Returns:</dt> |
773 <dt>Returns:</dt> |
774 <dd> |
774 <dd> |
775 flag indicating splitting of the view is available. |
775 flag indicating splitting of the view is available. |
776 </dd> |
776 </dd> |
777 </dl><a NAME="Tabview.canTile" ID="Tabview.canTile"></a> |
777 </dl><a NAME="Tabview.canTile" ID="Tabview.canTile"></a> |
778 <h4>Tabview.canTile</h4> |
778 <h4>Tabview.canTile</h4> |
779 <b>canTile</b>(<i></i>) |
779 <b>canTile</b>(<i></i>) |
780 <p> |
780 <p> |
781 Public method to signal if tiling of managed windows is available. |
781 Public method to signal if tiling of managed windows is available. |
782 </p><dl> |
782 </p><dl> |
783 <dt>Returns:</dt> |
783 <dt>Returns:</dt> |
784 <dd> |
784 <dd> |
785 flag indicating tiling of windows is available |
785 flag indicating tiling of windows is available |
786 </dd> |
786 </dd> |
787 </dl><a NAME="Tabview.cascade" ID="Tabview.cascade"></a> |
787 </dl><a NAME="Tabview.cascade" ID="Tabview.cascade"></a> |
788 <h4>Tabview.cascade</h4> |
788 <h4>Tabview.cascade</h4> |
789 <b>cascade</b>(<i></i>) |
789 <b>cascade</b>(<i></i>) |
790 <p> |
790 <p> |
791 Public method to cascade the managed windows. |
791 Public method to cascade the managed windows. |
792 </p><a NAME="Tabview.eventFilter" ID="Tabview.eventFilter"></a> |
792 </p><a NAME="Tabview.eventFilter" ID="Tabview.eventFilter"></a> |
793 <h4>Tabview.eventFilter</h4> |
793 <h4>Tabview.eventFilter</h4> |
794 <b>eventFilter</b>(<i>watched, event</i>) |
794 <b>eventFilter</b>(<i>watched, event</i>) |
795 <p> |
795 <p> |
796 Public method called to filter the event queue. |
796 Public method called to filter the event queue. |
797 </p><dl> |
797 </p><dl> |
798 <dt><i>watched</i></dt> |
798 <dt><i>watched</i></dt> |
799 <dd> |
799 <dd> |
800 the QObject being watched (QObject) |
800 the QObject being watched (QObject) |
801 </dd><dt><i>event</i></dt> |
801 </dd><dt><i>event</i></dt> |
802 <dd> |
802 <dd> |
803 the event that occurred (QEvent) |
803 the event that occurred (QEvent) |
804 </dd> |
804 </dd> |
805 </dl><dl> |
805 </dl><dl> |
806 <dt>Returns:</dt> |
806 <dt>Returns:</dt> |
807 <dd> |
807 <dd> |
808 always False |
808 always False |
809 </dd> |
809 </dd> |
810 </dl><a NAME="Tabview.getTabWidgetById" ID="Tabview.getTabWidgetById"></a> |
810 </dl><a NAME="Tabview.getTabWidgetById" ID="Tabview.getTabWidgetById"></a> |
811 <h4>Tabview.getTabWidgetById</h4> |
811 <h4>Tabview.getTabWidgetById</h4> |
812 <b>getTabWidgetById</b>(<i>id_</i>) |
812 <b>getTabWidgetById</b>(<i>id_</i>) |
813 <p> |
813 <p> |
814 Public method to get a reference to a tab widget knowing it's ID. |
814 Public method to get a reference to a tab widget knowing it's ID. |
815 </p><dl> |
815 </p><dl> |
816 <dt><i>id_</i></dt> |
816 <dt><i>id_</i></dt> |
817 <dd> |
817 <dd> |
818 id of the tab widget (long) |
818 id of the tab widget (long) |
819 </dd> |
819 </dd> |
820 </dl><dl> |
820 </dl><dl> |
821 <dt>Returns:</dt> |
821 <dt>Returns:</dt> |
822 <dd> |
822 <dd> |
823 reference to the tab widget (TabWidget) |
823 reference to the tab widget (TabWidget) |
824 </dd> |
824 </dd> |
825 </dl><a NAME="Tabview.insertView" ID="Tabview.insertView"></a> |
825 </dl><a NAME="Tabview.insertView" ID="Tabview.insertView"></a> |
826 <h4>Tabview.insertView</h4> |
826 <h4>Tabview.insertView</h4> |
827 <b>insertView</b>(<i>win, tabWidget, index, fn = None, noName = ""</i>) |
827 <b>insertView</b>(<i>win, tabWidget, index, fn = None, noName = ""</i>) |
828 <p> |
828 <p> |
829 Protected method to add a view (i.e. window) |
829 Protected method to add a view (i.e. window) |
830 </p><dl> |
830 </p><dl> |
831 <dt><i>win</i></dt> |
831 <dt><i>win</i></dt> |
832 <dd> |
832 <dd> |
833 editor window to be added |
833 editor window to be added |
834 </dd><dt><i>tabWidget</i></dt> |
834 </dd><dt><i>tabWidget</i></dt> |
835 <dd> |
835 <dd> |
836 reference to the tab widget to insert the editor into (TabWidget) |
836 reference to the tab widget to insert the editor into (TabWidget) |
837 </dd><dt><i>index</i></dt> |
837 </dd><dt><i>index</i></dt> |
838 <dd> |
838 <dd> |
839 index position to insert at (integer) |
839 index position to insert at (integer) |
840 </dd><dt><i>fn</i></dt> |
840 </dd><dt><i>fn</i></dt> |
841 <dd> |
841 <dd> |
842 filename of this editor (string) |
842 filename of this editor (string) |
843 </dd><dt><i>noName</i></dt> |
843 </dd><dt><i>noName</i></dt> |
844 <dd> |
844 <dd> |
845 name to be used for an unnamed editor (string) |
845 name to be used for an unnamed editor (string) |
846 </dd> |
846 </dd> |
847 </dl><a NAME="Tabview.nextSplit" ID="Tabview.nextSplit"></a> |
847 </dl><a NAME="Tabview.nextSplit" ID="Tabview.nextSplit"></a> |
848 <h4>Tabview.nextSplit</h4> |
848 <h4>Tabview.nextSplit</h4> |
849 <b>nextSplit</b>(<i></i>) |
849 <b>nextSplit</b>(<i></i>) |
850 <p> |
850 <p> |
851 Public slot used to move to the next split. |
851 Public slot used to move to the next split. |
852 </p><a NAME="Tabview.preferencesChanged" ID="Tabview.preferencesChanged"></a> |
852 </p><a NAME="Tabview.preferencesChanged" ID="Tabview.preferencesChanged"></a> |
853 <h4>Tabview.preferencesChanged</h4> |
853 <h4>Tabview.preferencesChanged</h4> |
854 <b>preferencesChanged</b>(<i></i>) |
854 <b>preferencesChanged</b>(<i></i>) |
855 <p> |
855 <p> |
856 Public slot to handle the preferencesChanged signal. |
856 Public slot to handle the preferencesChanged signal. |
857 </p><a NAME="Tabview.prevSplit" ID="Tabview.prevSplit"></a> |
857 </p><a NAME="Tabview.prevSplit" ID="Tabview.prevSplit"></a> |
858 <h4>Tabview.prevSplit</h4> |
858 <h4>Tabview.prevSplit</h4> |
859 <b>prevSplit</b>(<i></i>) |
859 <b>prevSplit</b>(<i></i>) |
860 <p> |
860 <p> |
861 Public slot used to move to the previous split. |
861 Public slot used to move to the previous split. |
862 </p><a NAME="Tabview.removeSplit" ID="Tabview.removeSplit"></a> |
862 </p><a NAME="Tabview.removeSplit" ID="Tabview.removeSplit"></a> |
863 <h4>Tabview.removeSplit</h4> |
863 <h4>Tabview.removeSplit</h4> |
864 <b>removeSplit</b>(<i></i>) |
864 <b>removeSplit</b>(<i></i>) |
865 <p> |
865 <p> |
866 Public method used to remove the current split view. |
866 Public method used to remove the current split view. |
867 </p><dl> |
867 </p><dl> |
868 <dt>Returns:</dt> |
868 <dt>Returns:</dt> |
869 <dd> |
869 <dd> |
870 flag indicating successfull removal |
870 flag indicating successfull removal |
871 </dd> |
871 </dd> |
872 </dl><a NAME="Tabview.setEditorName" ID="Tabview.setEditorName"></a> |
872 </dl><a NAME="Tabview.setEditorName" ID="Tabview.setEditorName"></a> |
873 <h4>Tabview.setEditorName</h4> |
873 <h4>Tabview.setEditorName</h4> |
874 <b>setEditorName</b>(<i>editor, newName</i>) |
874 <b>setEditorName</b>(<i>editor, newName</i>) |
875 <p> |
875 <p> |
876 Public method to change the displayed name of the editor. |
876 Public method to change the displayed name of the editor. |
877 </p><dl> |
877 </p><dl> |
878 <dt><i>editor</i></dt> |
878 <dt><i>editor</i></dt> |
879 <dd> |
879 <dd> |
880 editor window to be changed |
880 editor window to be changed |
881 </dd><dt><i>newName</i></dt> |
881 </dd><dt><i>newName</i></dt> |
882 <dd> |
882 <dd> |
883 new name to be shown (string) |
883 new name to be shown (string) |
884 </dd> |
884 </dd> |
885 </dl><a NAME="Tabview.setSplitOrientation" ID="Tabview.setSplitOrientation"></a> |
885 </dl><a NAME="Tabview.setSplitOrientation" ID="Tabview.setSplitOrientation"></a> |
886 <h4>Tabview.setSplitOrientation</h4> |
886 <h4>Tabview.setSplitOrientation</h4> |
887 <b>setSplitOrientation</b>(<i>orientation</i>) |
887 <b>setSplitOrientation</b>(<i>orientation</i>) |
888 <p> |
888 <p> |
889 Public method used to set the orientation of the split view. |
889 Public method used to set the orientation of the split view. |
890 </p><dl> |
890 </p><dl> |
891 <dt><i>orientation</i></dt> |
891 <dt><i>orientation</i></dt> |
892 <dd> |
892 <dd> |
893 orientation of the split |
893 orientation of the split |
894 (Qt.Horizontal or Qt.Vertical) |
894 (Qt.Horizontal or Qt.Vertical) |
895 </dd> |
895 </dd> |
896 </dl><a NAME="Tabview.showWindowMenu" ID="Tabview.showWindowMenu"></a> |
896 </dl><a NAME="Tabview.showWindowMenu" ID="Tabview.showWindowMenu"></a> |
897 <h4>Tabview.showWindowMenu</h4> |
897 <h4>Tabview.showWindowMenu</h4> |
898 <b>showWindowMenu</b>(<i>windowMenu</i>) |
898 <b>showWindowMenu</b>(<i>windowMenu</i>) |
899 <p> |
899 <p> |
900 Public method to set up the viewmanager part of the Window menu. |
900 Public method to set up the viewmanager part of the Window menu. |
901 </p><dl> |
901 </p><dl> |
902 <dt><i>windowMenu</i></dt> |
902 <dt><i>windowMenu</i></dt> |
903 <dd> |
903 <dd> |
904 reference to the window menu |
904 reference to the window menu |
905 </dd> |
905 </dd> |
906 </dl><a NAME="Tabview.tile" ID="Tabview.tile"></a> |
906 </dl><a NAME="Tabview.tile" ID="Tabview.tile"></a> |
907 <h4>Tabview.tile</h4> |
907 <h4>Tabview.tile</h4> |
908 <b>tile</b>(<i></i>) |
908 <b>tile</b>(<i></i>) |
909 <p> |
909 <p> |
910 Public method to tile the managed windows. |
910 Public method to tile the managed windows. |
911 </p> |
911 </p> |
912 <div align="right"><a href="#top">Up</a></div> |
912 <div align="right"><a href="#top">Up</a></div> |
913 <hr /> |
913 <hr /> |
914 </body></html> |
914 </body></html> |