|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Project/ProjectVenvCreationParametersDialog.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_ProjectVenvCreationParametersDialog(object): |
|
13 def setupUi(self, ProjectVenvCreationParametersDialog): |
|
14 ProjectVenvCreationParametersDialog.setObjectName("ProjectVenvCreationParametersDialog") |
|
15 ProjectVenvCreationParametersDialog.resize(700, 100) |
|
16 ProjectVenvCreationParametersDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(ProjectVenvCreationParametersDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout.setObjectName("horizontalLayout") |
|
21 self.label_5 = QtWidgets.QLabel(parent=ProjectVenvCreationParametersDialog) |
|
22 self.label_5.setObjectName("label_5") |
|
23 self.horizontalLayout.addWidget(self.label_5) |
|
24 self.pythonExecPicker = EricPathPicker(parent=ProjectVenvCreationParametersDialog) |
|
25 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
26 sizePolicy.setHorizontalStretch(0) |
|
27 sizePolicy.setVerticalStretch(0) |
|
28 sizePolicy.setHeightForWidth(self.pythonExecPicker.sizePolicy().hasHeightForWidth()) |
|
29 self.pythonExecPicker.setSizePolicy(sizePolicy) |
|
30 self.pythonExecPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) |
|
31 self.pythonExecPicker.setObjectName("pythonExecPicker") |
|
32 self.horizontalLayout.addWidget(self.pythonExecPicker) |
|
33 self.verticalLayout.addLayout(self.horizontalLayout) |
|
34 self.systemCheckBox = QtWidgets.QCheckBox(parent=ProjectVenvCreationParametersDialog) |
|
35 self.systemCheckBox.setObjectName("systemCheckBox") |
|
36 self.verticalLayout.addWidget(self.systemCheckBox) |
|
37 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ProjectVenvCreationParametersDialog) |
|
38 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
39 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
40 self.buttonBox.setObjectName("buttonBox") |
|
41 self.verticalLayout.addWidget(self.buttonBox) |
|
42 |
|
43 self.retranslateUi(ProjectVenvCreationParametersDialog) |
|
44 self.buttonBox.accepted.connect(ProjectVenvCreationParametersDialog.accept) # type: ignore |
|
45 self.buttonBox.rejected.connect(ProjectVenvCreationParametersDialog.reject) # type: ignore |
|
46 QtCore.QMetaObject.connectSlotsByName(ProjectVenvCreationParametersDialog) |
|
47 ProjectVenvCreationParametersDialog.setTabOrder(self.pythonExecPicker, self.systemCheckBox) |
|
48 |
|
49 def retranslateUi(self, ProjectVenvCreationParametersDialog): |
|
50 _translate = QtCore.QCoreApplication.translate |
|
51 ProjectVenvCreationParametersDialog.setWindowTitle(_translate("ProjectVenvCreationParametersDialog", "Virtual Environment Configuration")) |
|
52 self.label_5.setText(_translate("ProjectVenvCreationParametersDialog", "Python Executable:")) |
|
53 self.pythonExecPicker.setToolTip(_translate("ProjectVenvCreationParametersDialog", "Enter the Python interpreter for the virtual environment")) |
|
54 self.systemCheckBox.setToolTip(_translate("ProjectVenvCreationParametersDialog", "Select to give the virtualenv access to the global site-packages")) |
|
55 self.systemCheckBox.setText(_translate("ProjectVenvCreationParametersDialog", "System-wide Python Packages")) |
|
56 from eric7.EricWidgets.EricPathPicker import EricPathPicker |