--- a/RefactoringRope/Ui_ExtractDialog.py Sat Oct 26 15:50:43 2024 +0200 +++ b/RefactoringRope/Ui_ExtractDialog.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/ExtractDialog.ui' +# Form implementation generated from reading ui file 'RefactoringRope/ExtractDialog.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,22 +18,22 @@ self.verticalLayout.setObjectName("verticalLayout") self.hboxlayout = QtWidgets.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") - self.label = QtWidgets.QLabel(ExtractDialog) + self.label = QtWidgets.QLabel(parent=ExtractDialog) self.label.setObjectName("label") self.hboxlayout.addWidget(self.label) - self.newNameEdit = QtWidgets.QLineEdit(ExtractDialog) + self.newNameEdit = QtWidgets.QLineEdit(parent=ExtractDialog) self.newNameEdit.setClearButtonEnabled(True) self.newNameEdit.setObjectName("newNameEdit") self.hboxlayout.addWidget(self.newNameEdit) self.verticalLayout.addLayout(self.hboxlayout) - self.similarCheckBox = QtWidgets.QCheckBox(ExtractDialog) + self.similarCheckBox = QtWidgets.QCheckBox(parent=ExtractDialog) self.similarCheckBox.setChecked(True) self.similarCheckBox.setObjectName("similarCheckBox") self.verticalLayout.addWidget(self.similarCheckBox) - self.globalCheckBox = QtWidgets.QCheckBox(ExtractDialog) + self.globalCheckBox = QtWidgets.QCheckBox(parent=ExtractDialog) self.globalCheckBox.setObjectName("globalCheckBox") self.verticalLayout.addWidget(self.globalCheckBox) - self.buttonBox = QtWidgets.QDialogButtonBox(ExtractDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=ExtractDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -52,13 +52,3 @@ self.newNameEdit.setToolTip(_translate("ExtractDialog", "Enter the new name")) self.similarCheckBox.setText(_translate("ExtractDialog", "Extract similar expressions/statements")) self.globalCheckBox.setText(_translate("ExtractDialog", "Make the extracted object global")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - ExtractDialog = QtWidgets.QDialog() - ui = Ui_ExtractDialog() - ui.setupUi(ExtractDialog) - ExtractDialog.show() - sys.exit(app.exec())