src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Ui_CodeStyleCodeSelectionDialog.py

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10745
2921faddeaec
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

# Form implementation generated from reading ui file 'src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.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_CodeStyleCodeSelectionDialog(object):
    def setupUi(self, CodeStyleCodeSelectionDialog):
        CodeStyleCodeSelectionDialog.setObjectName("CodeStyleCodeSelectionDialog")
        CodeStyleCodeSelectionDialog.resize(500, 400)
        CodeStyleCodeSelectionDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(CodeStyleCodeSelectionDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(parent=CodeStyleCodeSelectionDialog)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.codeTable = QtWidgets.QTreeWidget(parent=CodeStyleCodeSelectionDialog)
        self.codeTable.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
        self.codeTable.setAlternatingRowColors(True)
        self.codeTable.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
        self.codeTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
        self.codeTable.setRootIsDecorated(False)
        self.codeTable.setAllColumnsShowFocus(True)
        self.codeTable.setWordWrap(True)
        self.codeTable.setObjectName("codeTable")
        self.verticalLayout.addWidget(self.codeTable)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=CodeStyleCodeSelectionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(CodeStyleCodeSelectionDialog)
        self.buttonBox.accepted.connect(CodeStyleCodeSelectionDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(CodeStyleCodeSelectionDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(CodeStyleCodeSelectionDialog)
        CodeStyleCodeSelectionDialog.setTabOrder(self.codeTable, self.buttonBox)

    def retranslateUi(self, CodeStyleCodeSelectionDialog):
        _translate = QtCore.QCoreApplication.translate
        CodeStyleCodeSelectionDialog.setWindowTitle(_translate("CodeStyleCodeSelectionDialog", "Code Style Message Codes"))
        self.label.setText(_translate("CodeStyleCodeSelectionDialog", "Select the message codes from the list:"))
        self.codeTable.setToolTip(_translate("CodeStyleCodeSelectionDialog", "Select the message codes from this table"))
        self.codeTable.headerItem().setText(0, _translate("CodeStyleCodeSelectionDialog", "Code"))
        self.codeTable.headerItem().setText(1, _translate("CodeStyleCodeSelectionDialog", "Message"))

eric ide

mercurial