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.

124
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 # Form implementation generated from reading ui file 'RadonMetrics/MaintainabilityIndexDialog.ui'
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 #
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 # Created by: PyQt6 UI code generator 6.7.1
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 #
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 # run again. Do not edit this file unless you know what you are doing.
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 from PyQt6 import QtCore, QtGui, QtWidgets
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 class Ui_MaintainabilityIndexDialog(object):
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 def setupUi(self, MaintainabilityIndexDialog):
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 MaintainabilityIndexDialog.setObjectName("MaintainabilityIndexDialog")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 MaintainabilityIndexDialog.resize(832, 587)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 MaintainabilityIndexDialog.setSizeGripEnabled(True)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 self.verticalLayout = QtWidgets.QVBoxLayout(MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 self.verticalLayout.setContentsMargins(6, 6, 6, 6)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 self.verticalLayout.setSpacing(6)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 self.verticalLayout.setObjectName("verticalLayout")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 self.filterFrame = QtWidgets.QFrame(parent=MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 self.filterFrame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 self.filterFrame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 self.filterFrame.setObjectName("filterFrame")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 self.horizontalLayout = QtWidgets.QHBoxLayout(self.filterFrame)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 self.horizontalLayout.setSpacing(6)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 self.horizontalLayout.setObjectName("horizontalLayout")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 self.label_2 = QtWidgets.QLabel(parent=self.filterFrame)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 self.label_2.setObjectName("label_2")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 self.horizontalLayout.addWidget(self.label_2)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 self.excludeFilesEdit = QtWidgets.QLineEdit(parent=self.filterFrame)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 self.excludeFilesEdit.setClearButtonEnabled(True)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 self.excludeFilesEdit.setObjectName("excludeFilesEdit")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 self.horizontalLayout.addWidget(self.excludeFilesEdit)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 self.line = QtWidgets.QFrame(parent=self.filterFrame)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 self.line.setLineWidth(2)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 self.line.setFrameShape(QtWidgets.QFrame.Shape.VLine)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 self.line.setObjectName("line")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 self.horizontalLayout.addWidget(self.line)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 self.startButton = QtWidgets.QPushButton(parent=self.filterFrame)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 self.startButton.setObjectName("startButton")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 self.horizontalLayout.addWidget(self.startButton)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 self.verticalLayout.addWidget(self.filterFrame)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 self.resultList = QtWidgets.QTreeWidget(parent=MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 self.resultList.setAlternatingRowColors(True)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 self.resultList.setObjectName("resultList")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 self.verticalLayout.addWidget(self.resultList)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 self.horizontalLayout_2.setSpacing(6)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 self.summaryLabel = QtWidgets.QLabel(parent=MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 self.summaryLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 self.summaryLabel.setWordWrap(True)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 self.summaryLabel.setObjectName("summaryLabel")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 self.horizontalLayout_2.addWidget(self.summaryLabel)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 self.explanationLabel = QtWidgets.QLabel(parent=MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 self.explanationLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 self.explanationLabel.setWordWrap(True)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 self.explanationLabel.setObjectName("explanationLabel")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 self.horizontalLayout_2.addWidget(self.explanationLabel)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 self.verticalLayout.addLayout(self.horizontalLayout_2)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
64 self.checkProgress = QtWidgets.QProgressBar(parent=MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 self.checkProgress.setProperty("value", 0)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 self.checkProgress.setOrientation(QtCore.Qt.Orientation.Horizontal)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 self.checkProgress.setObjectName("checkProgress")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 self.verticalLayout.addWidget(self.checkProgress)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 self.buttonBox = QtWidgets.QDialogButtonBox(parent=MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 self.buttonBox.setObjectName("buttonBox")
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 self.verticalLayout.addWidget(self.buttonBox)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 self.retranslateUi(MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 QtCore.QMetaObject.connectSlotsByName(MaintainabilityIndexDialog)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 MaintainabilityIndexDialog.setTabOrder(self.startButton, self.excludeFilesEdit)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 MaintainabilityIndexDialog.setTabOrder(self.excludeFilesEdit, self.resultList)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 MaintainabilityIndexDialog.setTabOrder(self.resultList, self.buttonBox)
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 def retranslateUi(self, MaintainabilityIndexDialog):
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 _translate = QtCore.QCoreApplication.translate
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 MaintainabilityIndexDialog.setWindowTitle(_translate("MaintainabilityIndexDialog", "Maintainability Index"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 MaintainabilityIndexDialog.setWhatsThis(_translate("MaintainabilityIndexDialog", "<b>Maintainability Index</b>\n"
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 "<p>This dialog shows the maintainability index and rank.</p>"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 self.label_2.setText(_translate("MaintainabilityIndexDialog", "Exclude Files:"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 self.excludeFilesEdit.setToolTip(_translate("MaintainabilityIndexDialog", "Enter filename patterns of files to be excluded separated by a comma"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88 self.startButton.setToolTip(_translate("MaintainabilityIndexDialog", "Press to start the calculation"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 self.startButton.setText(_translate("MaintainabilityIndexDialog", "Start"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90 self.resultList.headerItem().setText(0, _translate("MaintainabilityIndexDialog", "Name"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 self.resultList.headerItem().setText(1, _translate("MaintainabilityIndexDialog", "Score"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 self.resultList.headerItem().setText(2, _translate("MaintainabilityIndexDialog", "Rank"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 self.checkProgress.setToolTip(_translate("MaintainabilityIndexDialog", "Shows the progress of the calculation"))
196b009164dc Converted the header to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 self.checkProgress.setFormat(_translate("MaintainabilityIndexDialog", "%v/%m Files"))

eric ide

mercurial