--- a/RefactoringRope/Ui_RenameDialog.py Sat Oct 26 15:50:43 2024 +0200 +++ b/RefactoringRope/Ui_RenameDialog.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/RenameDialog.ui' +# Form implementation generated from reading ui file 'RefactoringRope/RenameDialog.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,39 +18,39 @@ self.verticalLayout.setObjectName("verticalLayout") self.hboxlayout = QtWidgets.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") - self.label = QtWidgets.QLabel(RenameDialog) + self.label = QtWidgets.QLabel(parent=RenameDialog) self.label.setObjectName("label") self.hboxlayout.addWidget(self.label) - self.newNameEdit = QtWidgets.QLineEdit(RenameDialog) + self.newNameEdit = QtWidgets.QLineEdit(parent=RenameDialog) self.newNameEdit.setClearButtonEnabled(True) self.newNameEdit.setObjectName("newNameEdit") self.hboxlayout.addWidget(self.newNameEdit) self.verticalLayout.addLayout(self.hboxlayout) - self.allCheckBox = QtWidgets.QCheckBox(RenameDialog) + self.allCheckBox = QtWidgets.QCheckBox(parent=RenameDialog) self.allCheckBox.setObjectName("allCheckBox") self.verticalLayout.addWidget(self.allCheckBox) - self.stringsCheckBox = QtWidgets.QCheckBox(RenameDialog) + self.stringsCheckBox = QtWidgets.QCheckBox(parent=RenameDialog) self.stringsCheckBox.setChecked(True) self.stringsCheckBox.setObjectName("stringsCheckBox") self.verticalLayout.addWidget(self.stringsCheckBox) - self.groupBox = QtWidgets.QGroupBox(RenameDialog) + self.groupBox = QtWidgets.QGroupBox(parent=RenameDialog) self.groupBox.setObjectName("groupBox") self.hboxlayout1 = QtWidgets.QHBoxLayout(self.groupBox) self.hboxlayout1.setContentsMargins(6, 6, 6, 6) self.hboxlayout1.setSpacing(6) self.hboxlayout1.setObjectName("hboxlayout1") - self.ignoreButton = QtWidgets.QRadioButton(self.groupBox) + self.ignoreButton = QtWidgets.QRadioButton(parent=self.groupBox) self.ignoreButton.setChecked(True) self.ignoreButton.setObjectName("ignoreButton") self.hboxlayout1.addWidget(self.ignoreButton) - self.matchButton = QtWidgets.QRadioButton(self.groupBox) + self.matchButton = QtWidgets.QRadioButton(parent=self.groupBox) self.matchButton.setObjectName("matchButton") self.hboxlayout1.addWidget(self.matchButton) - self.askButton = QtWidgets.QRadioButton(self.groupBox) + self.askButton = QtWidgets.QRadioButton(parent=self.groupBox) self.askButton.setObjectName("askButton") self.hboxlayout1.addWidget(self.askButton) self.verticalLayout.addWidget(self.groupBox) - self.buttonBox = QtWidgets.QDialogButtonBox(RenameDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=RenameDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -82,13 +82,3 @@ self.matchButton.setText(_translate("RenameDialog", "Match")) self.askButton.setToolTip(_translate("RenameDialog", "Select to ask for each unsure occurrence")) self.askButton.setText(_translate("RenameDialog", "Ask")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - RenameDialog = QtWidgets.QDialog() - ui = Ui_RenameDialog() - ui.setupUi(RenameDialog) - RenameDialog.show() - sys.exit(app.exec())