--- a/src/eric7/Documentation/Source/eric7.EricWidgets.EricIconBar.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.EricWidgets.EricIconBar.html Thu Jan 04 18:02:25 2024 +0100 @@ -7,37 +7,36 @@ <body> <a NAME="top" ID="top"></a> <h1>eric7.EricWidgets.EricIconBar</h1> - <p> Module implementing a bar widget showing just icons. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#EricIconBar">EricIconBar</a></td> <td>Class implementing a bar widget showing just icons.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="EricIconBar" ID="EricIconBar"></a> <h2>EricIconBar</h2> - <p> Class implementing a bar widget showing just icons. </p> + <h3>Signals</h3> <dl> @@ -60,19 +59,22 @@ <h3>Derived from</h3> QWidget <h3>Class Attributes</h3> +<table> +<tr><td>BarSizes</td></tr> +<tr><td>DefaultBarSize</td></tr> +<tr><td>LabelStyleSheetTemplate</td></tr> +<tr><td>MenuStyleSheetTemplate</td></tr> +<tr><td>MoreLabelAspect</td></tr> +<tr><td>WidgetStyleSheetTemplate</td></tr> +</table> -<table> -<tr><td>BarSizes</td></tr><tr><td>DefaultBarSize</td></tr><tr><td>LabelStyleSheetTemplate</td></tr><tr><td>MenuStyleSheetTemplate</td></tr><tr><td>MoreLabelAspect</td></tr><tr><td>WidgetStyleSheetTemplate</td></tr> -</table> <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#EricIconBar.__init__">EricIconBar</a></td> <td>Constructor</td> @@ -166,19 +168,20 @@ <td>Protected method to handle a wheel event.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="EricIconBar.__init__" ID="EricIconBar.__init__"></a> <h4>EricIconBar (Constructor)</h4> <b>EricIconBar</b>(<i>orientation=Qt.Orientation.Horizontal, barSize=DefaultBarSize, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>orientation</i> (Qt.Orientation)</dt> @@ -198,24 +201,24 @@ <a NAME="EricIconBar.__adjustIconLabels" ID="EricIconBar.__adjustIconLabels"></a> <h4>EricIconBar.__adjustIconLabels</h4> <b>__adjustIconLabels</b>(<i></i>) - <p> Private method to adjust the visibility of the icon labels. </p> + <a NAME="EricIconBar.__createAndAddMoreLabel" ID="EricIconBar.__createAndAddMoreLabel"></a> <h4>EricIconBar.__createAndAddMoreLabel</h4> <b>__createAndAddMoreLabel</b>(<i></i>) - <p> Private method to create the label to be shown for too many icons. </p> + <a NAME="EricIconBar.__createIcon" ID="EricIconBar.__createIcon"></a> <h4>EricIconBar.__createIcon</h4> <b>__createIcon</b>(<i>icon, label=""</i>) - <p> Private method to creat an icon label. </p> + <dl> <dt><i>icon</i> (QIcon)</dt> @@ -242,10 +245,10 @@ <a NAME="EricIconBar.__iconClicked" ID="EricIconBar.__iconClicked"></a> <h4>EricIconBar.__iconClicked</h4> <b>__iconClicked</b>(<i>label</i>) - <p> Private slot to handle an icon been clicked. </p> + <dl> <dt><i>label</i> (EricClickableLabel)</dt> @@ -256,17 +259,17 @@ <a NAME="EricIconBar.__moreLabelClicked" ID="EricIconBar.__moreLabelClicked"></a> <h4>EricIconBar.__moreLabelClicked</h4> <b>__moreLabelClicked</b>(<i></i>) - <p> Private slot to handle a click onto the 'More' label. </p> + <a NAME="EricIconBar.addIcon" ID="EricIconBar.addIcon"></a> <h4>EricIconBar.addIcon</h4> <b>addIcon</b>(<i>icon, label=""</i>) - <p> Public method to add an icon to the bar. </p> + <dl> <dt><i>icon</i> (QIcon)</dt> @@ -281,10 +284,10 @@ <a NAME="EricIconBar.barSize" ID="EricIconBar.barSize"></a> <h4>EricIconBar.barSize</h4> <b>barSize</b>(<i></i>) - <p> Public method to get the icon bar size. </p> + <dl> <dt>Return:</dt> <dd> @@ -301,10 +304,10 @@ <a NAME="EricIconBar.color" ID="EricIconBar.color"></a> <h4>EricIconBar.color</h4> <b>color</b>(<i></i>) - <p> Public method to return the current color. </p> + <dl> <dt>Return:</dt> <dd> @@ -320,10 +323,10 @@ <a NAME="EricIconBar.count" ID="EricIconBar.count"></a> <h4>EricIconBar.count</h4> <b>count</b>(<i></i>) - <p> Public method to get the number of icon labels. </p> + <dl> <dt>Return:</dt> <dd> @@ -339,10 +342,10 @@ <a NAME="EricIconBar.currentIndex" ID="EricIconBar.currentIndex"></a> <h4>EricIconBar.currentIndex</h4> <b>currentIndex</b>(<i></i>) - <p> Public method to get the current index. </p> + <dl> <dt>Return:</dt> <dd> @@ -358,10 +361,10 @@ <a NAME="EricIconBar.insertIcon" ID="EricIconBar.insertIcon"></a> <h4>EricIconBar.insertIcon</h4> <b>insertIcon</b>(<i>index, icon, label=""</i>) - <p> Public method to insert an icon into the bar. </p> + <dl> <dt><i>index</i> (int)</dt> @@ -380,10 +383,10 @@ <a NAME="EricIconBar.mouseReleaseEvent" ID="EricIconBar.mouseReleaseEvent"></a> <h4>EricIconBar.mouseReleaseEvent</h4> <b>mouseReleaseEvent</b>(<i>evt</i>) - <p> Protected method to handle a click on the empty space. </p> + <dl> <dt><i>evt</i> (QMouseEvent)</dt> @@ -394,17 +397,17 @@ <a NAME="EricIconBar.nextIcon" ID="EricIconBar.nextIcon"></a> <h4>EricIconBar.nextIcon</h4> <b>nextIcon</b>(<i></i>) - <p> Public slot to set the icon after the current one. </p> + <a NAME="EricIconBar.orientation" ID="EricIconBar.orientation"></a> <h4>EricIconBar.orientation</h4> <b>orientation</b>(<i></i>) - <p> Public method to get the orientation of the widget. </p> + <dl> <dt>Return:</dt> <dd> @@ -420,17 +423,17 @@ <a NAME="EricIconBar.previousIcon" ID="EricIconBar.previousIcon"></a> <h4>EricIconBar.previousIcon</h4> <b>previousIcon</b>(<i></i>) - <p> Public slot to set the icon before the current one. </p> + <a NAME="EricIconBar.removeIcon" ID="EricIconBar.removeIcon"></a> <h4>EricIconBar.removeIcon</h4> <b>removeIcon</b>(<i>index</i>) - <p> Public method to remove an icon from the bar. </p> + <dl> <dt><i>index</i> (int)</dt> @@ -441,10 +444,10 @@ <a NAME="EricIconBar.resizeEvent" ID="EricIconBar.resizeEvent"></a> <h4>EricIconBar.resizeEvent</h4> <b>resizeEvent</b>(<i>evt</i>) - <p> Protected method to handle resizing of the icon bar. </p> + <dl> <dt><i>evt</i> (QResizeEvent)</dt> @@ -455,10 +458,10 @@ <a NAME="EricIconBar.setBarSize" ID="EricIconBar.setBarSize"></a> <h4>EricIconBar.setBarSize</h4> <b>setBarSize</b>(<i>barSize</i>) - <p> Public method to set the icon bar size. </p> + <dl> <dt><i>barSize</i> (str)</dt> @@ -470,10 +473,10 @@ <a NAME="EricIconBar.setColor" ID="EricIconBar.setColor"></a> <h4>EricIconBar.setColor</h4> <b>setColor</b>(<i>color</i>) - <p> Public method to set the color of the widget. </p> + <dl> <dt><i>color</i> (QColor)</dt> @@ -484,10 +487,10 @@ <a NAME="EricIconBar.setCurrentIndex" ID="EricIconBar.setCurrentIndex"></a> <h4>EricIconBar.setCurrentIndex</h4> <b>setCurrentIndex</b>(<i>index</i>) - <p> Public method to set the current index. </p> + <dl> <dt><i>index</i> (int)</dt> @@ -498,10 +501,10 @@ <a NAME="EricIconBar.setOrientation" ID="EricIconBar.setOrientation"></a> <h4>EricIconBar.setOrientation</h4> <b>setOrientation</b>(<i>orientation</i>) - <p> Public method to set the widget orientation. </p> + <dl> <dt><i>orientation</i> (Qt.Orientation)</dt> @@ -512,10 +515,10 @@ <a NAME="EricIconBar.wheelEvent" ID="EricIconBar.wheelEvent"></a> <h4>EricIconBar.wheelEvent</h4> <b>wheelEvent</b>(<i>evt</i>) - <p> Protected method to handle a wheel event. </p> + <dl> <dt><i>evt</i> (QWheelEvent)</dt> @@ -525,4 +528,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>