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.Preferences.ConfigurationPages.InterfaceLightPage</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Preferences.ConfigurationPages.InterfaceLightPage</h1> <p> Module implementing the Interface configuration page (variant for web browser). </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#InterfaceLightPage">InterfaceLightPage</a></td> <td>Class implementing the Interface configuration page (variant for generic use).</td> </tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#create">create</a></td> <td>Module function to create the configuration page.</td> </tr> </table> <hr /> <hr /> <a NAME="InterfaceLightPage" ID="InterfaceLightPage"></a> <h2>InterfaceLightPage</h2> <p> Class implementing the Interface configuration page (variant for generic use). </p> <h3>Derived from</h3> ConfigurationPageBase, Ui_InterfaceLightPage <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="#InterfaceLightPage.__init__">InterfaceLightPage</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#InterfaceLightPage.__populateLanguageCombo">__populateLanguageCombo</a></td> <td>Private method to initialize the language combo box.</td> </tr> <tr> <td><a href="#InterfaceLightPage.__populateStyleCombo">__populateStyleCombo</a></td> <td>Private method to populate the style combo box.</td> </tr> <tr> <td><a href="#InterfaceLightPage.__setIconBarSamples">__setIconBarSamples</a></td> <td>Private slot to set the colors of the icon bar color samples.</td> </tr> <tr> <td><a href="#InterfaceLightPage.on_iconBarButton_clicked">on_iconBarButton_clicked</a></td> <td>Private slot to select the icon bar color.</td> </tr> <tr> <td><a href="#InterfaceLightPage.save">save</a></td> <td>Public slot to save the Interface configuration.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="InterfaceLightPage.__init__" ID="InterfaceLightPage.__init__"></a> <h4>InterfaceLightPage (Constructor)</h4> <b>InterfaceLightPage</b>(<i>withSidebars=False</i>) <p> Constructor </p> <dl> <dt><i>withSidebars</i> (bool (optional))</dt> <dd> flag indicating to show the sidebars configuration group (defaults to False) </dd> </dl> <a NAME="InterfaceLightPage.__populateLanguageCombo" ID="InterfaceLightPage.__populateLanguageCombo"></a> <h4>InterfaceLightPage.__populateLanguageCombo</h4> <b>__populateLanguageCombo</b>(<i></i>) <p> Private method to initialize the language combo box. </p> <a NAME="InterfaceLightPage.__populateStyleCombo" ID="InterfaceLightPage.__populateStyleCombo"></a> <h4>InterfaceLightPage.__populateStyleCombo</h4> <b>__populateStyleCombo</b>(<i></i>) <p> Private method to populate the style combo box. </p> <a NAME="InterfaceLightPage.__setIconBarSamples" ID="InterfaceLightPage.__setIconBarSamples"></a> <h4>InterfaceLightPage.__setIconBarSamples</h4> <b>__setIconBarSamples</b>(<i></i>) <p> Private slot to set the colors of the icon bar color samples. </p> <a NAME="InterfaceLightPage.on_iconBarButton_clicked" ID="InterfaceLightPage.on_iconBarButton_clicked"></a> <h4>InterfaceLightPage.on_iconBarButton_clicked</h4> <b>on_iconBarButton_clicked</b>(<i></i>) <p> Private slot to select the icon bar color. </p> <a NAME="InterfaceLightPage.save" ID="InterfaceLightPage.save"></a> <h4>InterfaceLightPage.save</h4> <b>save</b>(<i></i>) <p> Public slot to save the Interface configuration. </p> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="create" ID="create"></a> <h2>create</h2> <b>create</b>(<i>_dlg, withSidebars=False</i>) <p> Module function to create the configuration page. </p> <dl> <dt><i>_dlg</i> (ConfigurationDialog)</dt> <dd> reference to the configuration dialog (unused) </dd> <dt><i>withSidebars</i> (bool (optional))</dt> <dd> flag indicating to show the sidebars configuration group (defaults to False) </dd> </dl> <dl> <dt>Return:</dt> <dd> reference to the instantiated page </dd> </dl> <dl> <dt>Return Type:</dt> <dd> ConfigurationPageBase </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>