|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/VirtualEnv/VirtualenvInterpreterSelectionDialog.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_VirtualenvInterpreterSelectionDialog(object): |
|
13 def setupUi(self, VirtualenvInterpreterSelectionDialog): |
|
14 VirtualenvInterpreterSelectionDialog.setObjectName("VirtualenvInterpreterSelectionDialog") |
|
15 VirtualenvInterpreterSelectionDialog.resize(550, 118) |
|
16 VirtualenvInterpreterSelectionDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(VirtualenvInterpreterSelectionDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout.setObjectName("horizontalLayout") |
|
21 self.label_2 = QtWidgets.QLabel(parent=VirtualenvInterpreterSelectionDialog) |
|
22 self.label_2.setObjectName("label_2") |
|
23 self.horizontalLayout.addWidget(self.label_2) |
|
24 self.nameEdit = QtWidgets.QLineEdit(parent=VirtualenvInterpreterSelectionDialog) |
|
25 self.nameEdit.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus) |
|
26 self.nameEdit.setReadOnly(True) |
|
27 self.nameEdit.setObjectName("nameEdit") |
|
28 self.horizontalLayout.addWidget(self.nameEdit) |
|
29 self.verticalLayout.addLayout(self.horizontalLayout) |
|
30 self.label = QtWidgets.QLabel(parent=VirtualenvInterpreterSelectionDialog) |
|
31 self.label.setObjectName("label") |
|
32 self.verticalLayout.addWidget(self.label) |
|
33 self.pythonExecPicker = EricComboPathPicker(parent=VirtualenvInterpreterSelectionDialog) |
|
34 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
35 sizePolicy.setHorizontalStretch(0) |
|
36 sizePolicy.setVerticalStretch(0) |
|
37 sizePolicy.setHeightForWidth(self.pythonExecPicker.sizePolicy().hasHeightForWidth()) |
|
38 self.pythonExecPicker.setSizePolicy(sizePolicy) |
|
39 self.pythonExecPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) |
|
40 self.pythonExecPicker.setObjectName("pythonExecPicker") |
|
41 self.verticalLayout.addWidget(self.pythonExecPicker) |
|
42 self.buttonBox = QtWidgets.QDialogButtonBox(parent=VirtualenvInterpreterSelectionDialog) |
|
43 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
44 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
45 self.buttonBox.setObjectName("buttonBox") |
|
46 self.verticalLayout.addWidget(self.buttonBox) |
|
47 |
|
48 self.retranslateUi(VirtualenvInterpreterSelectionDialog) |
|
49 self.buttonBox.accepted.connect(VirtualenvInterpreterSelectionDialog.accept) # type: ignore |
|
50 self.buttonBox.rejected.connect(VirtualenvInterpreterSelectionDialog.reject) # type: ignore |
|
51 QtCore.QMetaObject.connectSlotsByName(VirtualenvInterpreterSelectionDialog) |
|
52 |
|
53 def retranslateUi(self, VirtualenvInterpreterSelectionDialog): |
|
54 _translate = QtCore.QCoreApplication.translate |
|
55 VirtualenvInterpreterSelectionDialog.setWindowTitle(_translate("VirtualenvInterpreterSelectionDialog", "Add Virtual Environment")) |
|
56 self.label_2.setText(_translate("VirtualenvInterpreterSelectionDialog", "Name:")) |
|
57 self.label.setText(_translate("VirtualenvInterpreterSelectionDialog", "Enter interpreter for virtual environment:")) |
|
58 self.pythonExecPicker.setToolTip(_translate("VirtualenvInterpreterSelectionDialog", "Enter the Python interpreter of the virtual environment")) |
|
59 from eric7.EricWidgets.EricPathPicker import EricComboPathPicker |