Sat, 31 Aug 2024 17:19:33 +0200
MicroPython
- Adapted the CircuitPython library management to later versions of circup.
# Form implementation generated from reading ui file 'src/eric7/MicroPython/Devices/CircuitPythonUpdater/ShowInstalledDialog.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_ShowInstalledDialog(object): def setupUi(self, ShowInstalledDialog): ShowInstalledDialog.setObjectName("ShowInstalledDialog") ShowInstalledDialog.resize(400, 500) ShowInstalledDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(ShowInstalledDialog) self.verticalLayout.setObjectName("verticalLayout") self.modulesList = QtWidgets.QTreeWidget(parent=ShowInstalledDialog) self.modulesList.setAlternatingRowColors(True) self.modulesList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.NoSelection) self.modulesList.setRootIsDecorated(False) self.modulesList.setItemsExpandable(False) self.modulesList.setObjectName("modulesList") self.modulesList.header().setSortIndicatorShown(False) self.verticalLayout.addWidget(self.modulesList) self.buttonBox = QtWidgets.QDialogButtonBox(parent=ShowInstalledDialog) 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(ShowInstalledDialog) self.buttonBox.accepted.connect(ShowInstalledDialog.accept) # type: ignore self.buttonBox.rejected.connect(ShowInstalledDialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(ShowInstalledDialog) def retranslateUi(self, ShowInstalledDialog): _translate = QtCore.QCoreApplication.translate ShowInstalledDialog.setWindowTitle(_translate("ShowInstalledDialog", "Installed Modules")) self.modulesList.headerItem().setText(0, _translate("ShowInstalledDialog", "Module")) self.modulesList.headerItem().setText(1, _translate("ShowInstalledDialog", "Version"))