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

Sun, 23 Mar 2025 14:55:14 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Mar 2025 14:55:14 +0100
branch
eric7
changeset 11186
c2d18aefef6b
parent 10745
2921faddeaec
permissions
-rw-r--r--

Corrected some issues in the 'micro:bit' device class and enhanced the MPy file manager.

# 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