Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.WebBrowser.Navigation.ReloadStopButton</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.WebBrowser.Navigation.ReloadStopButton</h1> <p> Module implementing a button alternating between reload and stop. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#ReloadStopButton">ReloadStopButton</a></td> <td>Class implementing a button alternating between reload and stop.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="ReloadStopButton" ID="ReloadStopButton"></a> <h2>ReloadStopButton</h2> <p> Class implementing a button alternating between reload and stop. </p> <h3>Signals</h3> <dl> <dt>reloadClicked()</dt> <dd> emitted to initiate a reload action </dd> <dt>stopClicked()</dt> <dd> emitted to initiate a stop action </dd> </dl> <h3>Derived from</h3> EricToolButton <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="#ReloadStopButton.__init__">ReloadStopButton</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#ReloadStopButton.__buttonClicked">__buttonClicked</a></td> <td>Private slot handling a user clicking the button.</td> </tr> <tr> <td><a href="#ReloadStopButton.__updateButton">__updateButton</a></td> <td>Private slot to update the button.</td> </tr> <tr> <td><a href="#ReloadStopButton.setLoading">setLoading</a></td> <td>Public method to set the loading state.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="ReloadStopButton.__init__" ID="ReloadStopButton.__init__"></a> <h4>ReloadStopButton (Constructor)</h4> <b>ReloadStopButton</b>(<i>parent=None</i>) <p> Constructor </p> <dl> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="ReloadStopButton.__buttonClicked" ID="ReloadStopButton.__buttonClicked"></a> <h4>ReloadStopButton.__buttonClicked</h4> <b>__buttonClicked</b>(<i></i>) <p> Private slot handling a user clicking the button. </p> <a NAME="ReloadStopButton.__updateButton" ID="ReloadStopButton.__updateButton"></a> <h4>ReloadStopButton.__updateButton</h4> <b>__updateButton</b>(<i></i>) <p> Private slot to update the button. </p> <a NAME="ReloadStopButton.setLoading" ID="ReloadStopButton.setLoading"></a> <h4>ReloadStopButton.setLoading</h4> <b>setLoading</b>(<i>loading</i>) <p> Public method to set the loading state. </p> <dl> <dt><i>loading</i> (bool)</dt> <dd> flag indicating the new loading state </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>