38 self.setWindowTitle(title) |
38 self.setWindowTitle(title) |
39 |
39 |
40 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
40 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
41 |
41 |
42 self.venvComboBox.addItem(pip.getDefaultEnvironmentString()) |
42 self.venvComboBox.addItem(pip.getDefaultEnvironmentString()) |
43 projectVenv = self.__pip.getProjectEnvironmentString() |
43 projectVenv = pip.getProjectEnvironmentString() |
44 if projectVenv: |
44 if projectVenv: |
45 self.venvComboBox.addItem(projectVenv) |
45 self.venvComboBox.addItem(projectVenv) |
46 self.venvComboBox.addItems(pip.getVirtualenvNames()) |
46 self.venvComboBox.addItems(pip.getVirtualenvNames()) |
47 |
47 |
48 self.userCheckBox.setVisible(install) |
48 self.userCheckBox.setVisible(install) |