PipxInterface/Ui_PipxReinstallDialog.py

changeset 12
a09f763d5e1f
child 101
50e5cb76c5c5
diff -r 6af0704c8175 -r a09f763d5e1f PipxInterface/Ui_PipxReinstallDialog.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PipxInterface/Ui_PipxReinstallDialog.py	Thu Jun 27 17:50:51 2024 +0200
@@ -0,0 +1,70 @@
+# Form implementation generated from reading ui file 'PipxInterface/PipxReinstallDialog.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_PipxReinstallDialog(object):
+    def setupUi(self, PipxReinstallDialog):
+        PipxReinstallDialog.setObjectName("PipxReinstallDialog")
+        PipxReinstallDialog.resize(600, 268)
+        PipxReinstallDialog.setSizeGripEnabled(True)
+        self.verticalLayout_2 = QtWidgets.QVBoxLayout(PipxReinstallDialog)
+        self.verticalLayout_2.setObjectName("verticalLayout_2")
+        self.skipGroupBox = QtWidgets.QGroupBox(parent=PipxReinstallDialog)
+        self.skipGroupBox.setObjectName("skipGroupBox")
+        self.verticalLayout = QtWidgets.QVBoxLayout(self.skipGroupBox)
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.label_3 = QtWidgets.QLabel(parent=self.skipGroupBox)
+        self.label_3.setObjectName("label_3")
+        self.verticalLayout.addWidget(self.label_3)
+        self.packagesEdit = QtWidgets.QLineEdit(parent=self.skipGroupBox)
+        self.packagesEdit.setObjectName("packagesEdit")
+        self.verticalLayout.addWidget(self.packagesEdit)
+        self.verticalLayout_2.addWidget(self.skipGroupBox)
+        self.interpreterGroupBox = QtWidgets.QGroupBox(parent=PipxReinstallDialog)
+        self.interpreterGroupBox.setObjectName("interpreterGroupBox")
+        self.gridLayout = QtWidgets.QGridLayout(self.interpreterGroupBox)
+        self.gridLayout.setObjectName("gridLayout")
+        self.label_2 = QtWidgets.QLabel(parent=self.interpreterGroupBox)
+        self.label_2.setObjectName("label_2")
+        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 2)
+        self.label_4 = QtWidgets.QLabel(parent=self.interpreterGroupBox)
+        self.label_4.setObjectName("label_4")
+        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
+        self.interpreterVersionEdit = QtWidgets.QLineEdit(parent=self.interpreterGroupBox)
+        self.interpreterVersionEdit.setObjectName("interpreterVersionEdit")
+        self.gridLayout.addWidget(self.interpreterVersionEdit, 1, 1, 1, 1)
+        self.fetchMissingCheckBox = QtWidgets.QCheckBox(parent=self.interpreterGroupBox)
+        self.fetchMissingCheckBox.setObjectName("fetchMissingCheckBox")
+        self.gridLayout.addWidget(self.fetchMissingCheckBox, 2, 0, 1, 2)
+        self.verticalLayout_2.addWidget(self.interpreterGroupBox)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=PipxReinstallDialog)
+        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
+        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
+        self.buttonBox.setObjectName("buttonBox")
+        self.verticalLayout_2.addWidget(self.buttonBox)
+
+        self.retranslateUi(PipxReinstallDialog)
+        self.buttonBox.accepted.connect(PipxReinstallDialog.accept) # type: ignore
+        self.buttonBox.rejected.connect(PipxReinstallDialog.reject) # type: ignore
+        QtCore.QMetaObject.connectSlotsByName(PipxReinstallDialog)
+        PipxReinstallDialog.setTabOrder(self.packagesEdit, self.interpreterVersionEdit)
+        PipxReinstallDialog.setTabOrder(self.interpreterVersionEdit, self.fetchMissingCheckBox)
+
+    def retranslateUi(self, PipxReinstallDialog):
+        _translate = QtCore.QCoreApplication.translate
+        PipxReinstallDialog.setWindowTitle(_translate("PipxReinstallDialog", "Package Re-Installation"))
+        self.skipGroupBox.setTitle(_translate("PipxReinstallDialog", "Skip Packages"))
+        self.label_3.setText(_translate("PipxReinstallDialog", "Package Specifications (separated by whitespace):"))
+        self.interpreterGroupBox.setTitle(_translate("PipxReinstallDialog", "Standalone Python Interpreter"))
+        self.label_2.setText(_translate("PipxReinstallDialog", "<b>Note:</b> Leave this entry empty to use the default Python interpreter."))
+        self.label_4.setText(_translate("PipxReinstallDialog", "Version:"))
+        self.interpreterVersionEdit.setToolTip(_translate("PipxReinstallDialog", "Enter the version number of the Python interpreter to be used."))
+        self.fetchMissingCheckBox.setToolTip(_translate("PipxReinstallDialog", "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("PipxReinstallDialog", "Fetch missing Python interpreter"))

eric ide

mercurial