diff -r f98253eed7f0 -r 9dfc89a5aadf RefactoringRope/Ui_MatchesDialog.py --- a/RefactoringRope/Ui_MatchesDialog.py Sat Oct 26 15:50:43 2024 +0200 +++ b/RefactoringRope/Ui_MatchesDialog.py Sat Oct 26 15:54:44 2024 +0200 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/MatchesDialog.ui' +# Form implementation generated from reading ui file 'RefactoringRope/MatchesDialog.ui' # -# Created by: PyQt6 UI code generator 6.3.1 +# 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. @@ -19,13 +19,13 @@ self.vboxlayout.setContentsMargins(6, 6, 6, 6) self.vboxlayout.setSpacing(6) self.vboxlayout.setObjectName("vboxlayout") - self.matchesList = QtWidgets.QTreeWidget(MatchesDialog) + self.matchesList = QtWidgets.QTreeWidget(parent=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 = QtWidgets.QDialogButtonBox(parent=MatchesDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) self.buttonBox.setObjectName("buttonBox") @@ -43,13 +43,3 @@ 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())