RadonMetrics/Ui_MaintainabilityIndexDialog.py

Tue, 10 Dec 2024 15:48:54 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 10 Dec 2024 15:48:54 +0100
branch
eric7
changeset 126
9ecce748f0ac
parent 124
196b009164dc
permissions
-rw-r--r--

Updated copyright for 2025.

# Form implementation generated from reading ui file 'RadonMetrics/MaintainabilityIndexDialog.ui'
#
# Created by: PyQt6 UI code generator 6.7.1
#
# 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_MaintainabilityIndexDialog(object):
    def setupUi(self, MaintainabilityIndexDialog):
        MaintainabilityIndexDialog.setObjectName("MaintainabilityIndexDialog")
        MaintainabilityIndexDialog.resize(832, 587)
        MaintainabilityIndexDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(MaintainabilityIndexDialog)
        self.verticalLayout.setContentsMargins(6, 6, 6, 6)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.filterFrame = QtWidgets.QFrame(parent=MaintainabilityIndexDialog)
        self.filterFrame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
        self.filterFrame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
        self.filterFrame.setObjectName("filterFrame")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.filterFrame)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_2 = QtWidgets.QLabel(parent=self.filterFrame)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.excludeFilesEdit = QtWidgets.QLineEdit(parent=self.filterFrame)
        self.excludeFilesEdit.setClearButtonEnabled(True)
        self.excludeFilesEdit.setObjectName("excludeFilesEdit")
        self.horizontalLayout.addWidget(self.excludeFilesEdit)
        self.line = QtWidgets.QFrame(parent=self.filterFrame)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtWidgets.QFrame.Shape.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout.addWidget(self.line)
        self.startButton = QtWidgets.QPushButton(parent=self.filterFrame)
        self.startButton.setObjectName("startButton")
        self.horizontalLayout.addWidget(self.startButton)
        self.verticalLayout.addWidget(self.filterFrame)
        self.resultList = QtWidgets.QTreeWidget(parent=MaintainabilityIndexDialog)
        self.resultList.setAlternatingRowColors(True)
        self.resultList.setObjectName("resultList")
        self.verticalLayout.addWidget(self.resultList)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(6)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.summaryLabel = QtWidgets.QLabel(parent=MaintainabilityIndexDialog)
        self.summaryLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
        self.summaryLabel.setWordWrap(True)
        self.summaryLabel.setObjectName("summaryLabel")
        self.horizontalLayout_2.addWidget(self.summaryLabel)
        self.explanationLabel = QtWidgets.QLabel(parent=MaintainabilityIndexDialog)
        self.explanationLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
        self.explanationLabel.setWordWrap(True)
        self.explanationLabel.setObjectName("explanationLabel")
        self.horizontalLayout_2.addWidget(self.explanationLabel)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.checkProgress = QtWidgets.QProgressBar(parent=MaintainabilityIndexDialog)
        self.checkProgress.setProperty("value", 0)
        self.checkProgress.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.checkProgress.setObjectName("checkProgress")
        self.verticalLayout.addWidget(self.checkProgress)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=MaintainabilityIndexDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(MaintainabilityIndexDialog)
        QtCore.QMetaObject.connectSlotsByName(MaintainabilityIndexDialog)
        MaintainabilityIndexDialog.setTabOrder(self.startButton, self.excludeFilesEdit)
        MaintainabilityIndexDialog.setTabOrder(self.excludeFilesEdit, self.resultList)
        MaintainabilityIndexDialog.setTabOrder(self.resultList, self.buttonBox)

    def retranslateUi(self, MaintainabilityIndexDialog):
        _translate = QtCore.QCoreApplication.translate
        MaintainabilityIndexDialog.setWindowTitle(_translate("MaintainabilityIndexDialog", "Maintainability Index"))
        MaintainabilityIndexDialog.setWhatsThis(_translate("MaintainabilityIndexDialog", "<b>Maintainability Index</b>\n"
"<p>This dialog shows the maintainability index and rank.</p>"))
        self.label_2.setText(_translate("MaintainabilityIndexDialog", "Exclude Files:"))
        self.excludeFilesEdit.setToolTip(_translate("MaintainabilityIndexDialog", "Enter filename patterns of files to be excluded separated by a comma"))
        self.startButton.setToolTip(_translate("MaintainabilityIndexDialog", "Press to start the calculation"))
        self.startButton.setText(_translate("MaintainabilityIndexDialog", "Start"))
        self.resultList.headerItem().setText(0, _translate("MaintainabilityIndexDialog", "Name"))
        self.resultList.headerItem().setText(1, _translate("MaintainabilityIndexDialog", "Score"))
        self.resultList.headerItem().setText(2, _translate("MaintainabilityIndexDialog", "Rank"))
        self.checkProgress.setToolTip(_translate("MaintainabilityIndexDialog", "Shows the progress of the calculation"))
        self.checkProgress.setFormat(_translate("MaintainabilityIndexDialog", "%v/%m Files"))

eric ide

mercurial