eric6/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7705
90a9aefd4253
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.ViewManagerPlugins.Tabview.Tabview</h1> 23 <h1>eric6.Plugins.ViewManagerPlugins.Tabview.Tabview</h1>
24
23 <p> 25 <p>
24 Module implementing a tabbed viewmanager class. 26 Module implementing a tabbed viewmanager class.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#TabBar">TabBar</a></td> 38 <td><a href="#TabBar">TabBar</a></td>
34 <td>Class implementing a customized tab bar supporting drag & drop.</td> 39 <td>Class implementing a customized tab bar supporting drag & drop.</td>
35 </tr><tr> 40 </tr>
41 <tr>
36 <td><a href="#TabWidget">TabWidget</a></td> 42 <td><a href="#TabWidget">TabWidget</a></td>
37 <td>Class implementing a custimized tab widget.</td> 43 <td>Class implementing a custimized tab widget.</td>
38 </tr><tr> 44 </tr>
45 <tr>
39 <td><a href="#Tabview">Tabview</a></td> 46 <td><a href="#Tabview">Tabview</a></td>
40 <td>Class implementing a tabbed viewmanager class embedded in a splitter.</td> 47 <td>Class implementing a tabbed viewmanager class embedded in a splitter.</td>
41 </tr> 48 </tr>
42 </table> 49 </table>
43 <h3>Functions</h3> 50 <h3>Functions</h3>
51
44 <table> 52 <table>
45 <tr><td>None</td></tr> 53 <tr><td>None</td></tr>
46 </table> 54 </table>
47 <hr /><hr /> 55 <hr />
56 <hr />
48 <a NAME="TabBar" ID="TabBar"></a> 57 <a NAME="TabBar" ID="TabBar"></a>
49 <h2>TabBar</h2> 58 <h2>TabBar</h2>
59
50 <p> 60 <p>
51 Class implementing a customized tab bar supporting drag & drop. 61 Class implementing a customized tab bar supporting drag & drop.
52 </p><h3>Signals</h3> 62 </p>
53 <dl> 63 <h3>Signals</h3>
64 <dl>
65
54 <dt>tabCopyRequested(int, int)</dt> 66 <dt>tabCopyRequested(int, int)</dt>
55 <dd> 67 <dd>
56 emitted to signal a clone request giving 68 emitted to signal a clone request giving
57 the old and new index position 69 the old and new index position
58 </dd><dt>tabCopyRequested(str, int, int)</dt> 70 </dd>
71 <dt>tabCopyRequested(str, int, int)</dt>
59 <dd> 72 <dd>
60 emitted to signal a clone request 73 emitted to signal a clone request
61 giving the string encoded id of the source tab widget, the index in the 74 giving the string encoded id of the source tab widget, the index in the
62 source tab widget and the new index position 75 source tab widget and the new index position
63 </dd><dt>tabMoveRequested(int, int)</dt> 76 </dd>
77 <dt>tabMoveRequested(int, int)</dt>
64 <dd> 78 <dd>
65 emitted to signal a tab move request 79 emitted to signal a tab move request
66 giving the old and new index position 80 giving the old and new index position
67 </dd><dt>tabRelocateRequested(str, int, int)</dt> 81 </dd>
82 <dt>tabRelocateRequested(str, int, int)</dt>
68 <dd> 83 <dd>
69 emitted to signal a tab 84 emitted to signal a tab
70 relocation request giving the string encoded id of the old tab widget, 85 relocation request giving the string encoded id of the old tab widget,
71 the index in the old tab widget and the new index position 86 the index in the old tab widget and the new index position
72 </dd> 87 </dd>
73 </dl> 88 </dl>
74 <h3>Derived from</h3> 89 <h3>Derived from</h3>
75 E5WheelTabBar 90 E5WheelTabBar
76 <h3>Class Attributes</h3> 91 <h3>Class Attributes</h3>
92
77 <table> 93 <table>
78 <tr><td>None</td></tr> 94 <tr><td>None</td></tr>
79 </table> 95 </table>
80 <h3>Class Methods</h3> 96 <h3>Class Methods</h3>
97
81 <table> 98 <table>
82 <tr><td>None</td></tr> 99 <tr><td>None</td></tr>
83 </table> 100 </table>
84 <h3>Methods</h3> 101 <h3>Methods</h3>
102
85 <table> 103 <table>
104
86 <tr> 105 <tr>
87 <td><a href="#TabBar.__init__">TabBar</a></td> 106 <td><a href="#TabBar.__init__">TabBar</a></td>
88 <td>Constructor</td> 107 <td>Constructor</td>
89 </tr><tr> 108 </tr>
109 <tr>
90 <td><a href="#TabBar.dragEnterEvent">dragEnterEvent</a></td> 110 <td><a href="#TabBar.dragEnterEvent">dragEnterEvent</a></td>
91 <td>Protected method to handle drag enter events.</td> 111 <td>Protected method to handle drag enter events.</td>
92 </tr><tr> 112 </tr>
113 <tr>
93 <td><a href="#TabBar.dropEvent">dropEvent</a></td> 114 <td><a href="#TabBar.dropEvent">dropEvent</a></td>
94 <td>Protected method to handle drop events.</td> 115 <td>Protected method to handle drop events.</td>
95 </tr><tr> 116 </tr>
117 <tr>
96 <td><a href="#TabBar.mouseMoveEvent">mouseMoveEvent</a></td> 118 <td><a href="#TabBar.mouseMoveEvent">mouseMoveEvent</a></td>
97 <td>Protected method to handle mouse move events.</td> 119 <td>Protected method to handle mouse move events.</td>
98 </tr><tr> 120 </tr>
121 <tr>
99 <td><a href="#TabBar.mousePressEvent">mousePressEvent</a></td> 122 <td><a href="#TabBar.mousePressEvent">mousePressEvent</a></td>
100 <td>Protected method to handle mouse press events.</td> 123 <td>Protected method to handle mouse press events.</td>
101 </tr> 124 </tr>
102 </table> 125 </table>
103 <h3>Static Methods</h3> 126 <h3>Static Methods</h3>
127
104 <table> 128 <table>
105 <tr><td>None</td></tr> 129 <tr><td>None</td></tr>
106 </table> 130 </table>
131
107 <a NAME="TabBar.__init__" ID="TabBar.__init__"></a> 132 <a NAME="TabBar.__init__" ID="TabBar.__init__"></a>
108 <h4>TabBar (Constructor)</h4> 133 <h4>TabBar (Constructor)</h4>
109 <b>TabBar</b>(<i>parent=None</i>) 134 <b>TabBar</b>(<i>parent=None</i>)
135
110 <p> 136 <p>
111 Constructor 137 Constructor
112 </p><dl> 138 </p>
139 <dl>
140
113 <dt><i>parent</i> (QWidget)</dt> 141 <dt><i>parent</i> (QWidget)</dt>
114 <dd> 142 <dd>
115 reference to the parent widget 143 reference to the parent widget
116 </dd> 144 </dd>
117 </dl><a NAME="TabBar.dragEnterEvent" ID="TabBar.dragEnterEvent"></a> 145 </dl>
146 <a NAME="TabBar.dragEnterEvent" ID="TabBar.dragEnterEvent"></a>
118 <h4>TabBar.dragEnterEvent</h4> 147 <h4>TabBar.dragEnterEvent</h4>
119 <b>dragEnterEvent</b>(<i>event</i>) 148 <b>dragEnterEvent</b>(<i>event</i>)
149
120 <p> 150 <p>
121 Protected method to handle drag enter events. 151 Protected method to handle drag enter events.
122 </p><dl> 152 </p>
153 <dl>
154
123 <dt><i>event</i> (QDragEnterEvent)</dt> 155 <dt><i>event</i> (QDragEnterEvent)</dt>
124 <dd> 156 <dd>
125 reference to the drag enter event 157 reference to the drag enter event
126 </dd> 158 </dd>
127 </dl><a NAME="TabBar.dropEvent" ID="TabBar.dropEvent"></a> 159 </dl>
160 <a NAME="TabBar.dropEvent" ID="TabBar.dropEvent"></a>
128 <h4>TabBar.dropEvent</h4> 161 <h4>TabBar.dropEvent</h4>
129 <b>dropEvent</b>(<i>event</i>) 162 <b>dropEvent</b>(<i>event</i>)
163
130 <p> 164 <p>
131 Protected method to handle drop events. 165 Protected method to handle drop events.
132 </p><dl> 166 </p>
167 <dl>
168
133 <dt><i>event</i> (QDropEvent)</dt> 169 <dt><i>event</i> (QDropEvent)</dt>
134 <dd> 170 <dd>
135 reference to the drop event 171 reference to the drop event
136 </dd> 172 </dd>
137 </dl><a NAME="TabBar.mouseMoveEvent" ID="TabBar.mouseMoveEvent"></a> 173 </dl>
174 <a NAME="TabBar.mouseMoveEvent" ID="TabBar.mouseMoveEvent"></a>
138 <h4>TabBar.mouseMoveEvent</h4> 175 <h4>TabBar.mouseMoveEvent</h4>
139 <b>mouseMoveEvent</b>(<i>event</i>) 176 <b>mouseMoveEvent</b>(<i>event</i>)
177
140 <p> 178 <p>
141 Protected method to handle mouse move events. 179 Protected method to handle mouse move events.
142 </p><dl> 180 </p>
181 <dl>
182
143 <dt><i>event</i> (QMouseEvent)</dt> 183 <dt><i>event</i> (QMouseEvent)</dt>
144 <dd> 184 <dd>
145 reference to the mouse move event 185 reference to the mouse move event
146 </dd> 186 </dd>
147 </dl><a NAME="TabBar.mousePressEvent" ID="TabBar.mousePressEvent"></a> 187 </dl>
188 <a NAME="TabBar.mousePressEvent" ID="TabBar.mousePressEvent"></a>
148 <h4>TabBar.mousePressEvent</h4> 189 <h4>TabBar.mousePressEvent</h4>
149 <b>mousePressEvent</b>(<i>event</i>) 190 <b>mousePressEvent</b>(<i>event</i>)
191
150 <p> 192 <p>
151 Protected method to handle mouse press events. 193 Protected method to handle mouse press events.
152 </p><dl> 194 </p>
195 <dl>
196
153 <dt><i>event</i> (QMouseEvent)</dt> 197 <dt><i>event</i> (QMouseEvent)</dt>
154 <dd> 198 <dd>
155 reference to the mouse press event 199 reference to the mouse press event
156 </dd> 200 </dd>
157 </dl> 201 </dl>
158 <div align="right"><a href="#top">Up</a></div> 202 <div align="right"><a href="#top">Up</a></div>
159 <hr /><hr /> 203 <hr />
204 <hr />
160 <a NAME="TabWidget" ID="TabWidget"></a> 205 <a NAME="TabWidget" ID="TabWidget"></a>
161 <h2>TabWidget</h2> 206 <h2>TabWidget</h2>
207
162 <p> 208 <p>
163 Class implementing a custimized tab widget. 209 Class implementing a custimized tab widget.
164 </p> 210 </p>
165 <h3>Derived from</h3> 211 <h3>Derived from</h3>
166 E5TabWidget 212 E5TabWidget
167 <h3>Class Attributes</h3> 213 <h3>Class Attributes</h3>
214
168 <table> 215 <table>
169 <tr><td>None</td></tr> 216 <tr><td>None</td></tr>
170 </table> 217 </table>
171 <h3>Class Methods</h3> 218 <h3>Class Methods</h3>
219
172 <table> 220 <table>
173 <tr><td>None</td></tr> 221 <tr><td>None</td></tr>
174 </table> 222 </table>
175 <h3>Methods</h3> 223 <h3>Methods</h3>
224
176 <table> 225 <table>
226
177 <tr> 227 <tr>
178 <td><a href="#TabWidget.__init__">TabWidget</a></td> 228 <td><a href="#TabWidget.__init__">TabWidget</a></td>
179 <td>Constructor</td> 229 <td>Constructor</td>
180 </tr><tr> 230 </tr>
231 <tr>
181 <td><a href="#TabWidget.__captionChange">__captionChange</a></td> 232 <td><a href="#TabWidget.__captionChange">__captionChange</a></td>
182 <td>Private slot to handle Caption change signals from the editor.</td> 233 <td>Private slot to handle Caption change signals from the editor.</td>
183 </tr><tr> 234 </tr>
235 <tr>
184 <td><a href="#TabWidget.__closeButtonClicked">__closeButtonClicked</a></td> 236 <td><a href="#TabWidget.__closeButtonClicked">__closeButtonClicked</a></td>
185 <td>Private method to handle the press of the close button.</td> 237 <td>Private method to handle the press of the close button.</td>
186 </tr><tr> 238 </tr>
239 <tr>
187 <td><a href="#TabWidget.__closeRequested">__closeRequested</a></td> 240 <td><a href="#TabWidget.__closeRequested">__closeRequested</a></td>
188 <td>Private method to handle the press of the individual tab close button.</td> 241 <td>Private method to handle the press of the individual tab close button.</td>
189 </tr><tr> 242 </tr>
243 <tr>
190 <td><a href="#TabWidget.__contextMenuClose">__contextMenuClose</a></td> 244 <td><a href="#TabWidget.__contextMenuClose">__contextMenuClose</a></td>
191 <td>Private method to close the selected tab.</td> 245 <td>Private method to close the selected tab.</td>
192 </tr><tr> 246 </tr>
247 <tr>
193 <td><a href="#TabWidget.__contextMenuCloseAll">__contextMenuCloseAll</a></td> 248 <td><a href="#TabWidget.__contextMenuCloseAll">__contextMenuCloseAll</a></td>
194 <td>Private method to close all tabs.</td> 249 <td>Private method to close all tabs.</td>
195 </tr><tr> 250 </tr>
251 <tr>
196 <td><a href="#TabWidget.__contextMenuCloseOthers">__contextMenuCloseOthers</a></td> 252 <td><a href="#TabWidget.__contextMenuCloseOthers">__contextMenuCloseOthers</a></td>
197 <td>Private method to close the other tabs.</td> 253 <td>Private method to close the other tabs.</td>
198 </tr><tr> 254 </tr>
255 <tr>
199 <td><a href="#TabWidget.__contextMenuCopyPathToClipboard">__contextMenuCopyPathToClipboard</a></td> 256 <td><a href="#TabWidget.__contextMenuCopyPathToClipboard">__contextMenuCopyPathToClipboard</a></td>
200 <td>Private method to copy the file name of the selected tab to the clipboard.</td> 257 <td>Private method to copy the file name of the selected tab to the clipboard.</td>
201 </tr><tr> 258 </tr>
259 <tr>
202 <td><a href="#TabWidget.__contextMenuMoveFirst">__contextMenuMoveFirst</a></td> 260 <td><a href="#TabWidget.__contextMenuMoveFirst">__contextMenuMoveFirst</a></td>
203 <td>Private method to move a tab to the first position.</td> 261 <td>Private method to move a tab to the first position.</td>
204 </tr><tr> 262 </tr>
263 <tr>
205 <td><a href="#TabWidget.__contextMenuMoveLast">__contextMenuMoveLast</a></td> 264 <td><a href="#TabWidget.__contextMenuMoveLast">__contextMenuMoveLast</a></td>
206 <td>Private method to move a tab to the last position.</td> 265 <td>Private method to move a tab to the last position.</td>
207 </tr><tr> 266 </tr>
267 <tr>
208 <td><a href="#TabWidget.__contextMenuMoveLeft">__contextMenuMoveLeft</a></td> 268 <td><a href="#TabWidget.__contextMenuMoveLeft">__contextMenuMoveLeft</a></td>
209 <td>Private method to move a tab one position to the left.</td> 269 <td>Private method to move a tab one position to the left.</td>
210 </tr><tr> 270 </tr>
271 <tr>
211 <td><a href="#TabWidget.__contextMenuMoveRight">__contextMenuMoveRight</a></td> 272 <td><a href="#TabWidget.__contextMenuMoveRight">__contextMenuMoveRight</a></td>
212 <td>Private method to move a tab one position to the right.</td> 273 <td>Private method to move a tab one position to the right.</td>
213 </tr><tr> 274 </tr>
275 <tr>
214 <td><a href="#TabWidget.__contextMenuOpenRejections">__contextMenuOpenRejections</a></td> 276 <td><a href="#TabWidget.__contextMenuOpenRejections">__contextMenuOpenRejections</a></td>
215 <td>Private slot to open a rejections file associated with the selected tab.</td> 277 <td>Private slot to open a rejections file associated with the selected tab.</td>
216 </tr><tr> 278 </tr>
279 <tr>
217 <td><a href="#TabWidget.__contextMenuPrintFile">__contextMenuPrintFile</a></td> 280 <td><a href="#TabWidget.__contextMenuPrintFile">__contextMenuPrintFile</a></td>
218 <td>Private method to print the selected tab.</td> 281 <td>Private method to print the selected tab.</td>
219 </tr><tr> 282 </tr>
283 <tr>
220 <td><a href="#TabWidget.__contextMenuSave">__contextMenuSave</a></td> 284 <td><a href="#TabWidget.__contextMenuSave">__contextMenuSave</a></td>
221 <td>Private method to save the selected tab.</td> 285 <td>Private method to save the selected tab.</td>
222 </tr><tr> 286 </tr>
287 <tr>
223 <td><a href="#TabWidget.__contextMenuSaveAll">__contextMenuSaveAll</a></td> 288 <td><a href="#TabWidget.__contextMenuSaveAll">__contextMenuSaveAll</a></td>
224 <td>Private method to save all tabs.</td> 289 <td>Private method to save all tabs.</td>
225 </tr><tr> 290 </tr>
291 <tr>
226 <td><a href="#TabWidget.__contextMenuSaveAs">__contextMenuSaveAs</a></td> 292 <td><a href="#TabWidget.__contextMenuSaveAs">__contextMenuSaveAs</a></td>
227 <td>Private method to save the selected tab to a new file.</td> 293 <td>Private method to save the selected tab to a new file.</td>
228 </tr><tr> 294 </tr>
295 <tr>
229 <td><a href="#TabWidget.__copyTab">__copyTab</a></td> 296 <td><a href="#TabWidget.__copyTab">__copyTab</a></td>
230 <td>Private method to copy an editor.</td> 297 <td>Private method to copy an editor.</td>
231 </tr><tr> 298 </tr>
299 <tr>
232 <td><a href="#TabWidget.__copyTabOther">__copyTabOther</a></td> 300 <td><a href="#TabWidget.__copyTabOther">__copyTabOther</a></td>
233 <td>Private method to copy an editor from another TabWidget.</td> 301 <td>Private method to copy an editor from another TabWidget.</td>
234 </tr><tr> 302 </tr>
303 <tr>
235 <td><a href="#TabWidget.__cursorLineChanged">__cursorLineChanged</a></td> 304 <td><a href="#TabWidget.__cursorLineChanged">__cursorLineChanged</a></td>
236 <td>Private slot to handle a change of the current editor's cursor line.</td> 305 <td>Private slot to handle a change of the current editor's cursor line.</td>
237 </tr><tr> 306 </tr>
307 <tr>
238 <td><a href="#TabWidget.__initMenu">__initMenu</a></td> 308 <td><a href="#TabWidget.__initMenu">__initMenu</a></td>
239 <td>Private method to initialize the tab context menu.</td> 309 <td>Private method to initialize the tab context menu.</td>
240 </tr><tr> 310 </tr>
311 <tr>
241 <td><a href="#TabWidget.__navigationMenuTriggered">__navigationMenuTriggered</a></td> 312 <td><a href="#TabWidget.__navigationMenuTriggered">__navigationMenuTriggered</a></td>
242 <td>Private slot called to handle the navigation button menu selection.</td> 313 <td>Private slot called to handle the navigation button menu selection.</td>
243 </tr><tr> 314 </tr>
315 <tr>
244 <td><a href="#TabWidget.__relocateTab">__relocateTab</a></td> 316 <td><a href="#TabWidget.__relocateTab">__relocateTab</a></td>
245 <td>Private method to relocate an editor from another TabWidget.</td> 317 <td>Private method to relocate an editor from another TabWidget.</td>
246 </tr><tr> 318 </tr>
319 <tr>
247 <td><a href="#TabWidget.__showContextMenu">__showContextMenu</a></td> 320 <td><a href="#TabWidget.__showContextMenu">__showContextMenu</a></td>
248 <td>Private slot to show the tab context menu.</td> 321 <td>Private slot to show the tab context menu.</td>
249 </tr><tr> 322 </tr>
323 <tr>
250 <td><a href="#TabWidget.__showNavigationMenu">__showNavigationMenu</a></td> 324 <td><a href="#TabWidget.__showNavigationMenu">__showNavigationMenu</a></td>
251 <td>Private slot to show the navigation button menu.</td> 325 <td>Private slot to show the navigation button menu.</td>
252 </tr><tr> 326 </tr>
327 <tr>
253 <td><a href="#TabWidget.addTab">addTab</a></td> 328 <td><a href="#TabWidget.addTab">addTab</a></td>
254 <td>Public method to add a new tab.</td> 329 <td>Public method to add a new tab.</td>
255 </tr><tr> 330 </tr>
331 <tr>
256 <td><a href="#TabWidget.currentWidget">currentWidget</a></td> 332 <td><a href="#TabWidget.currentWidget">currentWidget</a></td>
257 <td>Public method to return a reference to the current page.</td> 333 <td>Public method to return a reference to the current page.</td>
258 </tr><tr> 334 </tr>
335 <tr>
259 <td><a href="#TabWidget.hasEditor">hasEditor</a></td> 336 <td><a href="#TabWidget.hasEditor">hasEditor</a></td>
260 <td>Public method to check for an editor.</td> 337 <td>Public method to check for an editor.</td>
261 </tr><tr> 338 </tr>
339 <tr>
262 <td><a href="#TabWidget.hasEditors">hasEditors</a></td> 340 <td><a href="#TabWidget.hasEditors">hasEditors</a></td>
263 <td>Public method to test, if any editor is managed.</td> 341 <td>Public method to test, if any editor is managed.</td>
264 </tr><tr> 342 </tr>
343 <tr>
265 <td><a href="#TabWidget.indexOf">indexOf</a></td> 344 <td><a href="#TabWidget.indexOf">indexOf</a></td>
266 <td>Public method to get the tab index of the given editor.</td> 345 <td>Public method to get the tab index of the given editor.</td>
267 </tr><tr> 346 </tr>
347 <tr>
268 <td><a href="#TabWidget.insertWidget">insertWidget</a></td> 348 <td><a href="#TabWidget.insertWidget">insertWidget</a></td>
269 <td>Public method to insert a new tab.</td> 349 <td>Public method to insert a new tab.</td>
270 </tr><tr> 350 </tr>
351 <tr>
271 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> 352 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td>
272 <td>Protected method handling double click events.</td> 353 <td>Protected method handling double click events.</td>
273 </tr><tr> 354 </tr>
355 <tr>
274 <td><a href="#TabWidget.removeWidget">removeWidget</a></td> 356 <td><a href="#TabWidget.removeWidget">removeWidget</a></td>
275 <td>Public method to remove a widget.</td> 357 <td>Public method to remove a widget.</td>
276 </tr><tr> 358 </tr>
359 <tr>
277 <td><a href="#TabWidget.setCurrentWidget">setCurrentWidget</a></td> 360 <td><a href="#TabWidget.setCurrentWidget">setCurrentWidget</a></td>
278 <td>Public method to set the current tab by the given editor assembly.</td> 361 <td>Public method to set the current tab by the given editor assembly.</td>
279 </tr><tr> 362 </tr>
363 <tr>
280 <td><a href="#TabWidget.showIndicator">showIndicator</a></td> 364 <td><a href="#TabWidget.showIndicator">showIndicator</a></td>
281 <td>Public slot to set the indicator on or off.</td> 365 <td>Public slot to set the indicator on or off.</td>
282 </tr> 366 </tr>
283 </table> 367 </table>
284 <h3>Static Methods</h3> 368 <h3>Static Methods</h3>
369
285 <table> 370 <table>
286 <tr><td>None</td></tr> 371 <tr><td>None</td></tr>
287 </table> 372 </table>
373
288 <a NAME="TabWidget.__init__" ID="TabWidget.__init__"></a> 374 <a NAME="TabWidget.__init__" ID="TabWidget.__init__"></a>
289 <h4>TabWidget (Constructor)</h4> 375 <h4>TabWidget (Constructor)</h4>
290 <b>TabWidget</b>(<i>vm</i>) 376 <b>TabWidget</b>(<i>vm</i>)
377
291 <p> 378 <p>
292 Constructor 379 Constructor
293 </p><dl> 380 </p>
381 <dl>
382
294 <dt><i>vm</i> (Tabview)</dt> 383 <dt><i>vm</i> (Tabview)</dt>
295 <dd> 384 <dd>
296 view manager widget 385 view manager widget
297 </dd> 386 </dd>
298 </dl><a NAME="TabWidget.__captionChange" ID="TabWidget.__captionChange"></a> 387 </dl>
388 <a NAME="TabWidget.__captionChange" ID="TabWidget.__captionChange"></a>
299 <h4>TabWidget.__captionChange</h4> 389 <h4>TabWidget.__captionChange</h4>
300 <b>__captionChange</b>(<i>cap, editor</i>) 390 <b>__captionChange</b>(<i>cap, editor</i>)
391
301 <p> 392 <p>
302 Private slot to handle Caption change signals from the editor. 393 Private slot to handle Caption change signals from the editor.
303 </p><p> 394 </p>
395 <p>
304 Updates the tab text and tooltip text to reflect the new caption 396 Updates the tab text and tooltip text to reflect the new caption
305 information. 397 information.
306 </p><dl> 398 </p>
399 <dl>
400
307 <dt><i>cap</i> (str)</dt> 401 <dt><i>cap</i> (str)</dt>
308 <dd> 402 <dd>
309 Caption for the editor 403 Caption for the editor
310 </dd><dt><i>editor</i> (Editor)</dt> 404 </dd>
405 <dt><i>editor</i> (Editor)</dt>
311 <dd> 406 <dd>
312 Editor to update the caption for 407 Editor to update the caption for
313 </dd> 408 </dd>
314 </dl><a NAME="TabWidget.__closeButtonClicked" ID="TabWidget.__closeButtonClicked"></a> 409 </dl>
410 <a NAME="TabWidget.__closeButtonClicked" ID="TabWidget.__closeButtonClicked"></a>
315 <h4>TabWidget.__closeButtonClicked</h4> 411 <h4>TabWidget.__closeButtonClicked</h4>
316 <b>__closeButtonClicked</b>(<i></i>) 412 <b>__closeButtonClicked</b>(<i></i>)
413
317 <p> 414 <p>
318 Private method to handle the press of the close button. 415 Private method to handle the press of the close button.
319 </p><a NAME="TabWidget.__closeRequested" ID="TabWidget.__closeRequested"></a> 416 </p>
417 <a NAME="TabWidget.__closeRequested" ID="TabWidget.__closeRequested"></a>
320 <h4>TabWidget.__closeRequested</h4> 418 <h4>TabWidget.__closeRequested</h4>
321 <b>__closeRequested</b>(<i>index</i>) 419 <b>__closeRequested</b>(<i>index</i>)
420
322 <p> 421 <p>
323 Private method to handle the press of the individual tab close button. 422 Private method to handle the press of the individual tab close button.
324 </p><dl> 423 </p>
424 <dl>
425
325 <dt><i>index</i></dt> 426 <dt><i>index</i></dt>
326 <dd> 427 <dd>
327 index of the tab (integer) 428 index of the tab (integer)
328 </dd> 429 </dd>
329 </dl><a NAME="TabWidget.__contextMenuClose" ID="TabWidget.__contextMenuClose"></a> 430 </dl>
431 <a NAME="TabWidget.__contextMenuClose" ID="TabWidget.__contextMenuClose"></a>
330 <h4>TabWidget.__contextMenuClose</h4> 432 <h4>TabWidget.__contextMenuClose</h4>
331 <b>__contextMenuClose</b>(<i></i>) 433 <b>__contextMenuClose</b>(<i></i>)
434
332 <p> 435 <p>
333 Private method to close the selected tab. 436 Private method to close the selected tab.
334 </p><a NAME="TabWidget.__contextMenuCloseAll" ID="TabWidget.__contextMenuCloseAll"></a> 437 </p>
438 <a NAME="TabWidget.__contextMenuCloseAll" ID="TabWidget.__contextMenuCloseAll"></a>
335 <h4>TabWidget.__contextMenuCloseAll</h4> 439 <h4>TabWidget.__contextMenuCloseAll</h4>
336 <b>__contextMenuCloseAll</b>(<i></i>) 440 <b>__contextMenuCloseAll</b>(<i></i>)
441
337 <p> 442 <p>
338 Private method to close all tabs. 443 Private method to close all tabs.
339 </p><a NAME="TabWidget.__contextMenuCloseOthers" ID="TabWidget.__contextMenuCloseOthers"></a> 444 </p>
445 <a NAME="TabWidget.__contextMenuCloseOthers" ID="TabWidget.__contextMenuCloseOthers"></a>
340 <h4>TabWidget.__contextMenuCloseOthers</h4> 446 <h4>TabWidget.__contextMenuCloseOthers</h4>
341 <b>__contextMenuCloseOthers</b>(<i></i>) 447 <b>__contextMenuCloseOthers</b>(<i></i>)
448
342 <p> 449 <p>
343 Private method to close the other tabs. 450 Private method to close the other tabs.
344 </p><a NAME="TabWidget.__contextMenuCopyPathToClipboard" ID="TabWidget.__contextMenuCopyPathToClipboard"></a> 451 </p>
452 <a NAME="TabWidget.__contextMenuCopyPathToClipboard" ID="TabWidget.__contextMenuCopyPathToClipboard"></a>
345 <h4>TabWidget.__contextMenuCopyPathToClipboard</h4> 453 <h4>TabWidget.__contextMenuCopyPathToClipboard</h4>
346 <b>__contextMenuCopyPathToClipboard</b>(<i></i>) 454 <b>__contextMenuCopyPathToClipboard</b>(<i></i>)
455
347 <p> 456 <p>
348 Private method to copy the file name of the selected tab to the 457 Private method to copy the file name of the selected tab to the
349 clipboard. 458 clipboard.
350 </p><a NAME="TabWidget.__contextMenuMoveFirst" ID="TabWidget.__contextMenuMoveFirst"></a> 459 </p>
460 <a NAME="TabWidget.__contextMenuMoveFirst" ID="TabWidget.__contextMenuMoveFirst"></a>
351 <h4>TabWidget.__contextMenuMoveFirst</h4> 461 <h4>TabWidget.__contextMenuMoveFirst</h4>
352 <b>__contextMenuMoveFirst</b>(<i></i>) 462 <b>__contextMenuMoveFirst</b>(<i></i>)
463
353 <p> 464 <p>
354 Private method to move a tab to the first position. 465 Private method to move a tab to the first position.
355 </p><a NAME="TabWidget.__contextMenuMoveLast" ID="TabWidget.__contextMenuMoveLast"></a> 466 </p>
467 <a NAME="TabWidget.__contextMenuMoveLast" ID="TabWidget.__contextMenuMoveLast"></a>
356 <h4>TabWidget.__contextMenuMoveLast</h4> 468 <h4>TabWidget.__contextMenuMoveLast</h4>
357 <b>__contextMenuMoveLast</b>(<i></i>) 469 <b>__contextMenuMoveLast</b>(<i></i>)
470
358 <p> 471 <p>
359 Private method to move a tab to the last position. 472 Private method to move a tab to the last position.
360 </p><a NAME="TabWidget.__contextMenuMoveLeft" ID="TabWidget.__contextMenuMoveLeft"></a> 473 </p>
474 <a NAME="TabWidget.__contextMenuMoveLeft" ID="TabWidget.__contextMenuMoveLeft"></a>
361 <h4>TabWidget.__contextMenuMoveLeft</h4> 475 <h4>TabWidget.__contextMenuMoveLeft</h4>
362 <b>__contextMenuMoveLeft</b>(<i></i>) 476 <b>__contextMenuMoveLeft</b>(<i></i>)
477
363 <p> 478 <p>
364 Private method to move a tab one position to the left. 479 Private method to move a tab one position to the left.
365 </p><a NAME="TabWidget.__contextMenuMoveRight" ID="TabWidget.__contextMenuMoveRight"></a> 480 </p>
481 <a NAME="TabWidget.__contextMenuMoveRight" ID="TabWidget.__contextMenuMoveRight"></a>
366 <h4>TabWidget.__contextMenuMoveRight</h4> 482 <h4>TabWidget.__contextMenuMoveRight</h4>
367 <b>__contextMenuMoveRight</b>(<i></i>) 483 <b>__contextMenuMoveRight</b>(<i></i>)
484
368 <p> 485 <p>
369 Private method to move a tab one position to the right. 486 Private method to move a tab one position to the right.
370 </p><a NAME="TabWidget.__contextMenuOpenRejections" ID="TabWidget.__contextMenuOpenRejections"></a> 487 </p>
488 <a NAME="TabWidget.__contextMenuOpenRejections" ID="TabWidget.__contextMenuOpenRejections"></a>
371 <h4>TabWidget.__contextMenuOpenRejections</h4> 489 <h4>TabWidget.__contextMenuOpenRejections</h4>
372 <b>__contextMenuOpenRejections</b>(<i></i>) 490 <b>__contextMenuOpenRejections</b>(<i></i>)
491
373 <p> 492 <p>
374 Private slot to open a rejections file associated with the selected 493 Private slot to open a rejections file associated with the selected
375 tab. 494 tab.
376 </p><a NAME="TabWidget.__contextMenuPrintFile" ID="TabWidget.__contextMenuPrintFile"></a> 495 </p>
496 <a NAME="TabWidget.__contextMenuPrintFile" ID="TabWidget.__contextMenuPrintFile"></a>
377 <h4>TabWidget.__contextMenuPrintFile</h4> 497 <h4>TabWidget.__contextMenuPrintFile</h4>
378 <b>__contextMenuPrintFile</b>(<i></i>) 498 <b>__contextMenuPrintFile</b>(<i></i>)
499
379 <p> 500 <p>
380 Private method to print the selected tab. 501 Private method to print the selected tab.
381 </p><a NAME="TabWidget.__contextMenuSave" ID="TabWidget.__contextMenuSave"></a> 502 </p>
503 <a NAME="TabWidget.__contextMenuSave" ID="TabWidget.__contextMenuSave"></a>
382 <h4>TabWidget.__contextMenuSave</h4> 504 <h4>TabWidget.__contextMenuSave</h4>
383 <b>__contextMenuSave</b>(<i></i>) 505 <b>__contextMenuSave</b>(<i></i>)
506
384 <p> 507 <p>
385 Private method to save the selected tab. 508 Private method to save the selected tab.
386 </p><a NAME="TabWidget.__contextMenuSaveAll" ID="TabWidget.__contextMenuSaveAll"></a> 509 </p>
510 <a NAME="TabWidget.__contextMenuSaveAll" ID="TabWidget.__contextMenuSaveAll"></a>
387 <h4>TabWidget.__contextMenuSaveAll</h4> 511 <h4>TabWidget.__contextMenuSaveAll</h4>
388 <b>__contextMenuSaveAll</b>(<i></i>) 512 <b>__contextMenuSaveAll</b>(<i></i>)
513
389 <p> 514 <p>
390 Private method to save all tabs. 515 Private method to save all tabs.
391 </p><a NAME="TabWidget.__contextMenuSaveAs" ID="TabWidget.__contextMenuSaveAs"></a> 516 </p>
517 <a NAME="TabWidget.__contextMenuSaveAs" ID="TabWidget.__contextMenuSaveAs"></a>
392 <h4>TabWidget.__contextMenuSaveAs</h4> 518 <h4>TabWidget.__contextMenuSaveAs</h4>
393 <b>__contextMenuSaveAs</b>(<i></i>) 519 <b>__contextMenuSaveAs</b>(<i></i>)
520
394 <p> 521 <p>
395 Private method to save the selected tab to a new file. 522 Private method to save the selected tab to a new file.
396 </p><a NAME="TabWidget.__copyTab" ID="TabWidget.__copyTab"></a> 523 </p>
524 <a NAME="TabWidget.__copyTab" ID="TabWidget.__copyTab"></a>
397 <h4>TabWidget.__copyTab</h4> 525 <h4>TabWidget.__copyTab</h4>
398 <b>__copyTab</b>(<i>sourceIndex, targetIndex</i>) 526 <b>__copyTab</b>(<i>sourceIndex, targetIndex</i>)
527
399 <p> 528 <p>
400 Private method to copy an editor. 529 Private method to copy an editor.
401 </p><dl> 530 </p>
531 <dl>
532
402 <dt><i>sourceIndex</i> (int)</dt> 533 <dt><i>sourceIndex</i> (int)</dt>
403 <dd> 534 <dd>
404 index of the tab 535 index of the tab
405 </dd><dt><i>targetIndex</i> (int)</dt> 536 </dd>
537 <dt><i>targetIndex</i> (int)</dt>
406 <dd> 538 <dd>
407 index position to place it to 539 index position to place it to
408 </dd> 540 </dd>
409 </dl><a NAME="TabWidget.__copyTabOther" ID="TabWidget.__copyTabOther"></a> 541 </dl>
542 <a NAME="TabWidget.__copyTabOther" ID="TabWidget.__copyTabOther"></a>
410 <h4>TabWidget.__copyTabOther</h4> 543 <h4>TabWidget.__copyTabOther</h4>
411 <b>__copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>) 544 <b>__copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>)
545
412 <p> 546 <p>
413 Private method to copy an editor from another TabWidget. 547 Private method to copy an editor from another TabWidget.
414 </p><dl> 548 </p>
549 <dl>
550
415 <dt><i>sourceId</i> (str)</dt> 551 <dt><i>sourceId</i> (str)</dt>
416 <dd> 552 <dd>
417 id of the TabWidget to get the editor from 553 id of the TabWidget to get the editor from
418 </dd><dt><i>sourceIndex</i> (int)</dt> 554 </dd>
555 <dt><i>sourceIndex</i> (int)</dt>
419 <dd> 556 <dd>
420 index of the tab in the old tab widget 557 index of the tab in the old tab widget
421 </dd><dt><i>targetIndex</i> (int)</dt> 558 </dd>
559 <dt><i>targetIndex</i> (int)</dt>
422 <dd> 560 <dd>
423 index position to place it to 561 index position to place it to
424 </dd> 562 </dd>
425 </dl><a NAME="TabWidget.__cursorLineChanged" ID="TabWidget.__cursorLineChanged"></a> 563 </dl>
564 <a NAME="TabWidget.__cursorLineChanged" ID="TabWidget.__cursorLineChanged"></a>
426 <h4>TabWidget.__cursorLineChanged</h4> 565 <h4>TabWidget.__cursorLineChanged</h4>
427 <b>__cursorLineChanged</b>(<i>lineno, editor</i>) 566 <b>__cursorLineChanged</b>(<i>lineno, editor</i>)
567
428 <p> 568 <p>
429 Private slot to handle a change of the current editor's cursor line. 569 Private slot to handle a change of the current editor's cursor line.
430 </p><dl> 570 </p>
571 <dl>
572
431 <dt><i>lineno</i> (int)</dt> 573 <dt><i>lineno</i> (int)</dt>
432 <dd> 574 <dd>
433 line number of the editor's cursor (zero based) 575 line number of the editor's cursor (zero based)
434 </dd><dt><i>editor</i> (Editor)</dt> 576 </dd>
577 <dt><i>editor</i> (Editor)</dt>
435 <dd> 578 <dd>
436 reference to the editor 579 reference to the editor
437 </dd> 580 </dd>
438 </dl><a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a> 581 </dl>
582 <a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a>
439 <h4>TabWidget.__initMenu</h4> 583 <h4>TabWidget.__initMenu</h4>
440 <b>__initMenu</b>(<i></i>) 584 <b>__initMenu</b>(<i></i>)
585
441 <p> 586 <p>
442 Private method to initialize the tab context menu. 587 Private method to initialize the tab context menu.
443 </p><a NAME="TabWidget.__navigationMenuTriggered" ID="TabWidget.__navigationMenuTriggered"></a> 588 </p>
589 <a NAME="TabWidget.__navigationMenuTriggered" ID="TabWidget.__navigationMenuTriggered"></a>
444 <h4>TabWidget.__navigationMenuTriggered</h4> 590 <h4>TabWidget.__navigationMenuTriggered</h4>
445 <b>__navigationMenuTriggered</b>(<i>act</i>) 591 <b>__navigationMenuTriggered</b>(<i>act</i>)
592
446 <p> 593 <p>
447 Private slot called to handle the navigation button menu selection. 594 Private slot called to handle the navigation button menu selection.
448 </p><dl> 595 </p>
596 <dl>
597
449 <dt><i>act</i> (QAction)</dt> 598 <dt><i>act</i> (QAction)</dt>
450 <dd> 599 <dd>
451 reference to the selected action 600 reference to the selected action
452 </dd> 601 </dd>
453 </dl><a NAME="TabWidget.__relocateTab" ID="TabWidget.__relocateTab"></a> 602 </dl>
603 <a NAME="TabWidget.__relocateTab" ID="TabWidget.__relocateTab"></a>
454 <h4>TabWidget.__relocateTab</h4> 604 <h4>TabWidget.__relocateTab</h4>
455 <b>__relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>) 605 <b>__relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>)
606
456 <p> 607 <p>
457 Private method to relocate an editor from another TabWidget. 608 Private method to relocate an editor from another TabWidget.
458 </p><dl> 609 </p>
610 <dl>
611
459 <dt><i>sourceId</i> (str)</dt> 612 <dt><i>sourceId</i> (str)</dt>
460 <dd> 613 <dd>
461 id of the TabWidget to get the editor from 614 id of the TabWidget to get the editor from
462 </dd><dt><i>sourceIndex</i> (int)</dt> 615 </dd>
616 <dt><i>sourceIndex</i> (int)</dt>
463 <dd> 617 <dd>
464 index of the tab in the old tab widget 618 index of the tab in the old tab widget
465 </dd><dt><i>targetIndex</i> (int)</dt> 619 </dd>
620 <dt><i>targetIndex</i> (int)</dt>
466 <dd> 621 <dd>
467 index position to place it to 622 index position to place it to
468 </dd> 623 </dd>
469 </dl><a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a> 624 </dl>
625 <a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a>
470 <h4>TabWidget.__showContextMenu</h4> 626 <h4>TabWidget.__showContextMenu</h4>
471 <b>__showContextMenu</b>(<i>coord, index</i>) 627 <b>__showContextMenu</b>(<i>coord, index</i>)
628
472 <p> 629 <p>
473 Private slot to show the tab context menu. 630 Private slot to show the tab context menu.
474 </p><dl> 631 </p>
632 <dl>
633
475 <dt><i>coord</i> (QPoint)</dt> 634 <dt><i>coord</i> (QPoint)</dt>
476 <dd> 635 <dd>
477 the position of the mouse pointer 636 the position of the mouse pointer
478 </dd><dt><i>index</i> (int)</dt> 637 </dd>
638 <dt><i>index</i> (int)</dt>
479 <dd> 639 <dd>
480 index of the tab the menu is requested for 640 index of the tab the menu is requested for
481 </dd> 641 </dd>
482 </dl><a NAME="TabWidget.__showNavigationMenu" ID="TabWidget.__showNavigationMenu"></a> 642 </dl>
643 <a NAME="TabWidget.__showNavigationMenu" ID="TabWidget.__showNavigationMenu"></a>
483 <h4>TabWidget.__showNavigationMenu</h4> 644 <h4>TabWidget.__showNavigationMenu</h4>
484 <b>__showNavigationMenu</b>(<i></i>) 645 <b>__showNavigationMenu</b>(<i></i>)
646
485 <p> 647 <p>
486 Private slot to show the navigation button menu. 648 Private slot to show the navigation button menu.
487 </p><a NAME="TabWidget.addTab" ID="TabWidget.addTab"></a> 649 </p>
650 <a NAME="TabWidget.addTab" ID="TabWidget.addTab"></a>
488 <h4>TabWidget.addTab</h4> 651 <h4>TabWidget.addTab</h4>
489 <b>addTab</b>(<i>assembly, title</i>) 652 <b>addTab</b>(<i>assembly, title</i>)
653
490 <p> 654 <p>
491 Public method to add a new tab. 655 Public method to add a new tab.
492 </p><dl> 656 </p>
657 <dl>
658
493 <dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt> 659 <dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt>
494 <dd> 660 <dd>
495 editor assembly object to be added 661 editor assembly object to be added
496 </dd><dt><i>title</i> (str)</dt> 662 </dd>
663 <dt><i>title</i> (str)</dt>
497 <dd> 664 <dd>
498 title for the new tab 665 title for the new tab
499 </dd> 666 </dd>
500 </dl><a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a> 667 </dl>
668 <a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a>
501 <h4>TabWidget.currentWidget</h4> 669 <h4>TabWidget.currentWidget</h4>
502 <b>currentWidget</b>(<i></i>) 670 <b>currentWidget</b>(<i></i>)
671
503 <p> 672 <p>
504 Public method to return a reference to the current page. 673 Public method to return a reference to the current page.
505 </p><dl> 674 </p>
675 <dl>
506 <dt>Returns:</dt> 676 <dt>Returns:</dt>
507 <dd> 677 <dd>
508 reference to the current page 678 reference to the current page
509 </dd> 679 </dd>
510 </dl><dl> 680 </dl>
681 <dl>
511 <dt>Return Type:</dt> 682 <dt>Return Type:</dt>
512 <dd> 683 <dd>
513 Editor 684 Editor
514 </dd> 685 </dd>
515 </dl><a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a> 686 </dl>
687 <a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a>
516 <h4>TabWidget.hasEditor</h4> 688 <h4>TabWidget.hasEditor</h4>
517 <b>hasEditor</b>(<i>editor</i>) 689 <b>hasEditor</b>(<i>editor</i>)
690
518 <p> 691 <p>
519 Public method to check for an editor. 692 Public method to check for an editor.
520 </p><dl> 693 </p>
694 <dl>
695
521 <dt><i>editor</i> (Editor)</dt> 696 <dt><i>editor</i> (Editor)</dt>
522 <dd> 697 <dd>
523 editor object to check for 698 editor object to check for
524 </dd> 699 </dd>
525 </dl><dl> 700 </dl>
701 <dl>
526 <dt>Returns:</dt> 702 <dt>Returns:</dt>
527 <dd> 703 <dd>
528 flag indicating, whether the editor to be checked belongs 704 flag indicating, whether the editor to be checked belongs
529 to the list of editors managed by this tab widget. 705 to the list of editors managed by this tab widget.
530 </dd> 706 </dd>
531 </dl><dl> 707 </dl>
708 <dl>
532 <dt>Return Type:</dt> 709 <dt>Return Type:</dt>
533 <dd> 710 <dd>
534 bool 711 bool
535 </dd> 712 </dd>
536 </dl><a NAME="TabWidget.hasEditors" ID="TabWidget.hasEditors"></a> 713 </dl>
714 <a NAME="TabWidget.hasEditors" ID="TabWidget.hasEditors"></a>
537 <h4>TabWidget.hasEditors</h4> 715 <h4>TabWidget.hasEditors</h4>
538 <b>hasEditors</b>(<i></i>) 716 <b>hasEditors</b>(<i></i>)
717
539 <p> 718 <p>
540 Public method to test, if any editor is managed. 719 Public method to test, if any editor is managed.
541 </p><dl> 720 </p>
721 <dl>
542 <dt>Returns:</dt> 722 <dt>Returns:</dt>
543 <dd> 723 <dd>
544 flag indicating editors are managed 724 flag indicating editors are managed
545 </dd> 725 </dd>
546 </dl><dl> 726 </dl>
727 <dl>
547 <dt>Return Type:</dt> 728 <dt>Return Type:</dt>
548 <dd> 729 <dd>
549 bool 730 bool
550 </dd> 731 </dd>
551 </dl><a NAME="TabWidget.indexOf" ID="TabWidget.indexOf"></a> 732 </dl>
733 <a NAME="TabWidget.indexOf" ID="TabWidget.indexOf"></a>
552 <h4>TabWidget.indexOf</h4> 734 <h4>TabWidget.indexOf</h4>
553 <b>indexOf</b>(<i>widget</i>) 735 <b>indexOf</b>(<i>widget</i>)
736
554 <p> 737 <p>
555 Public method to get the tab index of the given editor. 738 Public method to get the tab index of the given editor.
556 </p><dl> 739 </p>
740 <dl>
741
557 <dt><i>widget</i> (QLabel or Editor)</dt> 742 <dt><i>widget</i> (QLabel or Editor)</dt>
558 <dd> 743 <dd>
559 widget to get the index for 744 widget to get the index for
560 </dd> 745 </dd>
561 </dl><dl> 746 </dl>
747 <dl>
562 <dt>Returns:</dt> 748 <dt>Returns:</dt>
563 <dd> 749 <dd>
564 tab index of the editor 750 tab index of the editor
565 </dd> 751 </dd>
566 </dl><dl> 752 </dl>
753 <dl>
567 <dt>Return Type:</dt> 754 <dt>Return Type:</dt>
568 <dd> 755 <dd>
569 int 756 int
570 </dd> 757 </dd>
571 </dl><a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a> 758 </dl>
759 <a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a>
572 <h4>TabWidget.insertWidget</h4> 760 <h4>TabWidget.insertWidget</h4>
573 <b>insertWidget</b>(<i>index, assembly, title</i>) 761 <b>insertWidget</b>(<i>index, assembly, title</i>)
762
574 <p> 763 <p>
575 Public method to insert a new tab. 764 Public method to insert a new tab.
576 </p><dl> 765 </p>
766 <dl>
767
577 <dt><i>index</i> (int)</dt> 768 <dt><i>index</i> (int)</dt>
578 <dd> 769 <dd>
579 index position for the new tab 770 index position for the new tab
580 </dd><dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt> 771 </dd>
772 <dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt>
581 <dd> 773 <dd>
582 editor assembly object to be added 774 editor assembly object to be added
583 </dd><dt><i>title</i> (str)</dt> 775 </dd>
776 <dt><i>title</i> (str)</dt>
584 <dd> 777 <dd>
585 title for the new tab 778 title for the new tab
586 </dd> 779 </dd>
587 </dl><dl> 780 </dl>
781 <dl>
588 <dt>Returns:</dt> 782 <dt>Returns:</dt>
589 <dd> 783 <dd>
590 index of the inserted tab 784 index of the inserted tab
591 </dd> 785 </dd>
592 </dl><dl> 786 </dl>
787 <dl>
593 <dt>Return Type:</dt> 788 <dt>Return Type:</dt>
594 <dd> 789 <dd>
595 int 790 int
596 </dd> 791 </dd>
597 </dl><a NAME="TabWidget.mouseDoubleClickEvent" ID="TabWidget.mouseDoubleClickEvent"></a> 792 </dl>
793 <a NAME="TabWidget.mouseDoubleClickEvent" ID="TabWidget.mouseDoubleClickEvent"></a>
598 <h4>TabWidget.mouseDoubleClickEvent</h4> 794 <h4>TabWidget.mouseDoubleClickEvent</h4>
599 <b>mouseDoubleClickEvent</b>(<i>event</i>) 795 <b>mouseDoubleClickEvent</b>(<i>event</i>)
796
600 <p> 797 <p>
601 Protected method handling double click events. 798 Protected method handling double click events.
602 </p><dl> 799 </p>
800 <dl>
801
603 <dt><i>event</i></dt> 802 <dt><i>event</i></dt>
604 <dd> 803 <dd>
605 reference to the event object (QMouseEvent) 804 reference to the event object (QMouseEvent)
606 </dd> 805 </dd>
607 </dl><a NAME="TabWidget.removeWidget" ID="TabWidget.removeWidget"></a> 806 </dl>
807 <a NAME="TabWidget.removeWidget" ID="TabWidget.removeWidget"></a>
608 <h4>TabWidget.removeWidget</h4> 808 <h4>TabWidget.removeWidget</h4>
609 <b>removeWidget</b>(<i>widget</i>) 809 <b>removeWidget</b>(<i>widget</i>)
810
610 <p> 811 <p>
611 Public method to remove a widget. 812 Public method to remove a widget.
612 </p><dl> 813 </p>
814 <dl>
815
613 <dt><i>widget</i> (QWidget)</dt> 816 <dt><i>widget</i> (QWidget)</dt>
614 <dd> 817 <dd>
615 widget to be removed 818 widget to be removed
616 </dd> 819 </dd>
617 </dl><a NAME="TabWidget.setCurrentWidget" ID="TabWidget.setCurrentWidget"></a> 820 </dl>
821 <a NAME="TabWidget.setCurrentWidget" ID="TabWidget.setCurrentWidget"></a>
618 <h4>TabWidget.setCurrentWidget</h4> 822 <h4>TabWidget.setCurrentWidget</h4>
619 <b>setCurrentWidget</b>(<i>assembly</i>) 823 <b>setCurrentWidget</b>(<i>assembly</i>)
824
620 <p> 825 <p>
621 Public method to set the current tab by the given editor assembly. 826 Public method to set the current tab by the given editor assembly.
622 </p><dl> 827 </p>
828 <dl>
829
623 <dt><i>assembly</i> (EditorAssembly.EditorAssembly)</dt> 830 <dt><i>assembly</i> (EditorAssembly.EditorAssembly)</dt>
624 <dd> 831 <dd>
625 editor assembly to determine current tab from 832 editor assembly to determine current tab from
626 </dd> 833 </dd>
627 </dl><a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a> 834 </dl>
835 <a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a>
628 <h4>TabWidget.showIndicator</h4> 836 <h4>TabWidget.showIndicator</h4>
629 <b>showIndicator</b>(<i>on</i>) 837 <b>showIndicator</b>(<i>on</i>)
838
630 <p> 839 <p>
631 Public slot to set the indicator on or off. 840 Public slot to set the indicator on or off.
632 </p><dl> 841 </p>
842 <dl>
843
633 <dt><i>on</i> (bool)</dt> 844 <dt><i>on</i> (bool)</dt>
634 <dd> 845 <dd>
635 flag indicating the state of the indicator 846 flag indicating the state of the indicator
636 </dd> 847 </dd>
637 </dl> 848 </dl>
638 <div align="right"><a href="#top">Up</a></div> 849 <div align="right"><a href="#top">Up</a></div>
639 <hr /><hr /> 850 <hr />
851 <hr />
640 <a NAME="Tabview" ID="Tabview"></a> 852 <a NAME="Tabview" ID="Tabview"></a>
641 <h2>Tabview</h2> 853 <h2>Tabview</h2>
854
642 <p> 855 <p>
643 Class implementing a tabbed viewmanager class embedded in a splitter. 856 Class implementing a tabbed viewmanager class embedded in a splitter.
644 </p><h3>Signals</h3> 857 </p>
645 <dl> 858 <h3>Signals</h3>
859 <dl>
860
646 <dt>astViewerStateChanged(bool)</dt> 861 <dt>astViewerStateChanged(bool)</dt>
647 <dd> 862 <dd>
648 emitted to signal a change in the 863 emitted to signal a change in the
649 AST viewer state 864 AST viewer state
650 </dd><dt>bookmarkToggled(Editor)</dt> 865 </dd>
866 <dt>bookmarkToggled(Editor)</dt>
651 <dd> 867 <dd>
652 emitted when a bookmark is toggled. 868 emitted when a bookmark is toggled.
653 </dd><dt>breakpointToggled(Editor)</dt> 869 </dd>
870 <dt>breakpointToggled(Editor)</dt>
654 <dd> 871 <dd>
655 emitted when a breakpoint is toggled. 872 emitted when a breakpoint is toggled.
656 </dd><dt>changeCaption(str)</dt> 873 </dd>
874 <dt>changeCaption(str)</dt>
657 <dd> 875 <dd>
658 emitted if a change of the caption is necessary 876 emitted if a change of the caption is necessary
659 </dd><dt>checkActions(Editor)</dt> 877 </dd>
878 <dt>checkActions(Editor)</dt>
660 <dd> 879 <dd>
661 emitted when some actions should be checked 880 emitted when some actions should be checked
662 for their status 881 for their status
663 </dd><dt>cursorChanged(Editor)</dt> 882 </dd>
883 <dt>cursorChanged(Editor)</dt>
664 <dd> 884 <dd>
665 emitted after the cursor position of the 885 emitted after the cursor position of the
666 active window has changed 886 active window has changed
667 </dd><dt>editorChanged(str)</dt> 887 </dd>
888 <dt>editorChanged(str)</dt>
668 <dd> 889 <dd>
669 emitted when the current editor has changed 890 emitted when the current editor has changed
670 </dd><dt>editorChangedEd(Editor)</dt> 891 </dd>
892 <dt>editorChangedEd(Editor)</dt>
671 <dd> 893 <dd>
672 emitted when the current editor has changed 894 emitted when the current editor has changed
673 </dd><dt>editorClosed(str)</dt> 895 </dd>
896 <dt>editorClosed(str)</dt>
674 <dd> 897 <dd>
675 emitted just before an editor window gets closed 898 emitted just before an editor window gets closed
676 </dd><dt>editorClosedEd(Editor)</dt> 899 </dd>
900 <dt>editorClosedEd(Editor)</dt>
677 <dd> 901 <dd>
678 emitted just before an editor window gets 902 emitted just before an editor window gets
679 closed 903 closed
680 </dd><dt>editorLanguageChanged(Editor)</dt> 904 </dd>
905 <dt>editorLanguageChanged(Editor)</dt>
681 <dd> 906 <dd>
682 emitted to signal a change of an 907 emitted to signal a change of an
683 editors language 908 editors language
684 </dd><dt>editorLineChanged(str,int)</dt> 909 </dd>
910 <dt>editorLineChanged(str,int)</dt>
685 <dd> 911 <dd>
686 emitted to signal a change of an 912 emitted to signal a change of an
687 editor's current line (line is given one based) 913 editor's current line (line is given one based)
688 </dd><dt>editorOpened(str)</dt> 914 </dd>
915 <dt>editorOpened(str)</dt>
689 <dd> 916 <dd>
690 emitted after an editor window was opened 917 emitted after an editor window was opened
691 </dd><dt>editorOpenedEd(Editor)</dt> 918 </dd>
919 <dt>editorOpenedEd(Editor)</dt>
692 <dd> 920 <dd>
693 emitted after an editor window was opened 921 emitted after an editor window was opened
694 </dd><dt>editorRenamed(str)</dt> 922 </dd>
923 <dt>editorRenamed(str)</dt>
695 <dd> 924 <dd>
696 emitted after an editor was renamed 925 emitted after an editor was renamed
697 </dd><dt>editorRenamedEd(Editor)</dt> 926 </dd>
927 <dt>editorRenamedEd(Editor)</dt>
698 <dd> 928 <dd>
699 emitted after an editor was renamed 929 emitted after an editor was renamed
700 </dd><dt>editorSaved(str)</dt> 930 </dd>
931 <dt>editorSaved(str)</dt>
701 <dd> 932 <dd>
702 emitted after an editor window was saved 933 emitted after an editor window was saved
703 </dd><dt>editorSavedEd(Editor)</dt> 934 </dd>
935 <dt>editorSavedEd(Editor)</dt>
704 <dd> 936 <dd>
705 emitted after an editor window was saved 937 emitted after an editor window was saved
706 </dd><dt>editorTextChanged(Editor)</dt> 938 </dd>
939 <dt>editorTextChanged(Editor)</dt>
707 <dd> 940 <dd>
708 emitted to signal a change of an 941 emitted to signal a change of an
709 editor's text 942 editor's text
710 </dd><dt>lastEditorClosed()</dt> 943 </dd>
944 <dt>lastEditorClosed()</dt>
711 <dd> 945 <dd>
712 emitted after the last editor window was closed 946 emitted after the last editor window was closed
713 </dd><dt>previewStateChanged(bool)</dt> 947 </dd>
948 <dt>previewStateChanged(bool)</dt>
714 <dd> 949 <dd>
715 emitted to signal a change in the 950 emitted to signal a change in the
716 preview state 951 preview state
717 </dd><dt>syntaxerrorToggled(Editor)</dt> 952 </dd>
953 <dt>syntaxerrorToggled(Editor)</dt>
718 <dd> 954 <dd>
719 emitted when a syntax error is toggled. 955 emitted when a syntax error is toggled.
720 </dd> 956 </dd>
721 </dl> 957 </dl>
722 <h3>Derived from</h3> 958 <h3>Derived from</h3>
723 ViewManager 959 ViewManager
724 <h3>Class Attributes</h3> 960 <h3>Class Attributes</h3>
961
725 <table> 962 <table>
726 <tr><td>None</td></tr> 963 <tr><td>None</td></tr>
727 </table> 964 </table>
728 <h3>Class Methods</h3> 965 <h3>Class Methods</h3>
966
729 <table> 967 <table>
730 <tr><td>None</td></tr> 968 <tr><td>None</td></tr>
731 </table> 969 </table>
732 <h3>Methods</h3> 970 <h3>Methods</h3>
971
733 <table> 972 <table>
973
734 <tr> 974 <tr>
735 <td><a href="#Tabview.__init__">Tabview</a></td> 975 <td><a href="#Tabview.__init__">Tabview</a></td>
736 <td>Constructor</td> 976 <td>Constructor</td>
737 </tr><tr> 977 </tr>
978 <tr>
738 <td><a href="#Tabview.__currentChanged">__currentChanged</a></td> 979 <td><a href="#Tabview.__currentChanged">__currentChanged</a></td>
739 <td>Private slot to handle the currentChanged signal.</td> 980 <td>Private slot to handle the currentChanged signal.</td>
740 </tr><tr> 981 </tr>
982 <tr>
741 <td><a href="#Tabview._addView">_addView</a></td> 983 <td><a href="#Tabview._addView">_addView</a></td>
742 <td>Protected method to add a view (i.e.</td> 984 <td>Protected method to add a view (i.e.</td>
743 </tr><tr> 985 </tr>
986 <tr>
744 <td><a href="#Tabview._initWindowActions">_initWindowActions</a></td> 987 <td><a href="#Tabview._initWindowActions">_initWindowActions</a></td>
745 <td>Protected method to define the user interface actions for window handling.</td> 988 <td>Protected method to define the user interface actions for window handling.</td>
746 </tr><tr> 989 </tr>
990 <tr>
747 <td><a href="#Tabview._modificationStatusChanged">_modificationStatusChanged</a></td> 991 <td><a href="#Tabview._modificationStatusChanged">_modificationStatusChanged</a></td>
748 <td>Protected slot to handle the modificationStatusChanged signal.</td> 992 <td>Protected slot to handle the modificationStatusChanged signal.</td>
749 </tr><tr> 993 </tr>
994 <tr>
750 <td><a href="#Tabview._removeAllViews">_removeAllViews</a></td> 995 <td><a href="#Tabview._removeAllViews">_removeAllViews</a></td>
751 <td>Protected method to remove all views (i.e.</td> 996 <td>Protected method to remove all views (i.e.</td>
752 </tr><tr> 997 </tr>
998 <tr>
753 <td><a href="#Tabview._removeView">_removeView</a></td> 999 <td><a href="#Tabview._removeView">_removeView</a></td>
754 <td>Protected method to remove a view (i.e.</td> 1000 <td>Protected method to remove a view (i.e.</td>
755 </tr><tr> 1001 </tr>
1002 <tr>
756 <td><a href="#Tabview._showView">_showView</a></td> 1003 <td><a href="#Tabview._showView">_showView</a></td>
757 <td>Protected method to show a view (i.e.</td> 1004 <td>Protected method to show a view (i.e.</td>
758 </tr><tr> 1005 </tr>
1006 <tr>
759 <td><a href="#Tabview._syntaxErrorToggled">_syntaxErrorToggled</a></td> 1007 <td><a href="#Tabview._syntaxErrorToggled">_syntaxErrorToggled</a></td>
760 <td>Protected slot to handle the syntaxerrorToggled signal.</td> 1008 <td>Protected slot to handle the syntaxerrorToggled signal.</td>
761 </tr><tr> 1009 </tr>
1010 <tr>
762 <td><a href="#Tabview.activeWindow">activeWindow</a></td> 1011 <td><a href="#Tabview.activeWindow">activeWindow</a></td>
763 <td>Public method to return the active (i.e.</td> 1012 <td>Public method to return the active (i.e.</td>
764 </tr><tr> 1013 </tr>
1014 <tr>
765 <td><a href="#Tabview.addSplit">addSplit</a></td> 1015 <td><a href="#Tabview.addSplit">addSplit</a></td>
766 <td>Public method used to split the current view.</td> 1016 <td>Public method used to split the current view.</td>
767 </tr><tr> 1017 </tr>
1018 <tr>
768 <td><a href="#Tabview.canCascade">canCascade</a></td> 1019 <td><a href="#Tabview.canCascade">canCascade</a></td>
769 <td>Public method to signal if cascading of managed windows is available.</td> 1020 <td>Public method to signal if cascading of managed windows is available.</td>
770 </tr><tr> 1021 </tr>
1022 <tr>
771 <td><a href="#Tabview.canSplit">canSplit</a></td> 1023 <td><a href="#Tabview.canSplit">canSplit</a></td>
772 <td>public method to signal if splitting of the view is available.</td> 1024 <td>public method to signal if splitting of the view is available.</td>
773 </tr><tr> 1025 </tr>
1026 <tr>
774 <td><a href="#Tabview.canTile">canTile</a></td> 1027 <td><a href="#Tabview.canTile">canTile</a></td>
775 <td>Public method to signal if tiling of managed windows is available.</td> 1028 <td>Public method to signal if tiling of managed windows is available.</td>
776 </tr><tr> 1029 </tr>
1030 <tr>
777 <td><a href="#Tabview.cascade">cascade</a></td> 1031 <td><a href="#Tabview.cascade">cascade</a></td>
778 <td>Public method to cascade the managed windows.</td> 1032 <td>Public method to cascade the managed windows.</td>
779 </tr><tr> 1033 </tr>
1034 <tr>
780 <td><a href="#Tabview.eventFilter">eventFilter</a></td> 1035 <td><a href="#Tabview.eventFilter">eventFilter</a></td>
781 <td>Public method called to filter the event queue.</td> 1036 <td>Public method called to filter the event queue.</td>
782 </tr><tr> 1037 </tr>
1038 <tr>
783 <td><a href="#Tabview.getOpenEditorsForSession">getOpenEditorsForSession</a></td> 1039 <td><a href="#Tabview.getOpenEditorsForSession">getOpenEditorsForSession</a></td>
784 <td>Public method to get a lists of all open editors.</td> 1040 <td>Public method to get a lists of all open editors.</td>
785 </tr><tr> 1041 </tr>
1042 <tr>
786 <td><a href="#Tabview.getSplitOrientation">getSplitOrientation</a></td> 1043 <td><a href="#Tabview.getSplitOrientation">getSplitOrientation</a></td>
787 <td>Public method to get the orientation of the split view.</td> 1044 <td>Public method to get the orientation of the split view.</td>
788 </tr><tr> 1045 </tr>
1046 <tr>
789 <td><a href="#Tabview.getTabWidgetById">getTabWidgetById</a></td> 1047 <td><a href="#Tabview.getTabWidgetById">getTabWidgetById</a></td>
790 <td>Public method to get a reference to a tab widget knowing its ID.</td> 1048 <td>Public method to get a reference to a tab widget knowing its ID.</td>
791 </tr><tr> 1049 </tr>
1050 <tr>
792 <td><a href="#Tabview.insertView">insertView</a></td> 1051 <td><a href="#Tabview.insertView">insertView</a></td>
793 <td>Public method to add a view (i.e.</td> 1052 <td>Public method to add a view (i.e.</td>
794 </tr><tr> 1053 </tr>
1054 <tr>
795 <td><a href="#Tabview.mainWidget">mainWidget</a></td> 1055 <td><a href="#Tabview.mainWidget">mainWidget</a></td>
796 <td>Public method to return a reference to the main Widget of a specific view manager subclass.</td> 1056 <td>Public method to return a reference to the main Widget of a specific view manager subclass.</td>
797 </tr><tr> 1057 </tr>
1058 <tr>
798 <td><a href="#Tabview.nextSplit">nextSplit</a></td> 1059 <td><a href="#Tabview.nextSplit">nextSplit</a></td>
799 <td>Public slot used to move to the next split.</td> 1060 <td>Public slot used to move to the next split.</td>
800 </tr><tr> 1061 </tr>
1062 <tr>
801 <td><a href="#Tabview.preferencesChanged">preferencesChanged</a></td> 1063 <td><a href="#Tabview.preferencesChanged">preferencesChanged</a></td>
802 <td>Public slot to handle the preferencesChanged signal.</td> 1064 <td>Public slot to handle the preferencesChanged signal.</td>
803 </tr><tr> 1065 </tr>
1066 <tr>
804 <td><a href="#Tabview.prevSplit">prevSplit</a></td> 1067 <td><a href="#Tabview.prevSplit">prevSplit</a></td>
805 <td>Public slot used to move to the previous split.</td> 1068 <td>Public slot used to move to the previous split.</td>
806 </tr><tr> 1069 </tr>
1070 <tr>
807 <td><a href="#Tabview.removeSplit">removeSplit</a></td> 1071 <td><a href="#Tabview.removeSplit">removeSplit</a></td>
808 <td>Public method used to remove the current split view or a split view by index.</td> 1072 <td>Public method used to remove the current split view or a split view by index.</td>
809 </tr><tr> 1073 </tr>
1074 <tr>
810 <td><a href="#Tabview.setEditorName">setEditorName</a></td> 1075 <td><a href="#Tabview.setEditorName">setEditorName</a></td>
811 <td>Public method to change the displayed name of the editor.</td> 1076 <td>Public method to change the displayed name of the editor.</td>
812 </tr><tr> 1077 </tr>
1078 <tr>
813 <td><a href="#Tabview.setSplitCount">setSplitCount</a></td> 1079 <td><a href="#Tabview.setSplitCount">setSplitCount</a></td>
814 <td>Public method to set the number of split views.</td> 1080 <td>Public method to set the number of split views.</td>
815 </tr><tr> 1081 </tr>
1082 <tr>
816 <td><a href="#Tabview.setSplitOrientation">setSplitOrientation</a></td> 1083 <td><a href="#Tabview.setSplitOrientation">setSplitOrientation</a></td>
817 <td>Public method used to set the orientation of the split view.</td> 1084 <td>Public method used to set the orientation of the split view.</td>
818 </tr><tr> 1085 </tr>
1086 <tr>
819 <td><a href="#Tabview.showWindowMenu">showWindowMenu</a></td> 1087 <td><a href="#Tabview.showWindowMenu">showWindowMenu</a></td>
820 <td>Public method to set up the viewmanager part of the Window menu.</td> 1088 <td>Public method to set up the viewmanager part of the Window menu.</td>
821 </tr><tr> 1089 </tr>
1090 <tr>
822 <td><a href="#Tabview.splitCount">splitCount</a></td> 1091 <td><a href="#Tabview.splitCount">splitCount</a></td>
823 <td>Public method to get the number of splitted views.</td> 1092 <td>Public method to get the number of splitted views.</td>
824 </tr><tr> 1093 </tr>
1094 <tr>
825 <td><a href="#Tabview.tile">tile</a></td> 1095 <td><a href="#Tabview.tile">tile</a></td>
826 <td>Public method to tile the managed windows.</td> 1096 <td>Public method to tile the managed windows.</td>
827 </tr> 1097 </tr>
828 </table> 1098 </table>
829 <h3>Static Methods</h3> 1099 <h3>Static Methods</h3>
1100
830 <table> 1101 <table>
831 <tr><td>None</td></tr> 1102 <tr><td>None</td></tr>
832 </table> 1103 </table>
1104
833 <a NAME="Tabview.__init__" ID="Tabview.__init__"></a> 1105 <a NAME="Tabview.__init__" ID="Tabview.__init__"></a>
834 <h4>Tabview (Constructor)</h4> 1106 <h4>Tabview (Constructor)</h4>
835 <b>Tabview</b>(<i>parent</i>) 1107 <b>Tabview</b>(<i>parent</i>)
1108
836 <p> 1109 <p>
837 Constructor 1110 Constructor
838 </p><dl> 1111 </p>
1112 <dl>
1113
839 <dt><i>parent</i> (QWidget)</dt> 1114 <dt><i>parent</i> (QWidget)</dt>
840 <dd> 1115 <dd>
841 parent widget 1116 parent widget
842 </dd> 1117 </dd>
843 </dl><a NAME="Tabview.__currentChanged" ID="Tabview.__currentChanged"></a> 1118 </dl>
1119 <a NAME="Tabview.__currentChanged" ID="Tabview.__currentChanged"></a>
844 <h4>Tabview.__currentChanged</h4> 1120 <h4>Tabview.__currentChanged</h4>
845 <b>__currentChanged</b>(<i>index</i>) 1121 <b>__currentChanged</b>(<i>index</i>)
1122
846 <p> 1123 <p>
847 Private slot to handle the currentChanged signal. 1124 Private slot to handle the currentChanged signal.
848 </p><dl> 1125 </p>
1126 <dl>
1127
849 <dt><i>index</i> (int)</dt> 1128 <dt><i>index</i> (int)</dt>
850 <dd> 1129 <dd>
851 index of the current tab 1130 index of the current tab
852 </dd> 1131 </dd>
853 </dl><a NAME="Tabview._addView" ID="Tabview._addView"></a> 1132 </dl>
1133 <a NAME="Tabview._addView" ID="Tabview._addView"></a>
854 <h4>Tabview._addView</h4> 1134 <h4>Tabview._addView</h4>
855 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>) 1135 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>)
1136
856 <p> 1137 <p>
857 Protected method to add a view (i.e. window). 1138 Protected method to add a view (i.e. window).
858 </p><dl> 1139 </p>
1140 <dl>
1141
859 <dt><i>win</i> (EditorAssembly)</dt> 1142 <dt><i>win</i> (EditorAssembly)</dt>
860 <dd> 1143 <dd>
861 editor assembly to be added 1144 editor assembly to be added
862 </dd><dt><i>fn</i> (str)</dt> 1145 </dd>
1146 <dt><i>fn</i> (str)</dt>
863 <dd> 1147 <dd>
864 filename of this editor 1148 filename of this editor
865 </dd><dt><i>noName</i> (str)</dt> 1149 </dd>
1150 <dt><i>noName</i> (str)</dt>
866 <dd> 1151 <dd>
867 name to be used for an unnamed editor 1152 name to be used for an unnamed editor
868 </dd><dt><i>addNext</i> (bool)</dt> 1153 </dd>
1154 <dt><i>addNext</i> (bool)</dt>
869 <dd> 1155 <dd>
870 flag indicating to add the view next to the current 1156 flag indicating to add the view next to the current
871 view 1157 view
872 </dd><dt><i>indexes</i> (tuple of two int)</dt> 1158 </dd>
1159 <dt><i>indexes</i> (tuple of two int)</dt>
873 <dd> 1160 <dd>
874 of the editor, first the split view index, second the 1161 of the editor, first the split view index, second the
875 index within the view 1162 index within the view
876 </dd> 1163 </dd>
877 </dl><a NAME="Tabview._initWindowActions" ID="Tabview._initWindowActions"></a> 1164 </dl>
1165 <a NAME="Tabview._initWindowActions" ID="Tabview._initWindowActions"></a>
878 <h4>Tabview._initWindowActions</h4> 1166 <h4>Tabview._initWindowActions</h4>
879 <b>_initWindowActions</b>(<i></i>) 1167 <b>_initWindowActions</b>(<i></i>)
1168
880 <p> 1169 <p>
881 Protected method to define the user interface actions for window 1170 Protected method to define the user interface actions for window
882 handling. 1171 handling.
883 </p><a NAME="Tabview._modificationStatusChanged" ID="Tabview._modificationStatusChanged"></a> 1172 </p>
1173 <a NAME="Tabview._modificationStatusChanged" ID="Tabview._modificationStatusChanged"></a>
884 <h4>Tabview._modificationStatusChanged</h4> 1174 <h4>Tabview._modificationStatusChanged</h4>
885 <b>_modificationStatusChanged</b>(<i>m, editor</i>) 1175 <b>_modificationStatusChanged</b>(<i>m, editor</i>)
1176
886 <p> 1177 <p>
887 Protected slot to handle the modificationStatusChanged signal. 1178 Protected slot to handle the modificationStatusChanged signal.
888 </p><dl> 1179 </p>
1180 <dl>
1181
889 <dt><i>m</i> (bool)</dt> 1182 <dt><i>m</i> (bool)</dt>
890 <dd> 1183 <dd>
891 flag indicating the modification status 1184 flag indicating the modification status
892 </dd><dt><i>editor</i> (Editor)</dt> 1185 </dd>
1186 <dt><i>editor</i> (Editor)</dt>
893 <dd> 1187 <dd>
894 editor window changed 1188 editor window changed
895 </dd> 1189 </dd>
896 </dl><a NAME="Tabview._removeAllViews" ID="Tabview._removeAllViews"></a> 1190 </dl>
1191 <a NAME="Tabview._removeAllViews" ID="Tabview._removeAllViews"></a>
897 <h4>Tabview._removeAllViews</h4> 1192 <h4>Tabview._removeAllViews</h4>
898 <b>_removeAllViews</b>(<i></i>) 1193 <b>_removeAllViews</b>(<i></i>)
1194
899 <p> 1195 <p>
900 Protected method to remove all views (i.e. windows). 1196 Protected method to remove all views (i.e. windows).
901 </p><a NAME="Tabview._removeView" ID="Tabview._removeView"></a> 1197 </p>
1198 <a NAME="Tabview._removeView" ID="Tabview._removeView"></a>
902 <h4>Tabview._removeView</h4> 1199 <h4>Tabview._removeView</h4>
903 <b>_removeView</b>(<i>win</i>) 1200 <b>_removeView</b>(<i>win</i>)
1201
904 <p> 1202 <p>
905 Protected method to remove a view (i.e. window). 1203 Protected method to remove a view (i.e. window).
906 </p><dl> 1204 </p>
1205 <dl>
1206
907 <dt><i>win</i> (Editor)</dt> 1207 <dt><i>win</i> (Editor)</dt>
908 <dd> 1208 <dd>
909 editor window to be removed 1209 editor window to be removed
910 </dd> 1210 </dd>
911 </dl><a NAME="Tabview._showView" ID="Tabview._showView"></a> 1211 </dl>
1212 <a NAME="Tabview._showView" ID="Tabview._showView"></a>
912 <h4>Tabview._showView</h4> 1213 <h4>Tabview._showView</h4>
913 <b>_showView</b>(<i>win, fn=None</i>) 1214 <b>_showView</b>(<i>win, fn=None</i>)
1215
914 <p> 1216 <p>
915 Protected method to show a view (i.e. window). 1217 Protected method to show a view (i.e. window).
916 </p><dl> 1218 </p>
1219 <dl>
1220
917 <dt><i>win</i> (EditorAssembly)</dt> 1221 <dt><i>win</i> (EditorAssembly)</dt>
918 <dd> 1222 <dd>
919 editor assembly to be shown 1223 editor assembly to be shown
920 </dd><dt><i>fn</i> (str)</dt> 1224 </dd>
1225 <dt><i>fn</i> (str)</dt>
921 <dd> 1226 <dd>
922 filename of this editor 1227 filename of this editor
923 </dd> 1228 </dd>
924 </dl><a NAME="Tabview._syntaxErrorToggled" ID="Tabview._syntaxErrorToggled"></a> 1229 </dl>
1230 <a NAME="Tabview._syntaxErrorToggled" ID="Tabview._syntaxErrorToggled"></a>
925 <h4>Tabview._syntaxErrorToggled</h4> 1231 <h4>Tabview._syntaxErrorToggled</h4>
926 <b>_syntaxErrorToggled</b>(<i>editor</i>) 1232 <b>_syntaxErrorToggled</b>(<i>editor</i>)
1233
927 <p> 1234 <p>
928 Protected slot to handle the syntaxerrorToggled signal. 1235 Protected slot to handle the syntaxerrorToggled signal.
929 </p><dl> 1236 </p>
1237 <dl>
1238
930 <dt><i>editor</i> (Editor)</dt> 1239 <dt><i>editor</i> (Editor)</dt>
931 <dd> 1240 <dd>
932 editor that sent the signal 1241 editor that sent the signal
933 </dd> 1242 </dd>
934 </dl><a NAME="Tabview.activeWindow" ID="Tabview.activeWindow"></a> 1243 </dl>
1244 <a NAME="Tabview.activeWindow" ID="Tabview.activeWindow"></a>
935 <h4>Tabview.activeWindow</h4> 1245 <h4>Tabview.activeWindow</h4>
936 <b>activeWindow</b>(<i></i>) 1246 <b>activeWindow</b>(<i></i>)
1247
937 <p> 1248 <p>
938 Public method to return the active (i.e. current) window. 1249 Public method to return the active (i.e. current) window.
939 </p><dl> 1250 </p>
1251 <dl>
940 <dt>Returns:</dt> 1252 <dt>Returns:</dt>
941 <dd> 1253 <dd>
942 reference to the active editor 1254 reference to the active editor
943 </dd> 1255 </dd>
944 </dl><dl> 1256 </dl>
1257 <dl>
945 <dt>Return Type:</dt> 1258 <dt>Return Type:</dt>
946 <dd> 1259 <dd>
947 Editor 1260 Editor
948 </dd> 1261 </dd>
949 </dl><a NAME="Tabview.addSplit" ID="Tabview.addSplit"></a> 1262 </dl>
1263 <a NAME="Tabview.addSplit" ID="Tabview.addSplit"></a>
950 <h4>Tabview.addSplit</h4> 1264 <h4>Tabview.addSplit</h4>
951 <b>addSplit</b>(<i></i>) 1265 <b>addSplit</b>(<i></i>)
1266
952 <p> 1267 <p>
953 Public method used to split the current view. 1268 Public method used to split the current view.
954 </p><a NAME="Tabview.canCascade" ID="Tabview.canCascade"></a> 1269 </p>
1270 <a NAME="Tabview.canCascade" ID="Tabview.canCascade"></a>
955 <h4>Tabview.canCascade</h4> 1271 <h4>Tabview.canCascade</h4>
956 <b>canCascade</b>(<i></i>) 1272 <b>canCascade</b>(<i></i>)
1273
957 <p> 1274 <p>
958 Public method to signal if cascading of managed windows is available. 1275 Public method to signal if cascading of managed windows is available.
959 </p><dl> 1276 </p>
1277 <dl>
960 <dt>Returns:</dt> 1278 <dt>Returns:</dt>
961 <dd> 1279 <dd>
962 flag indicating cascading of windows is available 1280 flag indicating cascading of windows is available
963 </dd> 1281 </dd>
964 </dl><dl> 1282 </dl>
1283 <dl>
965 <dt>Return Type:</dt> 1284 <dt>Return Type:</dt>
966 <dd> 1285 <dd>
967 bool 1286 bool
968 </dd> 1287 </dd>
969 </dl><a NAME="Tabview.canSplit" ID="Tabview.canSplit"></a> 1288 </dl>
1289 <a NAME="Tabview.canSplit" ID="Tabview.canSplit"></a>
970 <h4>Tabview.canSplit</h4> 1290 <h4>Tabview.canSplit</h4>
971 <b>canSplit</b>(<i></i>) 1291 <b>canSplit</b>(<i></i>)
1292
972 <p> 1293 <p>
973 public method to signal if splitting of the view is available. 1294 public method to signal if splitting of the view is available.
974 </p><dl> 1295 </p>
1296 <dl>
975 <dt>Returns:</dt> 1297 <dt>Returns:</dt>
976 <dd> 1298 <dd>
977 flag indicating splitting of the view is available. 1299 flag indicating splitting of the view is available.
978 </dd> 1300 </dd>
979 </dl><dl> 1301 </dl>
1302 <dl>
980 <dt>Return Type:</dt> 1303 <dt>Return Type:</dt>
981 <dd> 1304 <dd>
982 bool 1305 bool
983 </dd> 1306 </dd>
984 </dl><a NAME="Tabview.canTile" ID="Tabview.canTile"></a> 1307 </dl>
1308 <a NAME="Tabview.canTile" ID="Tabview.canTile"></a>
985 <h4>Tabview.canTile</h4> 1309 <h4>Tabview.canTile</h4>
986 <b>canTile</b>(<i></i>) 1310 <b>canTile</b>(<i></i>)
1311
987 <p> 1312 <p>
988 Public method to signal if tiling of managed windows is available. 1313 Public method to signal if tiling of managed windows is available.
989 </p><dl> 1314 </p>
1315 <dl>
990 <dt>Returns:</dt> 1316 <dt>Returns:</dt>
991 <dd> 1317 <dd>
992 flag indicating tiling of windows is available 1318 flag indicating tiling of windows is available
993 </dd> 1319 </dd>
994 </dl><dl> 1320 </dl>
1321 <dl>
995 <dt>Return Type:</dt> 1322 <dt>Return Type:</dt>
996 <dd> 1323 <dd>
997 bool 1324 bool
998 </dd> 1325 </dd>
999 </dl><a NAME="Tabview.cascade" ID="Tabview.cascade"></a> 1326 </dl>
1327 <a NAME="Tabview.cascade" ID="Tabview.cascade"></a>
1000 <h4>Tabview.cascade</h4> 1328 <h4>Tabview.cascade</h4>
1001 <b>cascade</b>(<i></i>) 1329 <b>cascade</b>(<i></i>)
1330
1002 <p> 1331 <p>
1003 Public method to cascade the managed windows. 1332 Public method to cascade the managed windows.
1004 </p><a NAME="Tabview.eventFilter" ID="Tabview.eventFilter"></a> 1333 </p>
1334 <a NAME="Tabview.eventFilter" ID="Tabview.eventFilter"></a>
1005 <h4>Tabview.eventFilter</h4> 1335 <h4>Tabview.eventFilter</h4>
1006 <b>eventFilter</b>(<i>watched, event</i>) 1336 <b>eventFilter</b>(<i>watched, event</i>)
1337
1007 <p> 1338 <p>
1008 Public method called to filter the event queue. 1339 Public method called to filter the event queue.
1009 </p><dl> 1340 </p>
1341 <dl>
1342
1010 <dt><i>watched</i> (QObject)</dt> 1343 <dt><i>watched</i> (QObject)</dt>
1011 <dd> 1344 <dd>
1012 the QObject being watched 1345 the QObject being watched
1013 </dd><dt><i>event</i> (QEvent)</dt> 1346 </dd>
1347 <dt><i>event</i> (QEvent)</dt>
1014 <dd> 1348 <dd>
1015 the event that occurred 1349 the event that occurred
1016 </dd> 1350 </dd>
1017 </dl><dl> 1351 </dl>
1352 <dl>
1018 <dt>Returns:</dt> 1353 <dt>Returns:</dt>
1019 <dd> 1354 <dd>
1020 always False 1355 always False
1021 </dd> 1356 </dd>
1022 </dl><dl> 1357 </dl>
1358 <dl>
1023 <dt>Return Type:</dt> 1359 <dt>Return Type:</dt>
1024 <dd> 1360 <dd>
1025 bool 1361 bool
1026 </dd> 1362 </dd>
1027 </dl><a NAME="Tabview.getOpenEditorsForSession" ID="Tabview.getOpenEditorsForSession"></a> 1363 </dl>
1364 <a NAME="Tabview.getOpenEditorsForSession" ID="Tabview.getOpenEditorsForSession"></a>
1028 <h4>Tabview.getOpenEditorsForSession</h4> 1365 <h4>Tabview.getOpenEditorsForSession</h4>
1029 <b>getOpenEditorsForSession</b>(<i></i>) 1366 <b>getOpenEditorsForSession</b>(<i></i>)
1367
1030 <p> 1368 <p>
1031 Public method to get a lists of all open editors. 1369 Public method to get a lists of all open editors.
1032 </p><p> 1370 </p>
1371 <p>
1033 The returned list contains one list per split view. If the view manager 1372 The returned list contains one list per split view. If the view manager
1034 cannot split the view, only one list of editors is returned. 1373 cannot split the view, only one list of editors is returned.
1035 </p><dl> 1374 </p>
1375 <dl>
1036 <dt>Returns:</dt> 1376 <dt>Returns:</dt>
1037 <dd> 1377 <dd>
1038 list of list of editor references 1378 list of list of editor references
1039 </dd> 1379 </dd>
1040 </dl><dl> 1380 </dl>
1381 <dl>
1041 <dt>Return Type:</dt> 1382 <dt>Return Type:</dt>
1042 <dd> 1383 <dd>
1043 list of list of Editor 1384 list of list of Editor
1044 </dd> 1385 </dd>
1045 </dl><a NAME="Tabview.getSplitOrientation" ID="Tabview.getSplitOrientation"></a> 1386 </dl>
1387 <a NAME="Tabview.getSplitOrientation" ID="Tabview.getSplitOrientation"></a>
1046 <h4>Tabview.getSplitOrientation</h4> 1388 <h4>Tabview.getSplitOrientation</h4>
1047 <b>getSplitOrientation</b>(<i></i>) 1389 <b>getSplitOrientation</b>(<i></i>)
1390
1048 <p> 1391 <p>
1049 Public method to get the orientation of the split view. 1392 Public method to get the orientation of the split view.
1050 </p><dl> 1393 </p>
1394 <dl>
1051 <dt>Returns:</dt> 1395 <dt>Returns:</dt>
1052 <dd> 1396 <dd>
1053 orientation of the split 1397 orientation of the split
1054 </dd> 1398 </dd>
1055 </dl><dl> 1399 </dl>
1400 <dl>
1056 <dt>Return Type:</dt> 1401 <dt>Return Type:</dt>
1057 <dd> 1402 <dd>
1058 Qt.Horizontal or Qt.Vertical 1403 Qt.Horizontal or Qt.Vertical
1059 </dd> 1404 </dd>
1060 </dl><a NAME="Tabview.getTabWidgetById" ID="Tabview.getTabWidgetById"></a> 1405 </dl>
1406 <a NAME="Tabview.getTabWidgetById" ID="Tabview.getTabWidgetById"></a>
1061 <h4>Tabview.getTabWidgetById</h4> 1407 <h4>Tabview.getTabWidgetById</h4>
1062 <b>getTabWidgetById</b>(<i>id_</i>) 1408 <b>getTabWidgetById</b>(<i>id_</i>)
1409
1063 <p> 1410 <p>
1064 Public method to get a reference to a tab widget knowing its ID. 1411 Public method to get a reference to a tab widget knowing its ID.
1065 </p><dl> 1412 </p>
1413 <dl>
1414
1066 <dt><i>id_</i> (int)</dt> 1415 <dt><i>id_</i> (int)</dt>
1067 <dd> 1416 <dd>
1068 id of the tab widget 1417 id of the tab widget
1069 </dd> 1418 </dd>
1070 </dl><dl> 1419 </dl>
1420 <dl>
1071 <dt>Returns:</dt> 1421 <dt>Returns:</dt>
1072 <dd> 1422 <dd>
1073 reference to the tab widget 1423 reference to the tab widget
1074 </dd> 1424 </dd>
1075 </dl><dl> 1425 </dl>
1426 <dl>
1076 <dt>Return Type:</dt> 1427 <dt>Return Type:</dt>
1077 <dd> 1428 <dd>
1078 TabWidget 1429 TabWidget
1079 </dd> 1430 </dd>
1080 </dl><a NAME="Tabview.insertView" ID="Tabview.insertView"></a> 1431 </dl>
1432 <a NAME="Tabview.insertView" ID="Tabview.insertView"></a>
1081 <h4>Tabview.insertView</h4> 1433 <h4>Tabview.insertView</h4>
1082 <b>insertView</b>(<i>win, tabWidget, index, fn=None, noName=""</i>) 1434 <b>insertView</b>(<i>win, tabWidget, index, fn=None, noName=""</i>)
1435
1083 <p> 1436 <p>
1084 Public method to add a view (i.e. window). 1437 Public method to add a view (i.e. window).
1085 </p><dl> 1438 </p>
1439 <dl>
1440
1086 <dt><i>win</i> (EditorAssembly)</dt> 1441 <dt><i>win</i> (EditorAssembly)</dt>
1087 <dd> 1442 <dd>
1088 editor assembly to be inserted 1443 editor assembly to be inserted
1089 </dd><dt><i>tabWidget</i> (TabWidget)</dt> 1444 </dd>
1445 <dt><i>tabWidget</i> (TabWidget)</dt>
1090 <dd> 1446 <dd>
1091 reference to the tab widget to insert the editor into 1447 reference to the tab widget to insert the editor into
1092 </dd><dt><i>index</i> (int)</dt> 1448 </dd>
1449 <dt><i>index</i> (int)</dt>
1093 <dd> 1450 <dd>
1094 index position to insert at 1451 index position to insert at
1095 </dd><dt><i>fn</i> (str)</dt> 1452 </dd>
1453 <dt><i>fn</i> (str)</dt>
1096 <dd> 1454 <dd>
1097 filename of this editor 1455 filename of this editor
1098 </dd><dt><i>noName</i> (str)</dt> 1456 </dd>
1457 <dt><i>noName</i> (str)</dt>
1099 <dd> 1458 <dd>
1100 name to be used for an unnamed editor 1459 name to be used for an unnamed editor
1101 </dd> 1460 </dd>
1102 </dl><a NAME="Tabview.mainWidget" ID="Tabview.mainWidget"></a> 1461 </dl>
1462 <a NAME="Tabview.mainWidget" ID="Tabview.mainWidget"></a>
1103 <h4>Tabview.mainWidget</h4> 1463 <h4>Tabview.mainWidget</h4>
1104 <b>mainWidget</b>(<i></i>) 1464 <b>mainWidget</b>(<i></i>)
1465
1105 <p> 1466 <p>
1106 Public method to return a reference to the main Widget of a 1467 Public method to return a reference to the main Widget of a
1107 specific view manager subclass. 1468 specific view manager subclass.
1108 </p><dl> 1469 </p>
1470 <dl>
1109 <dt>Returns:</dt> 1471 <dt>Returns:</dt>
1110 <dd> 1472 <dd>
1111 reference to the main widget 1473 reference to the main widget
1112 </dd> 1474 </dd>
1113 </dl><dl> 1475 </dl>
1476 <dl>
1114 <dt>Return Type:</dt> 1477 <dt>Return Type:</dt>
1115 <dd> 1478 <dd>
1116 QWidget 1479 QWidget
1117 </dd> 1480 </dd>
1118 </dl><a NAME="Tabview.nextSplit" ID="Tabview.nextSplit"></a> 1481 </dl>
1482 <a NAME="Tabview.nextSplit" ID="Tabview.nextSplit"></a>
1119 <h4>Tabview.nextSplit</h4> 1483 <h4>Tabview.nextSplit</h4>
1120 <b>nextSplit</b>(<i></i>) 1484 <b>nextSplit</b>(<i></i>)
1485
1121 <p> 1486 <p>
1122 Public slot used to move to the next split. 1487 Public slot used to move to the next split.
1123 </p><a NAME="Tabview.preferencesChanged" ID="Tabview.preferencesChanged"></a> 1488 </p>
1489 <a NAME="Tabview.preferencesChanged" ID="Tabview.preferencesChanged"></a>
1124 <h4>Tabview.preferencesChanged</h4> 1490 <h4>Tabview.preferencesChanged</h4>
1125 <b>preferencesChanged</b>(<i></i>) 1491 <b>preferencesChanged</b>(<i></i>)
1492
1126 <p> 1493 <p>
1127 Public slot to handle the preferencesChanged signal. 1494 Public slot to handle the preferencesChanged signal.
1128 </p><a NAME="Tabview.prevSplit" ID="Tabview.prevSplit"></a> 1495 </p>
1496 <a NAME="Tabview.prevSplit" ID="Tabview.prevSplit"></a>
1129 <h4>Tabview.prevSplit</h4> 1497 <h4>Tabview.prevSplit</h4>
1130 <b>prevSplit</b>(<i></i>) 1498 <b>prevSplit</b>(<i></i>)
1499
1131 <p> 1500 <p>
1132 Public slot used to move to the previous split. 1501 Public slot used to move to the previous split.
1133 </p><a NAME="Tabview.removeSplit" ID="Tabview.removeSplit"></a> 1502 </p>
1503 <a NAME="Tabview.removeSplit" ID="Tabview.removeSplit"></a>
1134 <h4>Tabview.removeSplit</h4> 1504 <h4>Tabview.removeSplit</h4>
1135 <b>removeSplit</b>(<i>index=-1</i>) 1505 <b>removeSplit</b>(<i>index=-1</i>)
1506
1136 <p> 1507 <p>
1137 Public method used to remove the current split view or a split view 1508 Public method used to remove the current split view or a split view
1138 by index. 1509 by index.
1139 </p><dl> 1510 </p>
1511 <dl>
1512
1140 <dt><i>index</i> (int)</dt> 1513 <dt><i>index</i> (int)</dt>
1141 <dd> 1514 <dd>
1142 index of the split to be removed (-1 means to 1515 index of the split to be removed (-1 means to
1143 delete the current split) 1516 delete the current split)
1144 </dd> 1517 </dd>
1145 </dl><dl> 1518 </dl>
1519 <dl>
1146 <dt>Returns:</dt> 1520 <dt>Returns:</dt>
1147 <dd> 1521 <dd>
1148 flag indicating successful deletion 1522 flag indicating successful deletion
1149 </dd> 1523 </dd>
1150 </dl><dl> 1524 </dl>
1525 <dl>
1151 <dt>Return Type:</dt> 1526 <dt>Return Type:</dt>
1152 <dd> 1527 <dd>
1153 bool 1528 bool
1154 </dd> 1529 </dd>
1155 </dl><a NAME="Tabview.setEditorName" ID="Tabview.setEditorName"></a> 1530 </dl>
1531 <a NAME="Tabview.setEditorName" ID="Tabview.setEditorName"></a>
1156 <h4>Tabview.setEditorName</h4> 1532 <h4>Tabview.setEditorName</h4>
1157 <b>setEditorName</b>(<i>editor, newName</i>) 1533 <b>setEditorName</b>(<i>editor, newName</i>)
1534
1158 <p> 1535 <p>
1159 Public method to change the displayed name of the editor. 1536 Public method to change the displayed name of the editor.
1160 </p><dl> 1537 </p>
1538 <dl>
1539
1161 <dt><i>editor</i> (Editor)</dt> 1540 <dt><i>editor</i> (Editor)</dt>
1162 <dd> 1541 <dd>
1163 editor window to be changed 1542 editor window to be changed
1164 </dd><dt><i>newName</i> (str)</dt> 1543 </dd>
1544 <dt><i>newName</i> (str)</dt>
1165 <dd> 1545 <dd>
1166 new name to be shown 1546 new name to be shown
1167 </dd> 1547 </dd>
1168 </dl><a NAME="Tabview.setSplitCount" ID="Tabview.setSplitCount"></a> 1548 </dl>
1549 <a NAME="Tabview.setSplitCount" ID="Tabview.setSplitCount"></a>
1169 <h4>Tabview.setSplitCount</h4> 1550 <h4>Tabview.setSplitCount</h4>
1170 <b>setSplitCount</b>(<i>count</i>) 1551 <b>setSplitCount</b>(<i>count</i>)
1552
1171 <p> 1553 <p>
1172 Public method to set the number of split views. 1554 Public method to set the number of split views.
1173 </p><dl> 1555 </p>
1556 <dl>
1557
1174 <dt><i>count</i> (int)</dt> 1558 <dt><i>count</i> (int)</dt>
1175 <dd> 1559 <dd>
1176 number of split views 1560 number of split views
1177 </dd> 1561 </dd>
1178 </dl><a NAME="Tabview.setSplitOrientation" ID="Tabview.setSplitOrientation"></a> 1562 </dl>
1563 <a NAME="Tabview.setSplitOrientation" ID="Tabview.setSplitOrientation"></a>
1179 <h4>Tabview.setSplitOrientation</h4> 1564 <h4>Tabview.setSplitOrientation</h4>
1180 <b>setSplitOrientation</b>(<i>orientation</i>) 1565 <b>setSplitOrientation</b>(<i>orientation</i>)
1566
1181 <p> 1567 <p>
1182 Public method used to set the orientation of the split view. 1568 Public method used to set the orientation of the split view.
1183 </p><dl> 1569 </p>
1570 <dl>
1571
1184 <dt><i>orientation</i> (Qt.Horizontal or Qt.Vertical)</dt> 1572 <dt><i>orientation</i> (Qt.Horizontal or Qt.Vertical)</dt>
1185 <dd> 1573 <dd>
1186 orientation of the split 1574 orientation of the split
1187 </dd> 1575 </dd>
1188 </dl><a NAME="Tabview.showWindowMenu" ID="Tabview.showWindowMenu"></a> 1576 </dl>
1577 <a NAME="Tabview.showWindowMenu" ID="Tabview.showWindowMenu"></a>
1189 <h4>Tabview.showWindowMenu</h4> 1578 <h4>Tabview.showWindowMenu</h4>
1190 <b>showWindowMenu</b>(<i>windowMenu</i>) 1579 <b>showWindowMenu</b>(<i>windowMenu</i>)
1580
1191 <p> 1581 <p>
1192 Public method to set up the viewmanager part of the Window menu. 1582 Public method to set up the viewmanager part of the Window menu.
1193 </p><dl> 1583 </p>
1584 <dl>
1585
1194 <dt><i>windowMenu</i> (QMenu)</dt> 1586 <dt><i>windowMenu</i> (QMenu)</dt>
1195 <dd> 1587 <dd>
1196 reference to the window menu 1588 reference to the window menu
1197 </dd> 1589 </dd>
1198 </dl><a NAME="Tabview.splitCount" ID="Tabview.splitCount"></a> 1590 </dl>
1591 <a NAME="Tabview.splitCount" ID="Tabview.splitCount"></a>
1199 <h4>Tabview.splitCount</h4> 1592 <h4>Tabview.splitCount</h4>
1200 <b>splitCount</b>(<i></i>) 1593 <b>splitCount</b>(<i></i>)
1594
1201 <p> 1595 <p>
1202 Public method to get the number of splitted views. 1596 Public method to get the number of splitted views.
1203 </p><dl> 1597 </p>
1598 <dl>
1204 <dt>Returns:</dt> 1599 <dt>Returns:</dt>
1205 <dd> 1600 <dd>
1206 number of splitted views 1601 number of splitted views
1207 </dd> 1602 </dd>
1208 </dl><dl> 1603 </dl>
1604 <dl>
1209 <dt>Return Type:</dt> 1605 <dt>Return Type:</dt>
1210 <dd> 1606 <dd>
1211 int 1607 int
1212 </dd> 1608 </dd>
1213 </dl><a NAME="Tabview.tile" ID="Tabview.tile"></a> 1609 </dl>
1610 <a NAME="Tabview.tile" ID="Tabview.tile"></a>
1214 <h4>Tabview.tile</h4> 1611 <h4>Tabview.tile</h4>
1215 <b>tile</b>(<i></i>) 1612 <b>tile</b>(<i></i>)
1613
1216 <p> 1614 <p>
1217 Public method to tile the managed windows. 1615 Public method to tile the managed windows.
1218 </p> 1616 </p>
1219 <div align="right"><a href="#top">Up</a></div> 1617 <div align="right"><a href="#top">Up</a></div>
1220 <hr /> 1618 <hr />

eric ide

mercurial