100 <tr> |
100 <tr> |
101 <td><a href="#EricSideBar.addTab">addTab</a></td> |
101 <td><a href="#EricSideBar.addTab">addTab</a></td> |
102 <td>Public method to add a tab to the sidebar.</td> |
102 <td>Public method to add a tab to the sidebar.</td> |
103 </tr> |
103 </tr> |
104 <tr> |
104 <tr> |
|
105 <td><a href="#EricSideBar.barSize">barSize</a></td> |
|
106 <td>Public method to get the icon bar size.</td> |
|
107 </tr> |
|
108 <tr> |
105 <td><a href="#EricSideBar.clear">clear</a></td> |
109 <td><a href="#EricSideBar.clear">clear</a></td> |
106 <td>Public method to remove all tabs.</td> |
110 <td>Public method to remove all tabs.</td> |
107 </tr> |
111 </tr> |
108 <tr> |
112 <tr> |
109 <td><a href="#EricSideBar.count">count</a></td> |
113 <td><a href="#EricSideBar.count">count</a></td> |
168 <tr> |
172 <tr> |
169 <td><a href="#EricSideBar.setIconBarColor">setIconBarColor</a></td> |
173 <td><a href="#EricSideBar.setIconBarColor">setIconBarColor</a></td> |
170 <td>Public method to set the icon bar color.</td> |
174 <td>Public method to set the icon bar color.</td> |
171 </tr> |
175 </tr> |
172 <tr> |
176 <tr> |
|
177 <td><a href="#EricSideBar.setIconBarSize">setIconBarSize</a></td> |
|
178 <td>Public method to set the icon bar size.</td> |
|
179 </tr> |
|
180 <tr> |
173 <td><a href="#EricSideBar.setOrientation">setOrientation</a></td> |
181 <td><a href="#EricSideBar.setOrientation">setOrientation</a></td> |
174 <td>Public method to set the orientation of the sidebar.</td> |
182 <td>Public method to set the orientation of the sidebar.</td> |
175 </tr> |
183 </tr> |
176 <tr> |
184 <tr> |
177 <td><a href="#EricSideBar.setSplitter">setSplitter</a></td> |
185 <td><a href="#EricSideBar.setSplitter">setSplitter</a></td> |
188 <tr><td>None</td></tr> |
196 <tr><td>None</td></tr> |
189 </table> |
197 </table> |
190 |
198 |
191 <a NAME="EricSideBar.__init__" ID="EricSideBar.__init__"></a> |
199 <a NAME="EricSideBar.__init__" ID="EricSideBar.__init__"></a> |
192 <h4>EricSideBar (Constructor)</h4> |
200 <h4>EricSideBar (Constructor)</h4> |
193 <b>EricSideBar</b>(<i>orientation=None, parent=None</i>) |
201 <b>EricSideBar</b>(<i>orientation=None, iconBarSize=EricIconBar.DefaultBarSize, parent=None</i>) |
194 |
202 |
195 <p> |
203 <p> |
196 Constructor |
204 Constructor |
197 </p> |
205 </p> |
198 <dl> |
206 <dl> |
199 |
207 |
200 <dt><i>orientation</i> (EricSideBarSide)</dt> |
208 <dt><i>orientation</i> (EricSideBarSide)</dt> |
201 <dd> |
209 <dd> |
202 orientation of the sidebar widget |
210 orientation of the sidebar widget |
|
211 </dd> |
|
212 <dt><i>iconBarSize</i> (str)</dt> |
|
213 <dd> |
|
214 size category for the bar (one of 'xs', 'sm', 'md', |
|
215 'lg', 'xl', 'xxl') |
203 </dd> |
216 </dd> |
204 <dt><i>parent</i> (QWidget)</dt> |
217 <dt><i>parent</i> (QWidget)</dt> |
205 <dd> |
218 <dd> |
206 parent widget |
219 parent widget |
207 </dd> |
220 </dd> |
277 |
290 |
278 <dt><i>widget</i> (QWidget)</dt> |
291 <dt><i>widget</i> (QWidget)</dt> |
279 <dd> |
292 <dd> |
280 reference to the widget to add |
293 reference to the widget to add |
281 </dd> |
294 </dd> |
282 <dt><i>icon</i> (QIcon or QPixmap)</dt> |
295 <dt><i>icon</i> (QIcon)</dt> |
283 <dd> |
296 <dd> |
284 reference to the icon of the widget |
297 reference to the icon of the widget |
285 </dd> |
298 </dd> |
286 <dt><i>label</i> (str)</dt> |
299 <dt><i>label</i> (str)</dt> |
287 <dd> |
300 <dd> |
288 the label text of the widget |
301 the label text of the widget |
|
302 </dd> |
|
303 </dl> |
|
304 <a NAME="EricSideBar.barSize" ID="EricSideBar.barSize"></a> |
|
305 <h4>EricSideBar.barSize</h4> |
|
306 <b>barSize</b>(<i></i>) |
|
307 |
|
308 <p> |
|
309 Public method to get the icon bar size. |
|
310 </p> |
|
311 <dl> |
|
312 <dt>Return:</dt> |
|
313 <dd> |
|
314 barSize size category for the bar (one of 'xs', 'sm', 'md', |
|
315 'lg', 'xl', 'xxl') |
|
316 </dd> |
|
317 </dl> |
|
318 <dl> |
|
319 <dt>Return Type:</dt> |
|
320 <dd> |
|
321 str |
289 </dd> |
322 </dd> |
290 </dl> |
323 </dl> |
291 <a NAME="EricSideBar.clear" ID="EricSideBar.clear"></a> |
324 <a NAME="EricSideBar.clear" ID="EricSideBar.clear"></a> |
292 <h4>EricSideBar.clear</h4> |
325 <h4>EricSideBar.clear</h4> |
293 <b>clear</b>(<i></i>) |
326 <b>clear</b>(<i></i>) |
388 </dd> |
421 </dd> |
389 <dt><i>widget</i> (QWidget)</dt> |
422 <dt><i>widget</i> (QWidget)</dt> |
390 <dd> |
423 <dd> |
391 reference to the widget to insert |
424 reference to the widget to insert |
392 </dd> |
425 </dd> |
393 <dt><i>icon</i> (QIcon or QPixmap)</dt> |
426 <dt><i>icon</i> (QIcon)</dt> |
394 <dd> |
427 <dd> |
395 reference to the icon of the widget |
428 reference to the icon of the widget |
396 </dd> |
429 </dd> |
397 <dt><i>label</i> (str)</dt> |
430 <dt><i>label</i> (str)</dt> |
398 <dd> |
431 <dd> |
531 <dl> |
564 <dl> |
532 |
565 |
533 <dt><i>color</i> (QColor)</dt> |
566 <dt><i>color</i> (QColor)</dt> |
534 <dd> |
567 <dd> |
535 icon bar color |
568 icon bar color |
|
569 </dd> |
|
570 </dl> |
|
571 <a NAME="EricSideBar.setIconBarSize" ID="EricSideBar.setIconBarSize"></a> |
|
572 <h4>EricSideBar.setIconBarSize</h4> |
|
573 <b>setIconBarSize</b>(<i>barSize</i>) |
|
574 |
|
575 <p> |
|
576 Public method to set the icon bar size. |
|
577 </p> |
|
578 <dl> |
|
579 |
|
580 <dt><i>barSize</i> (str)</dt> |
|
581 <dd> |
|
582 size category for the bar (one of 'xs', 'sm', 'md', |
|
583 'lg', 'xl', 'xxl') |
536 </dd> |
584 </dd> |
537 </dl> |
585 </dl> |
538 <a NAME="EricSideBar.setOrientation" ID="EricSideBar.setOrientation"></a> |
586 <a NAME="EricSideBar.setOrientation" ID="EricSideBar.setOrientation"></a> |
539 <h4>EricSideBar.setOrientation</h4> |
587 <h4>EricSideBar.setOrientation</h4> |
540 <b>setOrientation</b>(<i>orient</i>) |
588 <b>setOrientation</b>(<i>orient</i>) |