|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/CodeFormatting/IsortFormattingDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_IsortFormattingDialog(object): |
|
13 def setupUi(self, IsortFormattingDialog): |
|
14 IsortFormattingDialog.setObjectName("IsortFormattingDialog") |
|
15 IsortFormattingDialog.resize(700, 650) |
|
16 IsortFormattingDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(IsortFormattingDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout.setObjectName("horizontalLayout") |
|
21 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
22 self.horizontalLayout.addItem(spacerItem) |
|
23 self.label_2 = QtWidgets.QLabel(parent=IsortFormattingDialog) |
|
24 self.label_2.setObjectName("label_2") |
|
25 self.horizontalLayout.addWidget(self.label_2) |
|
26 self.statusFilterComboBox = QtWidgets.QComboBox(parent=IsortFormattingDialog) |
|
27 self.statusFilterComboBox.setMinimumSize(QtCore.QSize(150, 0)) |
|
28 self.statusFilterComboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon) |
|
29 self.statusFilterComboBox.setObjectName("statusFilterComboBox") |
|
30 self.horizontalLayout.addWidget(self.statusFilterComboBox) |
|
31 self.verticalLayout.addLayout(self.horizontalLayout) |
|
32 self.resultsList = QtWidgets.QTreeWidget(parent=IsortFormattingDialog) |
|
33 self.resultsList.setAlternatingRowColors(True) |
|
34 self.resultsList.setRootIsDecorated(False) |
|
35 self.resultsList.setItemsExpandable(False) |
|
36 self.resultsList.setObjectName("resultsList") |
|
37 self.verticalLayout.addWidget(self.resultsList) |
|
38 self.statisticsGroup = QtWidgets.QGroupBox(parent=IsortFormattingDialog) |
|
39 self.statisticsGroup.setObjectName("statisticsGroup") |
|
40 self.gridLayout = QtWidgets.QGridLayout(self.statisticsGroup) |
|
41 self.gridLayout.setObjectName("gridLayout") |
|
42 self.label = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
43 self.label.setObjectName("label") |
|
44 self.gridLayout.addWidget(self.label, 0, 0, 1, 1) |
|
45 self.totalCountLabel = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
46 self.totalCountLabel.setText("0") |
|
47 self.totalCountLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
48 self.totalCountLabel.setObjectName("totalCountLabel") |
|
49 self.gridLayout.addWidget(self.totalCountLabel, 0, 1, 1, 1) |
|
50 spacerItem1 = QtWidgets.QSpacerItem(183, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
51 self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1) |
|
52 self.label_3 = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
53 self.label_3.setObjectName("label_3") |
|
54 self.gridLayout.addWidget(self.label_3, 0, 3, 1, 1) |
|
55 self.skippedCountLabel = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
56 self.skippedCountLabel.setText("0") |
|
57 self.skippedCountLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
58 self.skippedCountLabel.setObjectName("skippedCountLabel") |
|
59 self.gridLayout.addWidget(self.skippedCountLabel, 0, 4, 1, 1) |
|
60 spacerItem2 = QtWidgets.QSpacerItem(182, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
61 self.gridLayout.addItem(spacerItem2, 0, 5, 1, 1) |
|
62 self.label_5 = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
63 self.label_5.setObjectName("label_5") |
|
64 self.gridLayout.addWidget(self.label_5, 0, 6, 1, 1) |
|
65 self.failuresCountLabel = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
66 self.failuresCountLabel.setText("0") |
|
67 self.failuresCountLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
68 self.failuresCountLabel.setObjectName("failuresCountLabel") |
|
69 self.gridLayout.addWidget(self.failuresCountLabel, 0, 7, 1, 1) |
|
70 self.label_6 = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
71 self.label_6.setObjectName("label_6") |
|
72 self.gridLayout.addWidget(self.label_6, 1, 0, 1, 1) |
|
73 self.processedCountLabel = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
74 self.processedCountLabel.setText("0") |
|
75 self.processedCountLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
76 self.processedCountLabel.setObjectName("processedCountLabel") |
|
77 self.gridLayout.addWidget(self.processedCountLabel, 1, 1, 1, 1) |
|
78 self.reformattedLabel = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
79 self.reformattedLabel.setObjectName("reformattedLabel") |
|
80 self.gridLayout.addWidget(self.reformattedLabel, 1, 3, 1, 1) |
|
81 self.reformattedCountLabel = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
82 self.reformattedCountLabel.setText("0") |
|
83 self.reformattedCountLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
84 self.reformattedCountLabel.setObjectName("reformattedCountLabel") |
|
85 self.gridLayout.addWidget(self.reformattedCountLabel, 1, 4, 1, 1) |
|
86 self.label_4 = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
87 self.label_4.setObjectName("label_4") |
|
88 self.gridLayout.addWidget(self.label_4, 1, 6, 1, 1) |
|
89 self.unchangedCountLabel = QtWidgets.QLabel(parent=self.statisticsGroup) |
|
90 self.unchangedCountLabel.setText("0") |
|
91 self.unchangedCountLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
92 self.unchangedCountLabel.setObjectName("unchangedCountLabel") |
|
93 self.gridLayout.addWidget(self.unchangedCountLabel, 1, 7, 1, 1) |
|
94 self.verticalLayout.addWidget(self.statisticsGroup) |
|
95 self.progressBar = QtWidgets.QProgressBar(parent=IsortFormattingDialog) |
|
96 self.progressBar.setObjectName("progressBar") |
|
97 self.verticalLayout.addWidget(self.progressBar) |
|
98 self.buttonBox = QtWidgets.QDialogButtonBox(parent=IsortFormattingDialog) |
|
99 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
100 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close) |
|
101 self.buttonBox.setObjectName("buttonBox") |
|
102 self.verticalLayout.addWidget(self.buttonBox) |
|
103 |
|
104 self.retranslateUi(IsortFormattingDialog) |
|
105 QtCore.QMetaObject.connectSlotsByName(IsortFormattingDialog) |
|
106 IsortFormattingDialog.setTabOrder(self.resultsList, self.statusFilterComboBox) |
|
107 |
|
108 def retranslateUi(self, IsortFormattingDialog): |
|
109 _translate = QtCore.QCoreApplication.translate |
|
110 IsortFormattingDialog.setWindowTitle(_translate("IsortFormattingDialog", "Sort Imports with isort")) |
|
111 self.label_2.setText(_translate("IsortFormattingDialog", "Status Filter:")) |
|
112 self.statusFilterComboBox.setToolTip(_translate("IsortFormattingDialog", "Select the status of items to be shown.")) |
|
113 self.resultsList.setSortingEnabled(True) |
|
114 self.resultsList.headerItem().setText(0, _translate("IsortFormattingDialog", "Status")) |
|
115 self.resultsList.headerItem().setText(1, _translate("IsortFormattingDialog", "File Name")) |
|
116 self.statisticsGroup.setTitle(_translate("IsortFormattingDialog", "Statistics")) |
|
117 self.label.setText(_translate("IsortFormattingDialog", "Total Files:")) |
|
118 self.label_3.setText(_translate("IsortFormattingDialog", "Skipped:")) |
|
119 self.label_5.setText(_translate("IsortFormattingDialog", "Failures:")) |
|
120 self.label_6.setText(_translate("IsortFormattingDialog", "Processed:")) |
|
121 self.reformattedLabel.setText(_translate("IsortFormattingDialog", "Resorted:")) |
|
122 self.label_4.setText(_translate("IsortFormattingDialog", "Unchanged:")) |
|
123 self.progressBar.setFormat(_translate("IsortFormattingDialog", "%v/%m Files")) |