Thu, 09 Sep 2021 19:22:12 +0200
Made the height/width of the icons bar configurable.
<!DOCTYPE html> <html><head> <title>eric7.Preferences.ConfigurationPages.InterfacePage</title> <meta charset="UTF-8"> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Preferences.ConfigurationPages.InterfacePage</h1> <p> Module implementing the Interface configuration page. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#InterfacePage">InterfacePage</a></td> <td>Class implementing the Interface configuration page.</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="InterfacePage" ID="InterfacePage"></a> <h2>InterfacePage</h2> <p> Class implementing the Interface configuration page. </p> <h3>Derived from</h3> ConfigurationPageBase, Ui_InterfacePage <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="#InterfacePage.__init__">InterfacePage</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#InterfacePage.__populateLanguageCombo">__populateLanguageCombo</a></td> <td>Private method to initialize the language combo box.</td> </tr> <tr> <td><a href="#InterfacePage.__populateShellPositionCombo">__populateShellPositionCombo</a></td> <td>Private method to initialize the shell position combo box.</td> </tr> <tr> <td><a href="#InterfacePage.__populateStyleCombo">__populateStyleCombo</a></td> <td>Private method to populate the style combo box.</td> </tr> <tr> <td><a href="#InterfacePage.__setIconBarSamples">__setIconBarSamples</a></td> <td>Private slot to set the colors of the icon bar color samples.</td> </tr> <tr> <td><a href="#InterfacePage.on_iconBarButton_clicked">on_iconBarButton_clicked</a></td> <td>Private slot to select the icon bar color.</td> </tr> <tr> <td><a href="#InterfacePage.on_resetLayoutButton_clicked">on_resetLayoutButton_clicked</a></td> <td>Private method to reset layout to factory defaults.</td> </tr> <tr> <td><a href="#InterfacePage.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="InterfacePage.__init__" ID="InterfacePage.__init__"></a> <h4>InterfacePage (Constructor)</h4> <b>InterfacePage</b>(<i></i>) <p> Constructor </p> <a NAME="InterfacePage.__populateLanguageCombo" ID="InterfacePage.__populateLanguageCombo"></a> <h4>InterfacePage.__populateLanguageCombo</h4> <b>__populateLanguageCombo</b>(<i></i>) <p> Private method to initialize the language combo box. </p> <a NAME="InterfacePage.__populateShellPositionCombo" ID="InterfacePage.__populateShellPositionCombo"></a> <h4>InterfacePage.__populateShellPositionCombo</h4> <b>__populateShellPositionCombo</b>(<i></i>) <p> Private method to initialize the shell position combo box. </p> <a NAME="InterfacePage.__populateStyleCombo" ID="InterfacePage.__populateStyleCombo"></a> <h4>InterfacePage.__populateStyleCombo</h4> <b>__populateStyleCombo</b>(<i></i>) <p> Private method to populate the style combo box. </p> <a NAME="InterfacePage.__setIconBarSamples" ID="InterfacePage.__setIconBarSamples"></a> <h4>InterfacePage.__setIconBarSamples</h4> <b>__setIconBarSamples</b>(<i></i>) <p> Private slot to set the colors of the icon bar color samples. </p> <a NAME="InterfacePage.on_iconBarButton_clicked" ID="InterfacePage.on_iconBarButton_clicked"></a> <h4>InterfacePage.on_iconBarButton_clicked</h4> <b>on_iconBarButton_clicked</b>(<i></i>) <p> Private slot to select the icon bar color. </p> <a NAME="InterfacePage.on_resetLayoutButton_clicked" ID="InterfacePage.on_resetLayoutButton_clicked"></a> <h4>InterfacePage.on_resetLayoutButton_clicked</h4> <b>on_resetLayoutButton_clicked</b>(<i></i>) <p> Private method to reset layout to factory defaults. </p> <a NAME="InterfacePage.save" ID="InterfacePage.save"></a> <h4>InterfacePage.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</i>) <p> Module function to create the configuration page. </p> <dl> <dt><i>dlg</i></dt> <dd> reference to the configuration dialog </dd> </dl> <dl> <dt>Return:</dt> <dd> reference to the instantiated page (ConfigurationPageBase) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>