1822 """ |
1822 """ |
1823 # TODO: not yet implemented |
1823 # TODO: not yet implemented |
1824 from .PipLicensesDialog import PipLicensesDialog |
1824 from .PipLicensesDialog import PipLicensesDialog |
1825 |
1825 |
1826 environment = self.environmentsComboBox.currentText() |
1826 environment = self.environmentsComboBox.currentText() |
1827 dlg = PipLicensesDialog(self.__pip, environment, self) |
1827 localPackages = ( |
|
1828 self.localDepCheckBox.isChecked() |
|
1829 if self.viewToggleButton.isChecked() else |
|
1830 self.localCheckBox.isChecked() |
|
1831 ) |
|
1832 usersite = ( |
|
1833 self.userDepCheckBox.isChecked() |
|
1834 if self.viewToggleButton.isChecked() else |
|
1835 self.userCheckBox.isChecked() |
|
1836 ) |
|
1837 dlg = PipLicensesDialog( |
|
1838 self.__pip, |
|
1839 environment, |
|
1840 localPackages=localPackages, |
|
1841 usersite=usersite, |
|
1842 parent=self |
|
1843 ) |
1828 dlg.exec() |
1844 dlg.exec() |