eric7.PipInterface.PipLicensesDialog
Module implementing a dialog to show the licenses of an environment.
Global Attributes
Classes
PipLicensesDialog |
Class implementing a dialog to show the licenses of an environment. |
Functions
PipLicensesDialog
Class implementing a dialog to show the licenses of an environment.
Derived from
QDialog, Ui_PipLicensesDialog
Class Attributes
LicensesLicenseColumn |
LicensesPackageColumn |
LicensesVersionColumn |
SummaryCountColumn |
SummaryLicenseColumn |
Class Methods
Methods
Static Methods
PipLicensesDialog (Constructor)
PipLicensesDialog(pip, environment, localPackages=True, usersite=False, parent=None)
Constructor
- pip (Pip)
-
reference to the pip interface object
- environment (str)
-
name of the environment to show the licenses for
- localPackages (bool)
-
flag indicating to show the licenses for local
packages only
- usersite (bool)
-
flag indicating to show the licenses for packages
installed in user-site directory only
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
PipLicensesDialog.__filterPackagesByLicense
__filterPackagesByLicense(licenseName)
Private slot to filter the list of packages by license.
- licenseName (str)
-
license name
PipLicensesDialog.__refreshLicenses
__refreshLicenses()
Private slot to refresh the license lists.
PipLicensesDialog.__saveAsCSV
__saveAsCSV()
Private slot to save the license information as a CSV file.