diff -r f98253eed7f0 -r 9dfc89a5aadf RefactoringRope/Ui_ConfirmationDialog.py --- a/RefactoringRope/Ui_ConfirmationDialog.py Sat Oct 26 15:50:43 2024 +0200 +++ b/RefactoringRope/Ui_ConfirmationDialog.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/ConfirmationDialog.ui' +# Form implementation generated from reading ui file 'RefactoringRope/ConfirmationDialog.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. @@ -18,11 +18,11 @@ self.vboxlayout.setContentsMargins(6, 6, 6, 6) self.vboxlayout.setSpacing(6) self.vboxlayout.setObjectName("vboxlayout") - self.description = QtWidgets.QLabel(ConfirmationDialog) + self.description = QtWidgets.QLabel(parent=ConfirmationDialog) self.description.setWordWrap(True) self.description.setObjectName("description") self.vboxlayout.addWidget(self.description) - self.buttonBox = QtWidgets.QDialogButtonBox(ConfirmationDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=ConfirmationDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -36,13 +36,3 @@ def retranslateUi(self, ConfirmationDialog): _translate = QtCore.QCoreApplication.translate ConfirmationDialog.setWindowTitle(_translate("ConfirmationDialog", "Confirmation")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - ConfirmationDialog = QtWidgets.QDialog() - ui = Ui_ConfirmationDialog() - ui.setupUi(ConfirmationDialog) - ConfirmationDialog.show() - sys.exit(app.exec())