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.ProjectBrowserPage</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Preferences.ConfigurationPages.ProjectBrowserPage</h1> <p> Module implementing the Project Browser configuration page. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#ProjectBrowserPage">ProjectBrowserPage</a></td> <td>Class implementing the Project Browser 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="ProjectBrowserPage" ID="ProjectBrowserPage"></a> <h2>ProjectBrowserPage</h2> <p> Class implementing the Project Browser configuration page. </p> <h3>Derived from</h3> ConfigurationPageBase, Ui_ProjectBrowserPage <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="#ProjectBrowserPage.__init__">ProjectBrowserPage</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#ProjectBrowserPage.__populateProjectBrowserList">__populateProjectBrowserList</a></td> <td>Private method to populate the project browsers list.</td> </tr> <tr> <td><a href="#ProjectBrowserPage.__setProjectBrowsersList">__setProjectBrowsersList</a></td> <td>Private method to check the project browser entries according to the selected project type.</td> </tr> <tr> <td><a href="#ProjectBrowserPage.__storeProjectBrowsersList">__storeProjectBrowsersList</a></td> <td>Private method to store the list of enabled browsers for the selected project type.</td> </tr> <tr> <td><a href="#ProjectBrowserPage.on_followCursorLineCheckBox_toggled">on_followCursorLineCheckBox_toggled</a></td> <td>Private slot to handle the change of the 'Follow Cursor Line' checkbox.</td> </tr> <tr> <td><a href="#ProjectBrowserPage.on_followEditorCheckBox_toggled">on_followEditorCheckBox_toggled</a></td> <td>Private slot to handle the change of the 'Follow Editor' checkbox.</td> </tr> <tr> <td><a href="#ProjectBrowserPage.on_projectTypeCombo_activated">on_projectTypeCombo_activated</a></td> <td>Private slot to set the browser checkboxes according to the selected project type.</td> </tr> <tr> <td><a href="#ProjectBrowserPage.save">save</a></td> <td>Public slot to save the Project Browser configuration.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="ProjectBrowserPage.__init__" ID="ProjectBrowserPage.__init__"></a> <h4>ProjectBrowserPage (Constructor)</h4> <b>ProjectBrowserPage</b>(<i></i>) <p> Constructor </p> <a NAME="ProjectBrowserPage.__populateProjectBrowserList" ID="ProjectBrowserPage.__populateProjectBrowserList"></a> <h4>ProjectBrowserPage.__populateProjectBrowserList</h4> <b>__populateProjectBrowserList</b>(<i></i>) <p> Private method to populate the project browsers list. </p> <a NAME="ProjectBrowserPage.__setProjectBrowsersList" ID="ProjectBrowserPage.__setProjectBrowsersList"></a> <h4>ProjectBrowserPage.__setProjectBrowsersList</h4> <b>__setProjectBrowsersList</b>(<i>projectType</i>) <p> Private method to check the project browser entries according to the selected project type. </p> <dl> <dt><i>projectType</i> (str)</dt> <dd> selected project type </dd> </dl> <a NAME="ProjectBrowserPage.__storeProjectBrowsersList" ID="ProjectBrowserPage.__storeProjectBrowsersList"></a> <h4>ProjectBrowserPage.__storeProjectBrowsersList</h4> <b>__storeProjectBrowsersList</b>(<i>projectType</i>) <p> Private method to store the list of enabled browsers for the selected project type. </p> <dl> <dt><i>projectType</i> (str)</dt> <dd> type of the selected project </dd> </dl> <a NAME="ProjectBrowserPage.on_followCursorLineCheckBox_toggled" ID="ProjectBrowserPage.on_followCursorLineCheckBox_toggled"></a> <h4>ProjectBrowserPage.on_followCursorLineCheckBox_toggled</h4> <b>on_followCursorLineCheckBox_toggled</b>(<i>checked</i>) <p> Private slot to handle the change of the 'Follow Cursor Line' checkbox. </p> <dl> <dt><i>checked</i> (bool)</dt> <dd> flag indicating the state of the checkbox </dd> </dl> <a NAME="ProjectBrowserPage.on_followEditorCheckBox_toggled" ID="ProjectBrowserPage.on_followEditorCheckBox_toggled"></a> <h4>ProjectBrowserPage.on_followEditorCheckBox_toggled</h4> <b>on_followEditorCheckBox_toggled</b>(<i>checked</i>) <p> Private slot to handle the change of the 'Follow Editor' checkbox. </p> <dl> <dt><i>checked</i> (bool)</dt> <dd> flag indicating the state of the checkbox </dd> </dl> <a NAME="ProjectBrowserPage.on_projectTypeCombo_activated" ID="ProjectBrowserPage.on_projectTypeCombo_activated"></a> <h4>ProjectBrowserPage.on_projectTypeCombo_activated</h4> <b>on_projectTypeCombo_activated</b>(<i>index</i>) <p> Private slot to set the browser checkboxes according to the selected project type. </p> <dl> <dt><i>index</i> (int)</dt> <dd> index of the selected project type </dd> </dl> <a NAME="ProjectBrowserPage.save" ID="ProjectBrowserPage.save"></a> <h4>ProjectBrowserPage.save</h4> <b>save</b>(<i></i>) <p> Public slot to save the Project Browser 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> (ConfigurationDialog)</dt> <dd> reference to the configuration dialog (unused) </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>