|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/VirtualEnv/VirtualenvUpgradeConfigurationDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_VirtualenvUpgradeConfigurationDialog(object): |
|
13 def setupUi(self, VirtualenvUpgradeConfigurationDialog): |
|
14 VirtualenvUpgradeConfigurationDialog.setObjectName("VirtualenvUpgradeConfigurationDialog") |
|
15 VirtualenvUpgradeConfigurationDialog.resize(700, 311) |
|
16 VirtualenvUpgradeConfigurationDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(VirtualenvUpgradeConfigurationDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.groupBox_3 = QtWidgets.QGroupBox(parent=VirtualenvUpgradeConfigurationDialog) |
|
20 self.groupBox_3.setObjectName("groupBox_3") |
|
21 self.gridLayout = QtWidgets.QGridLayout(self.groupBox_3) |
|
22 self.gridLayout.setObjectName("gridLayout") |
|
23 self.label_2 = QtWidgets.QLabel(parent=self.groupBox_3) |
|
24 self.label_2.setObjectName("label_2") |
|
25 self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1) |
|
26 self.envNameLabel = QtWidgets.QLabel(parent=self.groupBox_3) |
|
27 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
28 sizePolicy.setHorizontalStretch(0) |
|
29 sizePolicy.setVerticalStretch(0) |
|
30 sizePolicy.setHeightForWidth(self.envNameLabel.sizePolicy().hasHeightForWidth()) |
|
31 self.envNameLabel.setSizePolicy(sizePolicy) |
|
32 self.envNameLabel.setObjectName("envNameLabel") |
|
33 self.gridLayout.addWidget(self.envNameLabel, 0, 1, 1, 1) |
|
34 self.label = QtWidgets.QLabel(parent=self.groupBox_3) |
|
35 self.label.setObjectName("label") |
|
36 self.gridLayout.addWidget(self.label, 1, 0, 1, 1) |
|
37 self.envDirectoryLabel = QtWidgets.QLabel(parent=self.groupBox_3) |
|
38 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
39 sizePolicy.setHorizontalStretch(0) |
|
40 sizePolicy.setVerticalStretch(0) |
|
41 sizePolicy.setHeightForWidth(self.envDirectoryLabel.sizePolicy().hasHeightForWidth()) |
|
42 self.envDirectoryLabel.setSizePolicy(sizePolicy) |
|
43 self.envDirectoryLabel.setObjectName("envDirectoryLabel") |
|
44 self.gridLayout.addWidget(self.envDirectoryLabel, 1, 1, 1, 1) |
|
45 self.verticalLayout.addWidget(self.groupBox_3) |
|
46 self.groupBox = QtWidgets.QGroupBox(parent=VirtualenvUpgradeConfigurationDialog) |
|
47 self.groupBox.setObjectName("groupBox") |
|
48 self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox) |
|
49 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
50 self.label_5 = QtWidgets.QLabel(parent=self.groupBox) |
|
51 self.label_5.setObjectName("label_5") |
|
52 self.horizontalLayout_2.addWidget(self.label_5) |
|
53 self.pythonExecPicker = EricPathPicker(parent=self.groupBox) |
|
54 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
55 sizePolicy.setHorizontalStretch(0) |
|
56 sizePolicy.setVerticalStretch(0) |
|
57 sizePolicy.setHeightForWidth(self.pythonExecPicker.sizePolicy().hasHeightForWidth()) |
|
58 self.pythonExecPicker.setSizePolicy(sizePolicy) |
|
59 self.pythonExecPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) |
|
60 self.pythonExecPicker.setObjectName("pythonExecPicker") |
|
61 self.horizontalLayout_2.addWidget(self.pythonExecPicker) |
|
62 self.verticalLayout.addWidget(self.groupBox) |
|
63 self.groupBox_2 = QtWidgets.QGroupBox(parent=VirtualenvUpgradeConfigurationDialog) |
|
64 self.groupBox_2.setObjectName("groupBox_2") |
|
65 self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2) |
|
66 self.gridLayout_2.setObjectName("gridLayout_2") |
|
67 self.logCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2) |
|
68 self.logCheckBox.setChecked(True) |
|
69 self.logCheckBox.setObjectName("logCheckBox") |
|
70 self.gridLayout_2.addWidget(self.logCheckBox, 1, 0, 1, 2) |
|
71 self.upgradePythonCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2) |
|
72 self.upgradePythonCheckBox.setChecked(True) |
|
73 self.upgradePythonCheckBox.setObjectName("upgradePythonCheckBox") |
|
74 self.gridLayout_2.addWidget(self.upgradePythonCheckBox, 0, 0, 1, 1) |
|
75 self.upgradeDepsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2) |
|
76 self.upgradeDepsCheckBox.setObjectName("upgradeDepsCheckBox") |
|
77 self.gridLayout_2.addWidget(self.upgradeDepsCheckBox, 0, 1, 1, 1) |
|
78 self.verticalLayout.addWidget(self.groupBox_2) |
|
79 self.buttonBox = QtWidgets.QDialogButtonBox(parent=VirtualenvUpgradeConfigurationDialog) |
|
80 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
81 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
82 self.buttonBox.setObjectName("buttonBox") |
|
83 self.verticalLayout.addWidget(self.buttonBox) |
|
84 |
|
85 self.retranslateUi(VirtualenvUpgradeConfigurationDialog) |
|
86 self.buttonBox.accepted.connect(VirtualenvUpgradeConfigurationDialog.accept) # type: ignore |
|
87 self.buttonBox.rejected.connect(VirtualenvUpgradeConfigurationDialog.reject) # type: ignore |
|
88 QtCore.QMetaObject.connectSlotsByName(VirtualenvUpgradeConfigurationDialog) |
|
89 |
|
90 def retranslateUi(self, VirtualenvUpgradeConfigurationDialog): |
|
91 _translate = QtCore.QCoreApplication.translate |
|
92 VirtualenvUpgradeConfigurationDialog.setWindowTitle(_translate("VirtualenvUpgradeConfigurationDialog", "Virtual Environment Upgrade Configuration")) |
|
93 self.groupBox_3.setTitle(_translate("VirtualenvUpgradeConfigurationDialog", "Environment")) |
|
94 self.label_2.setText(_translate("VirtualenvUpgradeConfigurationDialog", "Name:")) |
|
95 self.label.setText(_translate("VirtualenvUpgradeConfigurationDialog", "Directory:")) |
|
96 self.groupBox.setTitle(_translate("VirtualenvUpgradeConfigurationDialog", "Paths")) |
|
97 self.label_5.setText(_translate("VirtualenvUpgradeConfigurationDialog", "Python Executable:")) |
|
98 self.pythonExecPicker.setToolTip(_translate("VirtualenvUpgradeConfigurationDialog", "Enter the Python interpreter for the virtual environment upgrade")) |
|
99 self.groupBox_2.setTitle(_translate("VirtualenvUpgradeConfigurationDialog", "Options")) |
|
100 self.logCheckBox.setToolTip(_translate("VirtualenvUpgradeConfigurationDialog", "Select to generate a log file in the environment directory")) |
|
101 self.logCheckBox.setText(_translate("VirtualenvUpgradeConfigurationDialog", "Save a log file in the environment directory after upgrade")) |
|
102 self.upgradePythonCheckBox.setToolTip(_translate("VirtualenvUpgradeConfigurationDialog", "Select to upgrade the environment directory to use this version of Python.")) |
|
103 self.upgradePythonCheckBox.setText(_translate("VirtualenvUpgradeConfigurationDialog", "Upgrade Python")) |
|
104 self.upgradeDepsCheckBox.setToolTip(_translate("VirtualenvUpgradeConfigurationDialog", "Select to upgrade the core dependencies")) |
|
105 self.upgradeDepsCheckBox.setText(_translate("VirtualenvUpgradeConfigurationDialog", "Upgrade Dependencies")) |
|
106 from eric7.EricWidgets.EricPathPicker import EricPathPicker |