PipxInterface/Ui_PipxInterpretersDialog.py

changeset 14
12413552ae0d
child 101
50e5cb76c5c5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PipxInterface/Ui_PipxInterpretersDialog.py	Fri Jun 28 16:25:21 2024 +0200
@@ -0,0 +1,62 @@
+# Form implementation generated from reading ui file 'PipxInterface/PipxInterpretersDialog.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_PipxInterpretersDialog(object):
+    def setupUi(self, PipxInterpretersDialog):
+        PipxInterpretersDialog.setObjectName("PipxInterpretersDialog")
+        PipxInterpretersDialog.resize(450, 500)
+        PipxInterpretersDialog.setSizeGripEnabled(True)
+        self.verticalLayout = QtWidgets.QVBoxLayout(PipxInterpretersDialog)
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.horizontalLayout = QtWidgets.QHBoxLayout()
+        self.horizontalLayout.setObjectName("horizontalLayout")
+        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.horizontalLayout.addItem(spacerItem)
+        self.refreshButton = QtWidgets.QToolButton(parent=PipxInterpretersDialog)
+        self.refreshButton.setObjectName("refreshButton")
+        self.horizontalLayout.addWidget(self.refreshButton)
+        self.upgradeButton = QtWidgets.QToolButton(parent=PipxInterpretersDialog)
+        self.upgradeButton.setObjectName("upgradeButton")
+        self.horizontalLayout.addWidget(self.upgradeButton)
+        self.pruneButton = QtWidgets.QToolButton(parent=PipxInterpretersDialog)
+        self.pruneButton.setObjectName("pruneButton")
+        self.horizontalLayout.addWidget(self.pruneButton)
+        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.horizontalLayout.addItem(spacerItem1)
+        self.verticalLayout.addLayout(self.horizontalLayout)
+        self.interpretersList = QtWidgets.QTreeWidget(parent=PipxInterpretersDialog)
+        self.interpretersList.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
+        self.interpretersList.setAlternatingRowColors(True)
+        self.interpretersList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.NoSelection)
+        self.interpretersList.setObjectName("interpretersList")
+        self.verticalLayout.addWidget(self.interpretersList)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=PipxInterpretersDialog)
+        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
+        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
+        self.buttonBox.setObjectName("buttonBox")
+        self.verticalLayout.addWidget(self.buttonBox)
+
+        self.retranslateUi(PipxInterpretersDialog)
+        self.buttonBox.accepted.connect(PipxInterpretersDialog.accept) # type: ignore
+        self.buttonBox.rejected.connect(PipxInterpretersDialog.reject) # type: ignore
+        QtCore.QMetaObject.connectSlotsByName(PipxInterpretersDialog)
+        PipxInterpretersDialog.setTabOrder(self.refreshButton, self.upgradeButton)
+        PipxInterpretersDialog.setTabOrder(self.upgradeButton, self.pruneButton)
+        PipxInterpretersDialog.setTabOrder(self.pruneButton, self.interpretersList)
+
+    def retranslateUi(self, PipxInterpretersDialog):
+        _translate = QtCore.QCoreApplication.translate
+        PipxInterpretersDialog.setWindowTitle(_translate("PipxInterpretersDialog", "Standalone Python Interpreters"))
+        self.refreshButton.setToolTip(_translate("PipxInterpretersDialog", "Press to refresh the list of interpreters."))
+        self.upgradeButton.setToolTip(_translate("PipxInterpretersDialog", "Press to upgrade installed interpreters to the latest micro version."))
+        self.pruneButton.setToolTip(_translate("PipxInterpretersDialog", "Press to prune all unused interpreters."))
+        self.interpretersList.setSortingEnabled(True)
+        self.interpretersList.headerItem().setText(0, _translate("PipxInterpretersDialog", "Interpreter/Package"))

eric ide

mercurial