diff -r e3167d354ab6 -r f98253eed7f0 RefactoringRope/Ui_MatchesDialog.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefactoringRope/Ui_MatchesDialog.py Sat Oct 26 15:50:43 2024 +0200 @@ -0,0 +1,55 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/MatchesDialog.ui' +# +# Created by: PyQt6 UI code generator 6.3.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_MatchesDialog(object): + def setupUi(self, MatchesDialog): + MatchesDialog.setObjectName("MatchesDialog") + MatchesDialog.resize(649, 480) + MatchesDialog.setSizeGripEnabled(True) + self.vboxlayout = QtWidgets.QVBoxLayout(MatchesDialog) + self.vboxlayout.setProperty("margin", 6) + self.vboxlayout.setContentsMargins(6, 6, 6, 6) + self.vboxlayout.setSpacing(6) + self.vboxlayout.setObjectName("vboxlayout") + self.matchesList = QtWidgets.QTreeWidget(MatchesDialog) + self.matchesList.setAlternatingRowColors(True) + self.matchesList.setRootIsDecorated(False) + self.matchesList.setItemsExpandable(False) + self.matchesList.setObjectName("matchesList") + self.vboxlayout.addWidget(self.matchesList) + self.buttonBox = QtWidgets.QDialogButtonBox(MatchesDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) + self.buttonBox.setObjectName("buttonBox") + self.vboxlayout.addWidget(self.buttonBox) + + self.retranslateUi(MatchesDialog) + self.buttonBox.rejected.connect(MatchesDialog.reject) # type: ignore + self.buttonBox.accepted.connect(MatchesDialog.accept) # type: ignore + QtCore.QMetaObject.connectSlotsByName(MatchesDialog) + + def retranslateUi(self, MatchesDialog): + _translate = QtCore.QCoreApplication.translate + MatchesDialog.setWindowTitle(_translate("MatchesDialog", "Refactoring Matches")) + self.matchesList.setSortingEnabled(True) + self.matchesList.headerItem().setText(0, _translate("MatchesDialog", "Filename")) + self.matchesList.headerItem().setText(1, _translate("MatchesDialog", "Line")) + self.matchesList.headerItem().setText(2, _translate("MatchesDialog", "Confidence")) + + +if __name__ == "__main__": + import sys + app = QtWidgets.QApplication(sys.argv) + MatchesDialog = QtWidgets.QDialog() + ui = Ui_MatchesDialog() + ui.setupUi(MatchesDialog) + MatchesDialog.show() + sys.exit(app.exec())