eric7/Documentation/Source/eric7.EricWidgets.EricSideBar.html

branch
eric7
changeset 8587
78971b458d25
parent 8583
aac629a05f8b
child 8596
d64760b2da50
--- a/eric7/Documentation/Source/eric7.EricWidgets.EricSideBar.html	Thu Sep 09 19:04:53 2021 +0200
+++ b/eric7/Documentation/Source/eric7.EricWidgets.EricSideBar.html	Thu Sep 09 19:22:12 2021 +0200
@@ -102,6 +102,10 @@
 <td>Public method to add a tab to the sidebar.</td>
 </tr>
 <tr>
+<td><a href="#EricSideBar.barSize">barSize</a></td>
+<td>Public method to get the icon bar size.</td>
+</tr>
+<tr>
 <td><a href="#EricSideBar.clear">clear</a></td>
 <td>Public method to remove all tabs.</td>
 </tr>
@@ -170,6 +174,10 @@
 <td>Public method to set the icon bar color.</td>
 </tr>
 <tr>
+<td><a href="#EricSideBar.setIconBarSize">setIconBarSize</a></td>
+<td>Public method to set the icon bar size.</td>
+</tr>
+<tr>
 <td><a href="#EricSideBar.setOrientation">setOrientation</a></td>
 <td>Public method to set the orientation of the sidebar.</td>
 </tr>
@@ -190,7 +198,7 @@
 
 <a NAME="EricSideBar.__init__" ID="EricSideBar.__init__"></a>
 <h4>EricSideBar (Constructor)</h4>
-<b>EricSideBar</b>(<i>orientation=None, parent=None</i>)
+<b>EricSideBar</b>(<i>orientation=None, iconBarSize=EricIconBar.DefaultBarSize, parent=None</i>)
 
 <p>
         Constructor
@@ -201,6 +209,11 @@
 <dd>
 orientation of the sidebar widget
 </dd>
+<dt><i>iconBarSize</i> (str)</dt>
+<dd>
+size category for the bar (one of 'xs', 'sm', 'md',
+            'lg', 'xl', 'xxl')
+</dd>
 <dt><i>parent</i> (QWidget)</dt>
 <dd>
 parent widget
@@ -279,7 +292,7 @@
 <dd>
 reference to the widget to add
 </dd>
-<dt><i>icon</i> (QIcon or QPixmap)</dt>
+<dt><i>icon</i> (QIcon)</dt>
 <dd>
 reference to the icon of the widget
 </dd>
@@ -288,6 +301,26 @@
 the label text of the widget
 </dd>
 </dl>
+<a NAME="EricSideBar.barSize" ID="EricSideBar.barSize"></a>
+<h4>EricSideBar.barSize</h4>
+<b>barSize</b>(<i></i>)
+
+<p>
+        Public method to get the icon bar size.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+barSize size category for the bar (one of 'xs', 'sm', 'md',
+            'lg', 'xl', 'xxl')
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
 <a NAME="EricSideBar.clear" ID="EricSideBar.clear"></a>
 <h4>EricSideBar.clear</h4>
 <b>clear</b>(<i></i>)
@@ -390,7 +423,7 @@
 <dd>
 reference to the widget to insert
 </dd>
-<dt><i>icon</i> (QIcon or QPixmap)</dt>
+<dt><i>icon</i> (QIcon)</dt>
 <dd>
 reference to the icon of the widget
 </dd>
@@ -535,6 +568,21 @@
 icon bar color
 </dd>
 </dl>
+<a NAME="EricSideBar.setIconBarSize" ID="EricSideBar.setIconBarSize"></a>
+<h4>EricSideBar.setIconBarSize</h4>
+<b>setIconBarSize</b>(<i>barSize</i>)
+
+<p>
+        Public method to set the icon bar size.
+</p>
+<dl>
+
+<dt><i>barSize</i> (str)</dt>
+<dd>
+size category for the bar (one of 'xs', 'sm', 'md',
+            'lg', 'xl', 'xxl')
+</dd>
+</dl>
 <a NAME="EricSideBar.setOrientation" ID="EricSideBar.setOrientation"></a>
 <h4>EricSideBar.setOrientation</h4>
 <b>setOrientation</b>(<i>orient</i>)

eric ide

mercurial