Home ⌂Doc Index ◂Up ▴

eric6.VirtualEnv.VirtualenvManagerDialog

Module implementing a dialog to manage the list of defined virtual environments.

Global Attributes

None

Classes

VirtualenvManagerDialog Class implementing a dialog to manage the list of defined virtual environments.

Functions

None


VirtualenvManagerDialog

Class implementing a dialog to manage the list of defined virtual environments.

Derived from

QDialog, Ui_VirtualenvManagerDialog

Class Attributes

ExecPathRole
IsCondaRole
IsGlobalRole
IsRemoteRole
PythonVariantRole

Class Methods

None

Methods

VirtualenvManagerDialog Constructor
__populateVenvList Private method to populate the list of virtual environments.
__resizeSections Private method to resize the sections of the environment list to their contents.
__updateButtons Private method to update the enabled state of the various buttons.
on_addButton_clicked Private slot to add a new entry.
on_deleteAllButton_clicked Private slot to delete all entries from the list and disk.
on_deleteButton_clicked Private slot to delete all selected entries from the list and disk.
on_editButton_clicked Private slot to edit the selected entry.
on_newButton_clicked Private slot to create a new virtual environment.
on_removeAllButton_clicked Private slot to remove all entries from the list but keep their directories.
on_removeButton_clicked Private slot to remove all selected entries from the list but keep their directories.
on_venvList_itemSelectionChanged Private slot handling a change of the selected items.
refresh Public slot to refresh the list of shown items.

Static Methods

None

VirtualenvManagerDialog (Constructor)

VirtualenvManagerDialog(manager, parent=None)

Constructor

manager (VirtualenvManager)
reference to the virtual environment manager
parent (QWidget)
reference to the parent widget

VirtualenvManagerDialog.__populateVenvList

__populateVenvList()

Private method to populate the list of virtual environments.

VirtualenvManagerDialog.__resizeSections

__resizeSections()

Private method to resize the sections of the environment list to their contents.

VirtualenvManagerDialog.__updateButtons

__updateButtons()

Private method to update the enabled state of the various buttons.

VirtualenvManagerDialog.on_addButton_clicked

on_addButton_clicked()

Private slot to add a new entry.

VirtualenvManagerDialog.on_deleteAllButton_clicked

on_deleteAllButton_clicked()

Private slot to delete all entries from the list and disk.

VirtualenvManagerDialog.on_deleteButton_clicked

on_deleteButton_clicked()

Private slot to delete all selected entries from the list and disk.

VirtualenvManagerDialog.on_editButton_clicked

on_editButton_clicked()

Private slot to edit the selected entry.

VirtualenvManagerDialog.on_newButton_clicked

on_newButton_clicked()

Private slot to create a new virtual environment.

VirtualenvManagerDialog.on_removeAllButton_clicked

on_removeAllButton_clicked()

Private slot to remove all entries from the list but keep their directories.

VirtualenvManagerDialog.on_removeButton_clicked

on_removeButton_clicked()

Private slot to remove all selected entries from the list but keep their directories.

VirtualenvManagerDialog.on_venvList_itemSelectionChanged

on_venvList_itemSelectionChanged()

Private slot handling a change of the selected items.

VirtualenvManagerDialog.refresh

refresh()

Public slot to refresh the list of shown items.

Up



Home ⌂Doc Index ◂Up ▴