48 <hr /><hr /> |
48 <hr /><hr /> |
49 <a NAME="E5DnDTabBar" ID="E5DnDTabBar"></a> |
49 <a NAME="E5DnDTabBar" ID="E5DnDTabBar"></a> |
50 <h2>E5DnDTabBar</h2> |
50 <h2>E5DnDTabBar</h2> |
51 <p> |
51 <p> |
52 Class implementing a tab bar class substituting QTabBar. |
52 Class implementing a tab bar class substituting QTabBar. |
53 </p><h4>Signals</h4> |
53 </p><h3>Signals</h3> |
54 <dl> |
54 <dl> |
55 <dt>tabMoveRequested(int, int)</dt> |
55 <dt>tabMoveRequested(int, int)</dt> |
56 <dd> |
56 <dd> |
57 emitted to signal a tab move request giving |
57 emitted to signal a tab move request giving |
58 the old and new index position |
58 the old and new index position |
80 <td>Protected method to handle mouse move events.</td> |
84 <td>Protected method to handle mouse move events.</td> |
81 </tr><tr> |
85 </tr><tr> |
82 <td><a href="#E5DnDTabBar.mousePressEvent">mousePressEvent</a></td> |
86 <td><a href="#E5DnDTabBar.mousePressEvent">mousePressEvent</a></td> |
83 <td>Protected method to handle mouse press events.</td> |
87 <td>Protected method to handle mouse press events.</td> |
84 </tr> |
88 </tr> |
|
89 </table> |
|
90 <h3>Static Methods</h3> |
|
91 <table> |
|
92 <tr><td>None</td></tr> |
85 </table> |
93 </table> |
86 <a NAME="E5DnDTabBar.__init__" ID="E5DnDTabBar.__init__"></a> |
94 <a NAME="E5DnDTabBar.__init__" ID="E5DnDTabBar.__init__"></a> |
87 <h4>E5DnDTabBar (Constructor)</h4> |
95 <h4>E5DnDTabBar (Constructor)</h4> |
88 <b>E5DnDTabBar</b>(<i>parent = None</i>) |
96 <b>E5DnDTabBar</b>(<i>parent = None</i>) |
89 <p> |
97 <p> |
141 <p> |
149 <p> |
142 Class implementing a tab widget class substituting QTabWidget. |
150 Class implementing a tab widget class substituting QTabWidget. |
143 </p><p> |
151 </p><p> |
144 It provides slots to show the previous and next tab and give |
152 It provides slots to show the previous and next tab and give |
145 them the input focus and it allows to have a context menu for the tabs. |
153 them the input focus and it allows to have a context menu for the tabs. |
146 </p><h4>Signals</h4> |
154 </p><h3>Signals</h3> |
147 <dl> |
155 <dl> |
148 <dt>customTabContextMenuRequested(const QPoint & point, int index)</dt> |
156 <dt>customTabContextMenuRequested(const QPoint & point, int index)</dt> |
149 <dd> |
157 <dd> |
150 emitted when |
158 emitted when |
151 a context menu for a tab is requested |
159 a context menu for a tab is requested |
197 <td>Public method to set the context menu policy of the tab.</td> |
209 <td>Public method to set the context menu policy of the tab.</td> |
198 </tr><tr> |
210 </tr><tr> |
199 <td><a href="#E5TabWidget.switchTab">switchTab</a></td> |
211 <td><a href="#E5TabWidget.switchTab">switchTab</a></td> |
200 <td>Public slot used to switch between the current and the previous current tab.</td> |
212 <td>Public slot used to switch between the current and the previous current tab.</td> |
201 </tr> |
213 </tr> |
|
214 </table> |
|
215 <h3>Static Methods</h3> |
|
216 <table> |
|
217 <tr><td>None</td></tr> |
202 </table> |
218 </table> |
203 <a NAME="E5TabWidget.__init__" ID="E5TabWidget.__init__"></a> |
219 <a NAME="E5TabWidget.__init__" ID="E5TabWidget.__init__"></a> |
204 <h4>E5TabWidget (Constructor)</h4> |
220 <h4>E5TabWidget (Constructor)</h4> |
205 <b>E5TabWidget</b>(<i>parent = None, dnd = False</i>) |
221 <b>E5TabWidget</b>(<i>parent = None, dnd = False</i>) |
206 <p> |
222 <p> |
349 QTabBar |
365 QTabBar |
350 <h3>Class Attributes</h3> |
366 <h3>Class Attributes</h3> |
351 <table> |
367 <table> |
352 <tr><td>None</td></tr> |
368 <tr><td>None</td></tr> |
353 </table> |
369 </table> |
|
370 <h3>Class Methods</h3> |
|
371 <table> |
|
372 <tr><td>None</td></tr> |
|
373 </table> |
354 <h3>Methods</h3> |
374 <h3>Methods</h3> |
355 <table> |
375 <table> |
356 <tr> |
376 <tr> |
357 <td><a href="#E5WheelTabBar.__init__">E5WheelTabBar</a></td> |
377 <td><a href="#E5WheelTabBar.__init__">E5WheelTabBar</a></td> |
358 <td>Constructor</td> |
378 <td>Constructor</td> |
359 </tr><tr> |
379 </tr><tr> |
360 <td><a href="#E5WheelTabBar.wheelEvent">wheelEvent</a></td> |
380 <td><a href="#E5WheelTabBar.wheelEvent">wheelEvent</a></td> |
361 <td>Protected slot to support wheel events.</td> |
381 <td>Protected slot to support wheel events.</td> |
362 </tr> |
382 </tr> |
|
383 </table> |
|
384 <h3>Static Methods</h3> |
|
385 <table> |
|
386 <tr><td>None</td></tr> |
363 </table> |
387 </table> |
364 <a NAME="E5WheelTabBar.__init__" ID="E5WheelTabBar.__init__"></a> |
388 <a NAME="E5WheelTabBar.__init__" ID="E5WheelTabBar.__init__"></a> |
365 <h4>E5WheelTabBar (Constructor)</h4> |
389 <h4>E5WheelTabBar (Constructor)</h4> |
366 <b>E5WheelTabBar</b>(<i>parent = None</i>) |
390 <b>E5WheelTabBar</b>(<i>parent = None</i>) |
367 <p> |
391 <p> |