src/eric7/MicroPython/Devices/CircuitPythonUpdater/Ui_ShowInstalledDialog.py

Sun, 16 Mar 2025 12:53:12 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 16 Mar 2025 12:53:12 +0100
branch
eric7
changeset 11170
6d6199d668fb
parent 10745
2921faddeaec
permissions
-rw-r--r--

Added the Adafruit Feather nRF52840 to the list of known NRF52 boards and changed the list of known CircuitPython boards to be more explicit with respect to Adafruit boards (i.e. VID 0x239A).

# 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"))

eric ide

mercurial