Mon, 09 Jan 2023 11:22:56 +0100
Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.
<!DOCTYPE html> <html><head> <title>eric7.EricWidgets.EricLineEditButton</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.EricWidgets.EricLineEditButton</h1> <p> Module implementing a button class to be used with EricLineEdit. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#EricLineEditButton">EricLineEditButton</a></td> <td>Class implementing a button to be used with EricLineEdit.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="EricLineEditButton" ID="EricLineEditButton"></a> <h2>EricLineEditButton</h2> <p> Class implementing a button to be used with EricLineEdit. </p> <h3>Derived from</h3> QAbstractButton <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#EricLineEditButton.__init__">EricLineEditButton</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#EricLineEditButton.__clicked">__clicked</a></td> <td>Private slot to handle a button click.</td> </tr> <tr> <td><a href="#EricLineEditButton.menu">menu</a></td> <td>Public method to get a reference to the menu.</td> </tr> <tr> <td><a href="#EricLineEditButton.paintEvent">paintEvent</a></td> <td>Protected method handling a paint event.</td> </tr> <tr> <td><a href="#EricLineEditButton.setIcon">setIcon</a></td> <td>Public method to set the button icon.</td> </tr> <tr> <td><a href="#EricLineEditButton.setMenu">setMenu</a></td> <td>Public method to set the button menu.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="EricLineEditButton.__init__" ID="EricLineEditButton.__init__"></a> <h4>EricLineEditButton (Constructor)</h4> <b>EricLineEditButton</b>(<i>parent=None</i>) <p> Constructor </p> <dl> <dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl> <a NAME="EricLineEditButton.__clicked" ID="EricLineEditButton.__clicked"></a> <h4>EricLineEditButton.__clicked</h4> <b>__clicked</b>(<i></i>) <p> Private slot to handle a button click. </p> <a NAME="EricLineEditButton.menu" ID="EricLineEditButton.menu"></a> <h4>EricLineEditButton.menu</h4> <b>menu</b>(<i></i>) <p> Public method to get a reference to the menu. </p> <dl> <dt>Return:</dt> <dd> reference to the associated menu (QMenu) </dd> </dl> <a NAME="EricLineEditButton.paintEvent" ID="EricLineEditButton.paintEvent"></a> <h4>EricLineEditButton.paintEvent</h4> <b>paintEvent</b>(<i>evt</i>) <p> Protected method handling a paint event. </p> <dl> <dt><i>evt</i></dt> <dd> reference to the paint event (QPaintEvent) </dd> </dl> <a NAME="EricLineEditButton.setIcon" ID="EricLineEditButton.setIcon"></a> <h4>EricLineEditButton.setIcon</h4> <b>setIcon</b>(<i>icon</i>) <p> Public method to set the button icon. </p> <dl> <dt><i>icon</i></dt> <dd> icon to be set (QIcon) </dd> </dl> <a NAME="EricLineEditButton.setMenu" ID="EricLineEditButton.setMenu"></a> <h4>EricLineEditButton.setMenu</h4> <b>setMenu</b>(<i>menu</i>) <p> Public method to set the button menu. </p> <dl> <dt><i>menu</i></dt> <dd> reference to the menu (QMenu) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>