PipxInterface/Ui_PipxInterpretersDialog.py

Sun, 29 Dec 2024 14:56:04 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 29 Dec 2024 14:56:04 +0100
changeset 121
8deb7d8d9b86
parent 106
dcc8d6b448fa
permissions
-rw-r--r--

Prepared a new release.

14
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 # Form implementation generated from reading ui file 'PipxInterface/PipxInterpretersDialog.ui'
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 #
106
dcc8d6b448fa - Added a shortcut button to show the outdated dependencies of the selected package.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 105
diff changeset
3 # Created by: PyQt6 UI code generator 6.8.0
14
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 #
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 # run again. Do not edit this file unless you know what you are doing.
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 from PyQt6 import QtCore, QtGui, QtWidgets
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 class Ui_PipxInterpretersDialog(object):
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 def setupUi(self, PipxInterpretersDialog):
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 PipxInterpretersDialog.setObjectName("PipxInterpretersDialog")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 PipxInterpretersDialog.resize(450, 500)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 PipxInterpretersDialog.setSizeGripEnabled(True)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 self.verticalLayout = QtWidgets.QVBoxLayout(PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 self.verticalLayout.setObjectName("verticalLayout")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 self.horizontalLayout = QtWidgets.QHBoxLayout()
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 self.horizontalLayout.setObjectName("horizontalLayout")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 self.horizontalLayout.addItem(spacerItem)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 self.refreshButton = QtWidgets.QToolButton(parent=PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 self.refreshButton.setObjectName("refreshButton")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 self.horizontalLayout.addWidget(self.refreshButton)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 self.upgradeButton = QtWidgets.QToolButton(parent=PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 self.upgradeButton.setObjectName("upgradeButton")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 self.horizontalLayout.addWidget(self.upgradeButton)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 self.pruneButton = QtWidgets.QToolButton(parent=PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 self.pruneButton.setObjectName("pruneButton")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 self.horizontalLayout.addWidget(self.pruneButton)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 self.horizontalLayout.addItem(spacerItem1)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 self.verticalLayout.addLayout(self.horizontalLayout)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 self.interpretersList = QtWidgets.QTreeWidget(parent=PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 self.interpretersList.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 self.interpretersList.setAlternatingRowColors(True)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 self.interpretersList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.NoSelection)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 self.interpretersList.setObjectName("interpretersList")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 self.verticalLayout.addWidget(self.interpretersList)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 self.buttonBox = QtWidgets.QDialogButtonBox(parent=PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 self.buttonBox.setObjectName("buttonBox")
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 self.verticalLayout.addWidget(self.buttonBox)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 self.retranslateUi(PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 self.buttonBox.accepted.connect(PipxInterpretersDialog.accept) # type: ignore
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 self.buttonBox.rejected.connect(PipxInterpretersDialog.reject) # type: ignore
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 QtCore.QMetaObject.connectSlotsByName(PipxInterpretersDialog)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 PipxInterpretersDialog.setTabOrder(self.refreshButton, self.upgradeButton)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 PipxInterpretersDialog.setTabOrder(self.upgradeButton, self.pruneButton)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 PipxInterpretersDialog.setTabOrder(self.pruneButton, self.interpretersList)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 def retranslateUi(self, PipxInterpretersDialog):
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 _translate = QtCore.QCoreApplication.translate
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 PipxInterpretersDialog.setWindowTitle(_translate("PipxInterpretersDialog", "Standalone Python Interpreters"))
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 self.refreshButton.setToolTip(_translate("PipxInterpretersDialog", "Press to refresh the list of interpreters."))
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 self.upgradeButton.setToolTip(_translate("PipxInterpretersDialog", "Press to upgrade installed interpreters to the latest micro version."))
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 self.pruneButton.setToolTip(_translate("PipxInterpretersDialog", "Press to prune all unused interpreters."))
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 self.interpretersList.setSortingEnabled(True)
12413552ae0d Added functionality to upgrade single or all pipx managed packages and to manage the standalone interpreters.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 self.interpretersList.headerItem().setText(0, _translate("PipxInterpretersDialog", "Interpreter/Package"))

eric ide

mercurial