src/eric7/Project/Ui_ProjectVenvConfigurationDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Project/ProjectVenvConfigurationDialog.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_ProjectVenvConfigurationDialog(object):
13 def setupUi(self, ProjectVenvConfigurationDialog):
14 ProjectVenvConfigurationDialog.setObjectName("ProjectVenvConfigurationDialog")
15 ProjectVenvConfigurationDialog.resize(700, 132)
16 ProjectVenvConfigurationDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(ProjectVenvConfigurationDialog)
18 self.gridLayout.setObjectName("gridLayout")
19 self.label_2 = QtWidgets.QLabel(parent=ProjectVenvConfigurationDialog)
20 self.label_2.setObjectName("label_2")
21 self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
22 self.nameEdit = QtWidgets.QLineEdit(parent=ProjectVenvConfigurationDialog)
23 self.nameEdit.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
24 self.nameEdit.setReadOnly(True)
25 self.nameEdit.setObjectName("nameEdit")
26 self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1)
27 self.label_3 = QtWidgets.QLabel(parent=ProjectVenvConfigurationDialog)
28 self.label_3.setObjectName("label_3")
29 self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
30 self.pythonExecPicker = EricComboPathPicker(parent=ProjectVenvConfigurationDialog)
31 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
32 sizePolicy.setHorizontalStretch(0)
33 sizePolicy.setVerticalStretch(0)
34 sizePolicy.setHeightForWidth(self.pythonExecPicker.sizePolicy().hasHeightForWidth())
35 self.pythonExecPicker.setSizePolicy(sizePolicy)
36 self.pythonExecPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus)
37 self.pythonExecPicker.setObjectName("pythonExecPicker")
38 self.gridLayout.addWidget(self.pythonExecPicker, 1, 1, 1, 1)
39 self.label_5 = QtWidgets.QLabel(parent=ProjectVenvConfigurationDialog)
40 self.label_5.setObjectName("label_5")
41 self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
42 self.execPathEdit = QtWidgets.QLineEdit(parent=ProjectVenvConfigurationDialog)
43 self.execPathEdit.setClearButtonEnabled(True)
44 self.execPathEdit.setObjectName("execPathEdit")
45 self.gridLayout.addWidget(self.execPathEdit, 2, 1, 1, 1)
46 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ProjectVenvConfigurationDialog)
47 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
48 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
49 self.buttonBox.setObjectName("buttonBox")
50 self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 2)
51
52 self.retranslateUi(ProjectVenvConfigurationDialog)
53 self.buttonBox.accepted.connect(ProjectVenvConfigurationDialog.accept) # type: ignore
54 self.buttonBox.rejected.connect(ProjectVenvConfigurationDialog.reject) # type: ignore
55 QtCore.QMetaObject.connectSlotsByName(ProjectVenvConfigurationDialog)
56 ProjectVenvConfigurationDialog.setTabOrder(self.nameEdit, self.pythonExecPicker)
57 ProjectVenvConfigurationDialog.setTabOrder(self.pythonExecPicker, self.execPathEdit)
58
59 def retranslateUi(self, ProjectVenvConfigurationDialog):
60 _translate = QtCore.QCoreApplication.translate
61 ProjectVenvConfigurationDialog.setWindowTitle(_translate("ProjectVenvConfigurationDialog", "Project Environment Configuration"))
62 self.label_2.setText(_translate("ProjectVenvConfigurationDialog", "Name:"))
63 self.label_3.setText(_translate("ProjectVenvConfigurationDialog", "Python Interpreter:"))
64 self.pythonExecPicker.setToolTip(_translate("ProjectVenvConfigurationDialog", "Enter the Python interpreter of the virtual environment"))
65 self.label_5.setText(_translate("ProjectVenvConfigurationDialog", "PATH Prefix:"))
66 from eric7.EricWidgets.EricPathPicker import EricComboPathPicker

eric ide

mercurial