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.VirtualEnv.VirtualenvInterpreterSelectionDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog</h1> <p> Module implementing a dialog to enter the interpreter for a virtual environment. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td> <td>Class implementing a dialog to enter the interpreter for a virtual environment.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a> <h2>VirtualenvInterpreterSelectionDialog</h2> <p> Class implementing a dialog to enter the interpreter for a virtual environment. </p> <h3>Derived from</h3> QDialog, Ui_VirtualenvInterpreterSelectionDialog <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="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#VirtualenvInterpreterSelectionDialog.__updateOK">__updateOK</a></td> <td>Private method to update the enabled status of the OK button.</td> </tr> <tr> <td><a href="#VirtualenvInterpreterSelectionDialog.getData">getData</a></td> <td>Public method to get the entered data.</td> </tr> <tr> <td><a href="#VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td> <td>Private slot to handle changes of the entered Python interpreter path.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a> <h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4> <b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>) <p> Constructor </p> <dl> <dt><i>venvName</i> (str)</dt> <dd> name for the virtual environment </dd> <dt><i>venvDirectory</i> (str)</dt> <dd> directory of the virtual environment </dd> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a> <h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4> <b>__updateOK</b>(<i></i>) <p> Private method to update the enabled status of the OK button. </p> <a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a> <h4>VirtualenvInterpreterSelectionDialog.getData</h4> <b>getData</b>(<i></i>) <p> Public method to get the entered data. </p> <dl> <dt>Return:</dt> <dd> path of the selected Python interpreter </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a> <h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4> <b>on_pythonExecPicker_textChanged</b>(<i>_txt</i>) <p> Private slot to handle changes of the entered Python interpreter path. </p> <dl> <dt><i>_txt</i> (str)</dt> <dd> entered Python interpreter path (unused) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>