PipxInterface/Ui_PipxSpecInputDialog.py

changeset 9
2ab7d3ac8283
child 19
70b187d5a9df
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PipxInterface/Ui_PipxSpecInputDialog.py	Wed Jun 26 18:40:48 2024 +0200
@@ -0,0 +1,84 @@
+# Form implementation generated from reading ui file 'PipxInterface/PipxSpecInputDialog.ui'
+#
+# Created by: PyQt6 UI code generator 6.7.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again.  Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_PipxSpecInputDialog(object):
+    def setupUi(self, PipxSpecInputDialog):
+        PipxSpecInputDialog.setObjectName("PipxSpecInputDialog")
+        PipxSpecInputDialog.resize(600, 282)
+        PipxSpecInputDialog.setSizeGripEnabled(True)
+        self.verticalLayout = QtWidgets.QVBoxLayout(PipxSpecInputDialog)
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.label_2 = QtWidgets.QLabel(parent=PipxSpecInputDialog)
+        self.label_2.setObjectName("label_2")
+        self.verticalLayout.addWidget(self.label_2)
+        self.specFilePicker = EricPathPicker(parent=PipxSpecInputDialog)
+        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
+        sizePolicy.setHorizontalStretch(0)
+        sizePolicy.setVerticalStretch(0)
+        sizePolicy.setHeightForWidth(self.specFilePicker.sizePolicy().hasHeightForWidth())
+        self.specFilePicker.setSizePolicy(sizePolicy)
+        self.specFilePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus)
+        self.specFilePicker.setObjectName("specFilePicker")
+        self.verticalLayout.addWidget(self.specFilePicker)
+        self.groupBox = QtWidgets.QGroupBox(parent=PipxSpecInputDialog)
+        self.groupBox.setObjectName("groupBox")
+        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
+        self.gridLayout.setObjectName("gridLayout")
+        self.label = QtWidgets.QLabel(parent=self.groupBox)
+        self.label.setObjectName("label")
+        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
+        self.label_3 = QtWidgets.QLabel(parent=self.groupBox)
+        self.label_3.setObjectName("label_3")
+        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
+        self.interpreterVersionEdit = QtWidgets.QLineEdit(parent=self.groupBox)
+        self.interpreterVersionEdit.setObjectName("interpreterVersionEdit")
+        self.gridLayout.addWidget(self.interpreterVersionEdit, 1, 1, 1, 1)
+        self.fetchMissingCheckBox = QtWidgets.QCheckBox(parent=self.groupBox)
+        self.fetchMissingCheckBox.setObjectName("fetchMissingCheckBox")
+        self.gridLayout.addWidget(self.fetchMissingCheckBox, 2, 0, 1, 2)
+        self.verticalLayout.addWidget(self.groupBox)
+        self.forceCheckBox = QtWidgets.QCheckBox(parent=PipxSpecInputDialog)
+        self.forceCheckBox.setObjectName("forceCheckBox")
+        self.verticalLayout.addWidget(self.forceCheckBox)
+        self.systemSitePackagesCheckBox = QtWidgets.QCheckBox(parent=PipxSpecInputDialog)
+        self.systemSitePackagesCheckBox.setObjectName("systemSitePackagesCheckBox")
+        self.verticalLayout.addWidget(self.systemSitePackagesCheckBox)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=PipxSpecInputDialog)
+        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
+        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
+        self.buttonBox.setObjectName("buttonBox")
+        self.verticalLayout.addWidget(self.buttonBox)
+
+        self.retranslateUi(PipxSpecInputDialog)
+        self.buttonBox.accepted.connect(PipxSpecInputDialog.accept) # type: ignore
+        self.buttonBox.rejected.connect(PipxSpecInputDialog.reject) # type: ignore
+        QtCore.QMetaObject.connectSlotsByName(PipxSpecInputDialog)
+        PipxSpecInputDialog.setTabOrder(self.specFilePicker, self.interpreterVersionEdit)
+        PipxSpecInputDialog.setTabOrder(self.interpreterVersionEdit, self.fetchMissingCheckBox)
+        PipxSpecInputDialog.setTabOrder(self.fetchMissingCheckBox, self.forceCheckBox)
+        PipxSpecInputDialog.setTabOrder(self.forceCheckBox, self.systemSitePackagesCheckBox)
+
+    def retranslateUi(self, PipxSpecInputDialog):
+        _translate = QtCore.QCoreApplication.translate
+        PipxSpecInputDialog.setWindowTitle(_translate("PipxSpecInputDialog", "Spec Metadata File"))
+        self.label_2.setText(_translate("PipxSpecInputDialog", "Spec Metadata File:"))
+        self.specFilePicker.setToolTip(_translate("PipxSpecInputDialog", "Enter the working directory for the application run."))
+        self.groupBox.setTitle(_translate("PipxSpecInputDialog", "Standalone Python Interpreter"))
+        self.label.setText(_translate("PipxSpecInputDialog", "<b>Note:</b> Leave this entry empty to use the default Python interpreter."))
+        self.label_3.setText(_translate("PipxSpecInputDialog", "Version:"))
+        self.interpreterVersionEdit.setToolTip(_translate("PipxSpecInputDialog", "Enter the version number of the Python interpreter to be used."))
+        self.fetchMissingCheckBox.setToolTip(_translate("PipxSpecInputDialog", "Select to fetch a standalone Python build from GitHub if the specified Python version is not found locally on the system."))
+        self.fetchMissingCheckBox.setText(_translate("PipxSpecInputDialog", "Fetch missing Python interpreter"))
+        self.forceCheckBox.setToolTip(_translate("PipxSpecInputDialog", "Select to force the modification of existing virtual environments."))
+        self.forceCheckBox.setText(_translate("PipxSpecInputDialog", "Force virtual environment modifications"))
+        self.systemSitePackagesCheckBox.setToolTip(_translate("PipxSpecInputDialog", "Select to give the virtual environment access to the system site-packages directory."))
+        self.systemSitePackagesCheckBox.setText(_translate("PipxSpecInputDialog", "System-wide Python Packages"))
+from eric7.EricWidgets.EricPathPicker import EricPathPicker

eric ide

mercurial