eric6.VirtualEnv.VirtualenvNameDialog
Module implementing a dialog to enter the logical name for a new virtual
environment.
Global Attributes
Classes
VirtualenvNameDialog |
Class implementing a dialog to enter the logical name for a new virtual environment. |
Functions
VirtualenvNameDialog
Class implementing a dialog to enter the logical name for a new virtual
environment.
Derived from
QDialog, Ui_VirtualenvNameDialog
Class Attributes
Class Methods
Methods
Static Methods
VirtualenvNameDialog (Constructor)
VirtualenvNameDialog(environments, currentName, parent=None)
Constructor
- environments (list of str)
-
list of environment names to be shown
- currentName (str)
-
name to be shown in the name edit
- parent (QWidget)
-
reference to the parent widget
VirtualenvNameDialog.getName
getName()
Public method to get the entered name.
- Returns:
-
name for the environment
- Return Type:
-
str
VirtualenvNameDialog.on_nameEdit_textChanged
on_nameEdit_textChanged(txt)
Private slot to handle a change of the environment name.
- txt (str)
-
contens of the name edit