RefactoringRope/Ui_MatchesDialog.py

branch
eric7
changeset 423
9dfc89a5aadf
parent 422
f98253eed7f0
equal deleted inserted replaced
422:f98253eed7f0 423:9dfc89a5aadf
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/MatchesDialog.ui' 1 # Form implementation generated from reading ui file 'RefactoringRope/MatchesDialog.ui'
2 # 2 #
3 # Created by: PyQt6 UI code generator 6.3.1 3 # Created by: PyQt6 UI code generator 6.7.1
4 # 4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is 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. 6 # run again. Do not edit this file unless you know what you are doing.
7 7
8 8
17 self.vboxlayout = QtWidgets.QVBoxLayout(MatchesDialog) 17 self.vboxlayout = QtWidgets.QVBoxLayout(MatchesDialog)
18 self.vboxlayout.setProperty("margin", 6) 18 self.vboxlayout.setProperty("margin", 6)
19 self.vboxlayout.setContentsMargins(6, 6, 6, 6) 19 self.vboxlayout.setContentsMargins(6, 6, 6, 6)
20 self.vboxlayout.setSpacing(6) 20 self.vboxlayout.setSpacing(6)
21 self.vboxlayout.setObjectName("vboxlayout") 21 self.vboxlayout.setObjectName("vboxlayout")
22 self.matchesList = QtWidgets.QTreeWidget(MatchesDialog) 22 self.matchesList = QtWidgets.QTreeWidget(parent=MatchesDialog)
23 self.matchesList.setAlternatingRowColors(True) 23 self.matchesList.setAlternatingRowColors(True)
24 self.matchesList.setRootIsDecorated(False) 24 self.matchesList.setRootIsDecorated(False)
25 self.matchesList.setItemsExpandable(False) 25 self.matchesList.setItemsExpandable(False)
26 self.matchesList.setObjectName("matchesList") 26 self.matchesList.setObjectName("matchesList")
27 self.vboxlayout.addWidget(self.matchesList) 27 self.vboxlayout.addWidget(self.matchesList)
28 self.buttonBox = QtWidgets.QDialogButtonBox(MatchesDialog) 28 self.buttonBox = QtWidgets.QDialogButtonBox(parent=MatchesDialog)
29 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) 29 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
30 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) 30 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
31 self.buttonBox.setObjectName("buttonBox") 31 self.buttonBox.setObjectName("buttonBox")
32 self.vboxlayout.addWidget(self.buttonBox) 32 self.vboxlayout.addWidget(self.buttonBox)
33 33
41 MatchesDialog.setWindowTitle(_translate("MatchesDialog", "Refactoring Matches")) 41 MatchesDialog.setWindowTitle(_translate("MatchesDialog", "Refactoring Matches"))
42 self.matchesList.setSortingEnabled(True) 42 self.matchesList.setSortingEnabled(True)
43 self.matchesList.headerItem().setText(0, _translate("MatchesDialog", "Filename")) 43 self.matchesList.headerItem().setText(0, _translate("MatchesDialog", "Filename"))
44 self.matchesList.headerItem().setText(1, _translate("MatchesDialog", "Line")) 44 self.matchesList.headerItem().setText(1, _translate("MatchesDialog", "Line"))
45 self.matchesList.headerItem().setText(2, _translate("MatchesDialog", "Confidence")) 45 self.matchesList.headerItem().setText(2, _translate("MatchesDialog", "Confidence"))
46
47
48 if __name__ == "__main__":
49 import sys
50 app = QtWidgets.QApplication(sys.argv)
51 MatchesDialog = QtWidgets.QDialog()
52 ui = Ui_MatchesDialog()
53 ui.setupUi(MatchesDialog)
54 MatchesDialog.show()
55 sys.exit(app.exec())

eric ide

mercurial