Recompiled the forms and made some modal dialog usages clearer with respect to parent relationship. eric7

Sat, 26 Oct 2024 15:54:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Oct 2024 15:54:44 +0200
branch
eric7
changeset 423
9dfc89a5aadf
parent 422
f98253eed7f0
child 424
21a90ac8f200

Recompiled the forms and made some modal dialog usages clearer with respect to parent relationship.

RefactoringRope/ChangeSignatureDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/ConfigurationPage/MouseClickHandlerRopePage.py file | annotate | diff | comparison | revisions
RefactoringRope/ConfigurationPage/Ui_AutoCompletionRopePage.py file | annotate | diff | comparison | revisions
RefactoringRope/ConfigurationPage/Ui_CallTipsRopePage.py file | annotate | diff | comparison | revisions
RefactoringRope/ConfigurationPage/Ui_MouseClickHandlerRopePage.py file | annotate | diff | comparison | revisions
RefactoringRope/RefactoringDialogBase.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_AddParameterDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_ChangeOccurrencesDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_ChangeSignatureDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_ConfirmationDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_ErrorDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_ExtractDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_GetterSetterDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_HelpDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_HistoryDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_InlineArgumentDefaultDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_InlineDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_IntroduceFactoryDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_IntroduceParameterDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_MatchesDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_MethodToMethodObjectDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_MoveDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_PreviewDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_RenameDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_RestructureDialog.py file | annotate | diff | comparison | revisions
RefactoringRope/Ui_UseFunctionDialog.py file | annotate | diff | comparison | revisions
--- a/RefactoringRope/ChangeSignatureDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/ChangeSignatureDialog.py	Sat Oct 26 15:54:44 2024 +0200
@@ -166,7 +166,7 @@
         """
         from .AddParameterDialog import AddParameterDialog
 
-        dlg = AddParameterDialog(self)
+        dlg = AddParameterDialog(parent=self)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             name, default, value = dlg.getData()
             if default:
--- a/RefactoringRope/ConfigurationPage/MouseClickHandlerRopePage.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/ConfigurationPage/MouseClickHandlerRopePage.py	Sat Oct 26 15:54:44 2024 +0200
@@ -71,7 +71,7 @@
         """
         Private slot to change the 'goto' mouse click sequence.
         """
-        dlg = MouseClickDialog(*self.__modifiers["goto"])
+        dlg = MouseClickDialog(*self.__modifiers["goto"], parent=self)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             self.__modifiers["goto"] = dlg.getClick()
             self.gotoClickEdit.setText(
--- a/RefactoringRope/ConfigurationPage/Ui_AutoCompletionRopePage.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/ConfigurationPage/Ui_AutoCompletionRopePage.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/ConfigurationPage/AutoCompletionRopePage.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/ConfigurationPage/AutoCompletionRopePage.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.
@@ -15,10 +15,10 @@
         AutoCompletionRopePage.resize(440, 350)
         self.verticalLayout = QtWidgets.QVBoxLayout(AutoCompletionRopePage)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.headerLabel = QtWidgets.QLabel(AutoCompletionRopePage)
+        self.headerLabel = QtWidgets.QLabel(parent=AutoCompletionRopePage)
         self.headerLabel.setObjectName("headerLabel")
         self.verticalLayout.addWidget(self.headerLabel)
-        self.line15 = QtWidgets.QFrame(AutoCompletionRopePage)
+        self.line15 = QtWidgets.QFrame(parent=AutoCompletionRopePage)
         self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
         self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
         self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
@@ -26,13 +26,13 @@
         self.verticalLayout.addWidget(self.line15)
         self.gridLayout = QtWidgets.QGridLayout()
         self.gridLayout.setObjectName("gridLayout")
-        self.ropeAutocompletionCheckBox = QtWidgets.QCheckBox(AutoCompletionRopePage)
+        self.ropeAutocompletionCheckBox = QtWidgets.QCheckBox(parent=AutoCompletionRopePage)
         self.ropeAutocompletionCheckBox.setObjectName("ropeAutocompletionCheckBox")
         self.gridLayout.addWidget(self.ropeAutocompletionCheckBox, 0, 0, 1, 3)
-        self.label = QtWidgets.QLabel(AutoCompletionRopePage)
+        self.label = QtWidgets.QLabel(parent=AutoCompletionRopePage)
         self.label.setObjectName("label")
         self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
-        self.acMaxfixesSpinBox = QtWidgets.QSpinBox(AutoCompletionRopePage)
+        self.acMaxfixesSpinBox = QtWidgets.QSpinBox(parent=AutoCompletionRopePage)
         self.acMaxfixesSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
         self.acMaxfixesSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus)
         self.acMaxfixesSpinBox.setMinimum(1)
@@ -44,10 +44,10 @@
         self.verticalLayout.addLayout(self.gridLayout)
         spacerItem1 = QtWidgets.QSpacerItem(221, 82, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
         self.verticalLayout.addItem(spacerItem1)
-        self.editPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage)
+        self.editPython3Button = QtWidgets.QPushButton(parent=AutoCompletionRopePage)
         self.editPython3Button.setObjectName("editPython3Button")
         self.verticalLayout.addWidget(self.editPython3Button)
-        self.createPython3Button = QtWidgets.QPushButton(AutoCompletionRopePage)
+        self.createPython3Button = QtWidgets.QPushButton(parent=AutoCompletionRopePage)
         self.createPython3Button.setObjectName("createPython3Button")
         self.verticalLayout.addWidget(self.createPython3Button)
 
@@ -68,13 +68,3 @@
         self.editPython3Button.setText(_translate("AutoCompletionRopePage", "Edit Python 3 rope configuration"))
         self.createPython3Button.setToolTip(_translate("AutoCompletionRopePage", "Press to create a new rope default configuration for Python3"))
         self.createPython3Button.setText(_translate("AutoCompletionRopePage", "Create a Python3 rope configuration"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    AutoCompletionRopePage = QtWidgets.QWidget()
-    ui = Ui_AutoCompletionRopePage()
-    ui.setupUi(AutoCompletionRopePage)
-    AutoCompletionRopePage.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/ConfigurationPage/Ui_CallTipsRopePage.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/ConfigurationPage/Ui_CallTipsRopePage.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/ConfigurationPage/CallTipsRopePage.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/ConfigurationPage/CallTipsRopePage.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.
@@ -15,10 +15,10 @@
         CallTipsRopePage.resize(400, 350)
         self.verticalLayout = QtWidgets.QVBoxLayout(CallTipsRopePage)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.headerLabel = QtWidgets.QLabel(CallTipsRopePage)
+        self.headerLabel = QtWidgets.QLabel(parent=CallTipsRopePage)
         self.headerLabel.setObjectName("headerLabel")
         self.verticalLayout.addWidget(self.headerLabel)
-        self.line15 = QtWidgets.QFrame(CallTipsRopePage)
+        self.line15 = QtWidgets.QFrame(parent=CallTipsRopePage)
         self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
         self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
         self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
@@ -26,13 +26,13 @@
         self.verticalLayout.addWidget(self.line15)
         self.gridLayout = QtWidgets.QGridLayout()
         self.gridLayout.setObjectName("gridLayout")
-        self.ropeCalltipsCheckBox = QtWidgets.QCheckBox(CallTipsRopePage)
+        self.ropeCalltipsCheckBox = QtWidgets.QCheckBox(parent=CallTipsRopePage)
         self.ropeCalltipsCheckBox.setObjectName("ropeCalltipsCheckBox")
         self.gridLayout.addWidget(self.ropeCalltipsCheckBox, 0, 0, 1, 3)
-        self.label_3 = QtWidgets.QLabel(CallTipsRopePage)
+        self.label_3 = QtWidgets.QLabel(parent=CallTipsRopePage)
         self.label_3.setObjectName("label_3")
         self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
-        self.ctMaxfixesSpinBox = QtWidgets.QSpinBox(CallTipsRopePage)
+        self.ctMaxfixesSpinBox = QtWidgets.QSpinBox(parent=CallTipsRopePage)
         self.ctMaxfixesSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
         self.ctMaxfixesSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus)
         self.ctMaxfixesSpinBox.setMinimum(1)
@@ -44,10 +44,10 @@
         self.verticalLayout.addLayout(self.gridLayout)
         spacerItem1 = QtWidgets.QSpacerItem(221, 82, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
         self.verticalLayout.addItem(spacerItem1)
-        self.editPython3Button = QtWidgets.QPushButton(CallTipsRopePage)
+        self.editPython3Button = QtWidgets.QPushButton(parent=CallTipsRopePage)
         self.editPython3Button.setObjectName("editPython3Button")
         self.verticalLayout.addWidget(self.editPython3Button)
-        self.createPython3Button = QtWidgets.QPushButton(CallTipsRopePage)
+        self.createPython3Button = QtWidgets.QPushButton(parent=CallTipsRopePage)
         self.createPython3Button.setObjectName("createPython3Button")
         self.verticalLayout.addWidget(self.createPython3Button)
 
@@ -68,13 +68,3 @@
         self.editPython3Button.setText(_translate("CallTipsRopePage", "Edit Python 3 rope configuration"))
         self.createPython3Button.setToolTip(_translate("CallTipsRopePage", "Press to create a new rope default configuration for Python3"))
         self.createPython3Button.setText(_translate("CallTipsRopePage", "Create a Python3 rope configuration"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    CallTipsRopePage = QtWidgets.QWidget()
-    ui = Ui_CallTipsRopePage()
-    ui.setupUi(CallTipsRopePage)
-    CallTipsRopePage.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/ConfigurationPage/Ui_MouseClickHandlerRopePage.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/ConfigurationPage/Ui_MouseClickHandlerRopePage.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/ConfigurationPage/MouseClickHandlerRopePage.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/ConfigurationPage/MouseClickHandlerRopePage.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.
@@ -15,31 +15,31 @@
         MouseClickHandlerRopePage.resize(400, 300)
         self.verticalLayout = QtWidgets.QVBoxLayout(MouseClickHandlerRopePage)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.headerLabel = QtWidgets.QLabel(MouseClickHandlerRopePage)
+        self.headerLabel = QtWidgets.QLabel(parent=MouseClickHandlerRopePage)
         self.headerLabel.setObjectName("headerLabel")
         self.verticalLayout.addWidget(self.headerLabel)
-        self.line15 = QtWidgets.QFrame(MouseClickHandlerRopePage)
+        self.line15 = QtWidgets.QFrame(parent=MouseClickHandlerRopePage)
         self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
         self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
         self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
         self.line15.setObjectName("line15")
         self.verticalLayout.addWidget(self.line15)
-        self.ropeClickHandlerCheckBox = QtWidgets.QCheckBox(MouseClickHandlerRopePage)
+        self.ropeClickHandlerCheckBox = QtWidgets.QCheckBox(parent=MouseClickHandlerRopePage)
         self.ropeClickHandlerCheckBox.setObjectName("ropeClickHandlerCheckBox")
         self.verticalLayout.addWidget(self.ropeClickHandlerCheckBox)
-        self.groupBox = QtWidgets.QGroupBox(MouseClickHandlerRopePage)
+        self.groupBox = QtWidgets.QGroupBox(parent=MouseClickHandlerRopePage)
         self.groupBox.setObjectName("groupBox")
         self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
         self.horizontalLayout.setObjectName("horizontalLayout")
-        self.label = QtWidgets.QLabel(self.groupBox)
+        self.label = QtWidgets.QLabel(parent=self.groupBox)
         self.label.setObjectName("label")
         self.horizontalLayout.addWidget(self.label)
-        self.gotoClickEdit = QtWidgets.QLineEdit(self.groupBox)
+        self.gotoClickEdit = QtWidgets.QLineEdit(parent=self.groupBox)
         self.gotoClickEdit.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
         self.gotoClickEdit.setReadOnly(True)
         self.gotoClickEdit.setObjectName("gotoClickEdit")
         self.horizontalLayout.addWidget(self.gotoClickEdit)
-        self.changeGotoButton = QtWidgets.QPushButton(self.groupBox)
+        self.changeGotoButton = QtWidgets.QPushButton(parent=self.groupBox)
         self.changeGotoButton.setObjectName("changeGotoButton")
         self.horizontalLayout.addWidget(self.changeGotoButton)
         self.verticalLayout.addWidget(self.groupBox)
@@ -59,13 +59,3 @@
         self.gotoClickEdit.setToolTip(_translate("MouseClickHandlerRopePage", "Shows the mouse click sequence"))
         self.changeGotoButton.setToolTip(_translate("MouseClickHandlerRopePage", "Press to open a dialog to configure the mouse click sequence"))
         self.changeGotoButton.setText(_translate("MouseClickHandlerRopePage", "Change..."))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    MouseClickHandlerRopePage = QtWidgets.QWidget()
-    ui = Ui_MouseClickHandlerRopePage()
-    ui.setupUi(MouseClickHandlerRopePage)
-    MouseClickHandlerRopePage.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/RefactoringDialogBase.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/RefactoringDialogBase.py	Sat Oct 26 15:54:44 2024 +0200
@@ -83,7 +83,7 @@
         """
         from .ChangesPreviewDialog import ChangesPreviewDialog
 
-        dlg = ChangesPreviewDialog(data["Description"], data["Changes"], self)
+        dlg = ChangesPreviewDialog(data["Description"], data["Changes"], parent=self)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             self.applyChanges()
 
--- a/RefactoringRope/Ui_AddParameterDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_AddParameterDialog.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/AddParameterDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/AddParameterDialog.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.
@@ -21,29 +21,29 @@
         self.gridlayout = QtWidgets.QGridLayout()
         self.gridlayout.setSpacing(6)
         self.gridlayout.setObjectName("gridlayout")
-        self.label = QtWidgets.QLabel(AddParameterDialog)
+        self.label = QtWidgets.QLabel(parent=AddParameterDialog)
         self.label.setObjectName("label")
         self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
-        self.nameEdit = QtWidgets.QLineEdit(AddParameterDialog)
+        self.nameEdit = QtWidgets.QLineEdit(parent=AddParameterDialog)
         self.nameEdit.setClearButtonEnabled(True)
         self.nameEdit.setObjectName("nameEdit")
         self.gridlayout.addWidget(self.nameEdit, 0, 1, 1, 1)
-        self.label_2 = QtWidgets.QLabel(AddParameterDialog)
+        self.label_2 = QtWidgets.QLabel(parent=AddParameterDialog)
         self.label_2.setObjectName("label_2")
         self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
-        self.defaultEdit = QtWidgets.QLineEdit(AddParameterDialog)
+        self.defaultEdit = QtWidgets.QLineEdit(parent=AddParameterDialog)
         self.defaultEdit.setClearButtonEnabled(True)
         self.defaultEdit.setObjectName("defaultEdit")
         self.gridlayout.addWidget(self.defaultEdit, 1, 1, 1, 1)
-        self.label_3 = QtWidgets.QLabel(AddParameterDialog)
+        self.label_3 = QtWidgets.QLabel(parent=AddParameterDialog)
         self.label_3.setObjectName("label_3")
         self.gridlayout.addWidget(self.label_3, 2, 0, 1, 1)
-        self.valueEdit = QtWidgets.QLineEdit(AddParameterDialog)
+        self.valueEdit = QtWidgets.QLineEdit(parent=AddParameterDialog)
         self.valueEdit.setClearButtonEnabled(True)
         self.valueEdit.setObjectName("valueEdit")
         self.gridlayout.addWidget(self.valueEdit, 2, 1, 1, 1)
         self.vboxlayout.addLayout(self.gridlayout)
-        self.buttonBox = QtWidgets.QDialogButtonBox(AddParameterDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=AddParameterDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -66,13 +66,3 @@
         self.defaultEdit.setToolTip(_translate("AddParameterDialog", "Enter the default value of the new parameter"))
         self.label_3.setText(_translate("AddParameterDialog", "Value:"))
         self.valueEdit.setToolTip(_translate("AddParameterDialog", "Enter a value for the new parameter that is passed by all calls"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    AddParameterDialog = QtWidgets.QDialog()
-    ui = Ui_AddParameterDialog()
-    ui.setupUi(AddParameterDialog)
-    AddParameterDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_ChangeOccurrencesDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_ChangeOccurrencesDialog.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/ChangeOccurrencesDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/ChangeOccurrencesDialog.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,26 +19,26 @@
         self.vboxlayout.setObjectName("vboxlayout")
         self.hboxlayout = QtWidgets.QHBoxLayout()
         self.hboxlayout.setObjectName("hboxlayout")
-        self.label = QtWidgets.QLabel(ChangeOccurrencesDialog)
+        self.label = QtWidgets.QLabel(parent=ChangeOccurrencesDialog)
         self.label.setObjectName("label")
         self.hboxlayout.addWidget(self.label)
-        self.replaceEdit = QtWidgets.QLineEdit(ChangeOccurrencesDialog)
+        self.replaceEdit = QtWidgets.QLineEdit(parent=ChangeOccurrencesDialog)
         self.replaceEdit.setClearButtonEnabled(True)
         self.replaceEdit.setObjectName("replaceEdit")
         self.hboxlayout.addWidget(self.replaceEdit)
         self.vboxlayout.addLayout(self.hboxlayout)
-        self.onlyCallsCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
+        self.onlyCallsCheckBox = QtWidgets.QCheckBox(parent=ChangeOccurrencesDialog)
         self.onlyCallsCheckBox.setObjectName("onlyCallsCheckBox")
         self.vboxlayout.addWidget(self.onlyCallsCheckBox)
-        self.readsCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
+        self.readsCheckBox = QtWidgets.QCheckBox(parent=ChangeOccurrencesDialog)
         self.readsCheckBox.setChecked(True)
         self.readsCheckBox.setObjectName("readsCheckBox")
         self.vboxlayout.addWidget(self.readsCheckBox)
-        self.writesCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
+        self.writesCheckBox = QtWidgets.QCheckBox(parent=ChangeOccurrencesDialog)
         self.writesCheckBox.setChecked(True)
         self.writesCheckBox.setObjectName("writesCheckBox")
         self.vboxlayout.addWidget(self.writesCheckBox)
-        self.buttonBox = QtWidgets.QDialogButtonBox(ChangeOccurrencesDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=ChangeOccurrencesDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -60,13 +60,3 @@
         self.readsCheckBox.setText(_translate("ChangeOccurrencesDialog", "Reads"))
         self.writesCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences with write access"))
         self.writesCheckBox.setText(_translate("ChangeOccurrencesDialog", "Writes"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    ChangeOccurrencesDialog = QtWidgets.QDialog()
-    ui = Ui_ChangeOccurrencesDialog()
-    ui.setupUi(ChangeOccurrencesDialog)
-    ChangeOccurrencesDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_ChangeSignatureDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_ChangeSignatureDialog.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/ChangeSignatureDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/ChangeSignatureDialog.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.
@@ -21,22 +21,22 @@
         self.gridlayout = QtWidgets.QGridLayout()
         self.gridlayout.setSpacing(6)
         self.gridlayout.setObjectName("gridlayout")
-        self.label = QtWidgets.QLabel(ChangeSignatureDialog)
+        self.label = QtWidgets.QLabel(parent=ChangeSignatureDialog)
         self.label.setObjectName("label")
         self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
-        self.parameterList = QtWidgets.QListWidget(ChangeSignatureDialog)
+        self.parameterList = QtWidgets.QListWidget(parent=ChangeSignatureDialog)
         self.parameterList.setObjectName("parameterList")
         self.gridlayout.addWidget(self.parameterList, 1, 0, 5, 1)
-        self.upButton = QtWidgets.QPushButton(ChangeSignatureDialog)
+        self.upButton = QtWidgets.QPushButton(parent=ChangeSignatureDialog)
         self.upButton.setObjectName("upButton")
         self.gridlayout.addWidget(self.upButton, 1, 1, 1, 1)
-        self.downButton = QtWidgets.QPushButton(ChangeSignatureDialog)
+        self.downButton = QtWidgets.QPushButton(parent=ChangeSignatureDialog)
         self.downButton.setObjectName("downButton")
         self.gridlayout.addWidget(self.downButton, 2, 1, 1, 1)
-        self.removeButton = QtWidgets.QPushButton(ChangeSignatureDialog)
+        self.removeButton = QtWidgets.QPushButton(parent=ChangeSignatureDialog)
         self.removeButton.setObjectName("removeButton")
         self.gridlayout.addWidget(self.removeButton, 3, 1, 1, 1)
-        self.addButton = QtWidgets.QPushButton(ChangeSignatureDialog)
+        self.addButton = QtWidgets.QPushButton(parent=ChangeSignatureDialog)
         self.addButton.setObjectName("addButton")
         self.gridlayout.addWidget(self.addButton, 4, 1, 1, 1)
         spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
@@ -44,18 +44,18 @@
         self.verticalLayout.addLayout(self.gridlayout)
         self.horizontalLayout = QtWidgets.QHBoxLayout()
         self.horizontalLayout.setObjectName("horizontalLayout")
-        self.label_2 = QtWidgets.QLabel(ChangeSignatureDialog)
+        self.label_2 = QtWidgets.QLabel(parent=ChangeSignatureDialog)
         self.label_2.setObjectName("label_2")
         self.horizontalLayout.addWidget(self.label_2)
-        self.autodefEdit = QtWidgets.QLineEdit(ChangeSignatureDialog)
+        self.autodefEdit = QtWidgets.QLineEdit(parent=ChangeSignatureDialog)
         self.autodefEdit.setClearButtonEnabled(True)
         self.autodefEdit.setObjectName("autodefEdit")
         self.horizontalLayout.addWidget(self.autodefEdit)
         self.verticalLayout.addLayout(self.horizontalLayout)
-        self.hierarchyCheckBox = QtWidgets.QCheckBox(ChangeSignatureDialog)
+        self.hierarchyCheckBox = QtWidgets.QCheckBox(parent=ChangeSignatureDialog)
         self.hierarchyCheckBox.setObjectName("hierarchyCheckBox")
         self.verticalLayout.addWidget(self.hierarchyCheckBox)
-        self.buttonBox = QtWidgets.QDialogButtonBox(ChangeSignatureDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=ChangeSignatureDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -88,13 +88,3 @@
         self.label_2.setText(_translate("ChangeSignatureDialog", "Default &value for moved parameters:"))
         self.autodefEdit.setToolTip(_translate("ChangeSignatureDialog", "Enter the default value for parameters moved after one with a default value"))
         self.hierarchyCheckBox.setText(_translate("ChangeSignatureDialog", "Do for all matching methods in class &hierarchy"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    ChangeSignatureDialog = QtWidgets.QDialog()
-    ui = Ui_ChangeSignatureDialog()
-    ui.setupUi(ChangeSignatureDialog)
-    ChangeSignatureDialog.show()
-    sys.exit(app.exec())
--- 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())
--- a/RefactoringRope/Ui_ErrorDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_ErrorDialog.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/ErrorDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/ErrorDialog.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.
@@ -23,23 +23,23 @@
         self.verticalLayout = QtWidgets.QVBoxLayout(ErrorDialog)
         self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetFixedSize)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.errorMessageLabel = QtWidgets.QLabel(ErrorDialog)
+        self.errorMessageLabel = QtWidgets.QLabel(parent=ErrorDialog)
         self.errorMessageLabel.setText("")
         self.errorMessageLabel.setWordWrap(True)
         self.errorMessageLabel.setObjectName("errorMessageLabel")
         self.verticalLayout.addWidget(self.errorMessageLabel)
-        self.tracebackButton = QtWidgets.QPushButton(ErrorDialog)
+        self.tracebackButton = QtWidgets.QPushButton(parent=ErrorDialog)
         self.tracebackButton.setMinimumSize(QtCore.QSize(480, 0))
         self.tracebackButton.setCheckable(True)
         self.tracebackButton.setObjectName("tracebackButton")
         self.verticalLayout.addWidget(self.tracebackButton)
-        self.tracebackEdit = QtWidgets.QPlainTextEdit(ErrorDialog)
+        self.tracebackEdit = QtWidgets.QPlainTextEdit(parent=ErrorDialog)
         self.tracebackEdit.setTabChangesFocus(True)
         self.tracebackEdit.setLineWrapMode(QtWidgets.QPlainTextEdit.LineWrapMode.NoWrap)
         self.tracebackEdit.setReadOnly(True)
         self.tracebackEdit.setObjectName("tracebackEdit")
         self.verticalLayout.addWidget(self.tracebackEdit)
-        self.buttonBox = QtWidgets.QDialogButtonBox(ErrorDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=ErrorDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
         self.buttonBox.setObjectName("buttonBox")
@@ -54,13 +54,3 @@
     def retranslateUi(self, ErrorDialog):
         _translate = QtCore.QCoreApplication.translate
         self.tracebackButton.setText(_translate("ErrorDialog", "Traceback"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    ErrorDialog = QtWidgets.QDialog()
-    ui = Ui_ErrorDialog()
-    ui.setupUi(ErrorDialog)
-    ErrorDialog.show()
-    sys.exit(app.exec())
--- 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())
--- a/RefactoringRope/Ui_GetterSetterDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_GetterSetterDialog.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/GetterSetterDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/GetterSetterDialog.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.
@@ -16,24 +16,24 @@
         self.gridlayout = QtWidgets.QGridLayout(GetterSetterDialog)
         self.gridlayout.setContentsMargins(6, 6, 6, 6)
         self.gridlayout.setObjectName("gridlayout")
-        self.typeCheckBox = QtWidgets.QCheckBox(GetterSetterDialog)
+        self.typeCheckBox = QtWidgets.QCheckBox(parent=GetterSetterDialog)
         self.typeCheckBox.setObjectName("typeCheckBox")
         self.gridlayout.addWidget(self.typeCheckBox, 0, 0, 1, 2)
-        self.label = QtWidgets.QLabel(GetterSetterDialog)
+        self.label = QtWidgets.QLabel(parent=GetterSetterDialog)
         self.label.setObjectName("label")
         self.gridlayout.addWidget(self.label, 1, 0, 1, 1)
-        self.getterEdit = QtWidgets.QLineEdit(GetterSetterDialog)
+        self.getterEdit = QtWidgets.QLineEdit(parent=GetterSetterDialog)
         self.getterEdit.setClearButtonEnabled(True)
         self.getterEdit.setObjectName("getterEdit")
         self.gridlayout.addWidget(self.getterEdit, 1, 1, 1, 1)
-        self.label_2 = QtWidgets.QLabel(GetterSetterDialog)
+        self.label_2 = QtWidgets.QLabel(parent=GetterSetterDialog)
         self.label_2.setObjectName("label_2")
         self.gridlayout.addWidget(self.label_2, 2, 0, 1, 1)
-        self.setterEdit = QtWidgets.QLineEdit(GetterSetterDialog)
+        self.setterEdit = QtWidgets.QLineEdit(parent=GetterSetterDialog)
         self.setterEdit.setClearButtonEnabled(True)
         self.setterEdit.setObjectName("setterEdit")
         self.gridlayout.addWidget(self.setterEdit, 2, 1, 1, 1)
-        self.buttonBox = QtWidgets.QDialogButtonBox(GetterSetterDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=GetterSetterDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -56,13 +56,3 @@
         self.getterEdit.setToolTip(_translate("GetterSetterDialog", "Enter the name of the getter method"))
         self.label_2.setText(_translate("GetterSetterDialog", "Setter:"))
         self.setterEdit.setToolTip(_translate("GetterSetterDialog", "Enter the name of the setter method"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    GetterSetterDialog = QtWidgets.QDialog()
-    ui = Ui_GetterSetterDialog()
-    ui.setupUi(GetterSetterDialog)
-    GetterSetterDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_HelpDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_HelpDialog.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/HelpDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/HelpDialog.ui'
 #
-# Created by: PyQt6 UI code generator 6.4.0
+# 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.
@@ -16,15 +16,15 @@
         HelpDialog.setSizeGripEnabled(True)
         self.verticalLayout = QtWidgets.QVBoxLayout(HelpDialog)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.helpEdit = QtWidgets.QTextEdit(HelpDialog)
+        self.helpEdit = QtWidgets.QTextEdit(parent=HelpDialog)
         self.helpEdit.setReadOnly(True)
         self.helpEdit.setObjectName("helpEdit")
         self.verticalLayout.addWidget(self.helpEdit)
-        self.searchWidget = EricTextEditSearchWidget(HelpDialog)
+        self.searchWidget = EricTextEditSearchWidget(parent=HelpDialog)
         self.searchWidget.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus)
         self.searchWidget.setObjectName("searchWidget")
         self.verticalLayout.addWidget(self.searchWidget)
-        self.buttonBox = QtWidgets.QDialogButtonBox(HelpDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=HelpDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
         self.buttonBox.setObjectName("buttonBox")
@@ -40,13 +40,3 @@
         _translate = QtCore.QCoreApplication.translate
         HelpDialog.setWindowTitle(_translate("HelpDialog", "Help"))
 from eric7.EricWidgets.EricTextEditSearchWidget import EricTextEditSearchWidget
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    HelpDialog = QtWidgets.QDialog()
-    ui = Ui_HelpDialog()
-    ui.setupUi(HelpDialog)
-    HelpDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_HistoryDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_HistoryDialog.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/HistoryDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/HistoryDialog.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.
@@ -16,11 +16,11 @@
         HistoryDialog.setSizeGripEnabled(True)
         self.verticalLayout_3 = QtWidgets.QVBoxLayout(HistoryDialog)
         self.verticalLayout_3.setObjectName("verticalLayout_3")
-        self.header = QtWidgets.QLabel(HistoryDialog)
+        self.header = QtWidgets.QLabel(parent=HistoryDialog)
         self.header.setWordWrap(True)
         self.header.setObjectName("header")
         self.verticalLayout_3.addWidget(self.header)
-        self.splitter_2 = QtWidgets.QSplitter(HistoryDialog)
+        self.splitter_2 = QtWidgets.QSplitter(parent=HistoryDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(0)
@@ -28,7 +28,7 @@
         self.splitter_2.setSizePolicy(sizePolicy)
         self.splitter_2.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.splitter_2.setObjectName("splitter_2")
-        self.splitter = QtWidgets.QSplitter(self.splitter_2)
+        self.splitter = QtWidgets.QSplitter(parent=self.splitter_2)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(1)
         sizePolicy.setVerticalStretch(0)
@@ -36,33 +36,33 @@
         self.splitter.setSizePolicy(sizePolicy)
         self.splitter.setOrientation(QtCore.Qt.Orientation.Vertical)
         self.splitter.setObjectName("splitter")
-        self.widget = QtWidgets.QWidget(self.splitter)
+        self.widget = QtWidgets.QWidget(parent=self.splitter)
         self.widget.setObjectName("widget")
         self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget)
         self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
         self.verticalLayout_2.setObjectName("verticalLayout_2")
-        self.description = QtWidgets.QLabel(self.widget)
+        self.description = QtWidgets.QLabel(parent=self.widget)
         self.description.setWordWrap(True)
         self.description.setObjectName("description")
         self.verticalLayout_2.addWidget(self.description)
-        self.undoChangesList = QtWidgets.QListWidget(self.widget)
+        self.undoChangesList = QtWidgets.QListWidget(parent=self.widget)
         self.undoChangesList.setAlternatingRowColors(True)
         self.undoChangesList.setObjectName("undoChangesList")
         self.verticalLayout_2.addWidget(self.undoChangesList)
-        self.widget1 = QtWidgets.QWidget(self.splitter)
+        self.widget1 = QtWidgets.QWidget(parent=self.splitter)
         self.widget1.setObjectName("widget1")
         self.verticalLayout = QtWidgets.QVBoxLayout(self.widget1)
         self.verticalLayout.setContentsMargins(0, 0, 0, 0)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.description_2 = QtWidgets.QLabel(self.widget1)
+        self.description_2 = QtWidgets.QLabel(parent=self.widget1)
         self.description_2.setWordWrap(True)
         self.description_2.setObjectName("description_2")
         self.verticalLayout.addWidget(self.description_2)
-        self.redoChangesList = QtWidgets.QListWidget(self.widget1)
+        self.redoChangesList = QtWidgets.QListWidget(parent=self.widget1)
         self.redoChangesList.setAlternatingRowColors(True)
         self.redoChangesList.setObjectName("redoChangesList")
         self.verticalLayout.addWidget(self.redoChangesList)
-        self.previewEdit = QtWidgets.QTextEdit(self.splitter_2)
+        self.previewEdit = QtWidgets.QTextEdit(parent=self.splitter_2)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(2)
         sizePolicy.setVerticalStretch(0)
@@ -73,7 +73,7 @@
         self.previewEdit.setReadOnly(True)
         self.previewEdit.setObjectName("previewEdit")
         self.verticalLayout_3.addWidget(self.splitter_2)
-        self.buttonBox = QtWidgets.QDialogButtonBox(HistoryDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=HistoryDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
         self.buttonBox.setObjectName("buttonBox")
@@ -93,13 +93,3 @@
         self.undoChangesList.setToolTip(_translate("HistoryDialog", "Select a change to preview on the right"))
         self.description_2.setText(_translate("HistoryDialog", "Redo History"))
         self.redoChangesList.setToolTip(_translate("HistoryDialog", "Select a change to preview on the right"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    HistoryDialog = QtWidgets.QDialog()
-    ui = Ui_HistoryDialog()
-    ui.setupUi(HistoryDialog)
-    HistoryDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_InlineArgumentDefaultDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_InlineArgumentDefaultDialog.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/InlineArgumentDefaultDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/InlineArgumentDefaultDialog.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,13 +18,13 @@
         self.vboxlayout.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout.setSpacing(6)
         self.vboxlayout.setObjectName("vboxlayout")
-        self.label = QtWidgets.QLabel(InlineArgumentDefaultDialog)
+        self.label = QtWidgets.QLabel(parent=InlineArgumentDefaultDialog)
         self.label.setObjectName("label")
         self.vboxlayout.addWidget(self.label)
-        self.parameterList = QtWidgets.QListWidget(InlineArgumentDefaultDialog)
+        self.parameterList = QtWidgets.QListWidget(parent=InlineArgumentDefaultDialog)
         self.parameterList.setObjectName("parameterList")
         self.vboxlayout.addWidget(self.parameterList)
-        self.buttonBox = QtWidgets.QDialogButtonBox(InlineArgumentDefaultDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=InlineArgumentDefaultDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.NoButton|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -39,13 +39,3 @@
         _translate = QtCore.QCoreApplication.translate
         InlineArgumentDefaultDialog.setWindowTitle(_translate("InlineArgumentDefaultDialog", "Inline Argument Default"))
         self.label.setText(_translate("InlineArgumentDefaultDialog", "Choose which to inline:"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    InlineArgumentDefaultDialog = QtWidgets.QDialog()
-    ui = Ui_InlineArgumentDefaultDialog()
-    ui.setupUi(InlineArgumentDefaultDialog)
-    InlineArgumentDefaultDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_InlineDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_InlineDialog.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/InlineDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/InlineDialog.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,20 +18,20 @@
         self.verticalLayout.setContentsMargins(6, 6, 6, 6)
         self.verticalLayout.setSpacing(6)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.description = QtWidgets.QLabel(InlineDialog)
+        self.description = QtWidgets.QLabel(parent=InlineDialog)
         self.description.setObjectName("description")
         self.verticalLayout.addWidget(self.description)
-        self.removeCheckBox = QtWidgets.QCheckBox(InlineDialog)
+        self.removeCheckBox = QtWidgets.QCheckBox(parent=InlineDialog)
         self.removeCheckBox.setChecked(True)
         self.removeCheckBox.setObjectName("removeCheckBox")
         self.verticalLayout.addWidget(self.removeCheckBox)
-        self.currentCheckBox = QtWidgets.QCheckBox(InlineDialog)
+        self.currentCheckBox = QtWidgets.QCheckBox(parent=InlineDialog)
         self.currentCheckBox.setObjectName("currentCheckBox")
         self.verticalLayout.addWidget(self.currentCheckBox)
-        self.hierarchyCheckBox = QtWidgets.QCheckBox(InlineDialog)
+        self.hierarchyCheckBox = QtWidgets.QCheckBox(parent=InlineDialog)
         self.hierarchyCheckBox.setObjectName("hierarchyCheckBox")
         self.verticalLayout.addWidget(self.hierarchyCheckBox)
-        self.buttonBox = QtWidgets.QDialogButtonBox(InlineDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=InlineDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -50,13 +50,3 @@
         self.removeCheckBox.setText(_translate("InlineDialog", "&Remove the definition"))
         self.currentCheckBox.setText(_translate("InlineDialog", "Only inline the &current occurrence"))
         self.hierarchyCheckBox.setText(_translate("InlineDialog", "Do for all matching methods in class &hierarchy"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    InlineDialog = QtWidgets.QDialog()
-    ui = Ui_InlineDialog()
-    ui.setupUi(InlineDialog)
-    InlineDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_IntroduceFactoryDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_IntroduceFactoryDialog.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/IntroduceFactoryDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/IntroduceFactoryDialog.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,22 +19,22 @@
         self.vboxlayout.setObjectName("vboxlayout")
         self.hboxlayout = QtWidgets.QHBoxLayout()
         self.hboxlayout.setObjectName("hboxlayout")
-        self.label = QtWidgets.QLabel(IntroduceFactoryDialog)
+        self.label = QtWidgets.QLabel(parent=IntroduceFactoryDialog)
         self.label.setObjectName("label")
         self.hboxlayout.addWidget(self.label)
-        self.nameEdit = QtWidgets.QLineEdit(IntroduceFactoryDialog)
+        self.nameEdit = QtWidgets.QLineEdit(parent=IntroduceFactoryDialog)
         self.nameEdit.setClearButtonEnabled(True)
         self.nameEdit.setObjectName("nameEdit")
         self.hboxlayout.addWidget(self.nameEdit)
         self.vboxlayout.addLayout(self.hboxlayout)
-        self.staticButton = QtWidgets.QRadioButton(IntroduceFactoryDialog)
+        self.staticButton = QtWidgets.QRadioButton(parent=IntroduceFactoryDialog)
         self.staticButton.setChecked(True)
         self.staticButton.setObjectName("staticButton")
         self.vboxlayout.addWidget(self.staticButton)
-        self.globalButton = QtWidgets.QRadioButton(IntroduceFactoryDialog)
+        self.globalButton = QtWidgets.QRadioButton(parent=IntroduceFactoryDialog)
         self.globalButton.setObjectName("globalButton")
         self.vboxlayout.addWidget(self.globalButton)
-        self.buttonBox = QtWidgets.QDialogButtonBox(IntroduceFactoryDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=IntroduceFactoryDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -56,13 +56,3 @@
         self.staticButton.setText(_translate("IntroduceFactoryDialog", "Use static method"))
         self.globalButton.setToolTip(_translate("IntroduceFactoryDialog", "Select to make the factory method a global function"))
         self.globalButton.setText(_translate("IntroduceFactoryDialog", "Use global function"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    IntroduceFactoryDialog = QtWidgets.QDialog()
-    ui = Ui_IntroduceFactoryDialog()
-    ui.setupUi(IntroduceFactoryDialog)
-    IntroduceFactoryDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_IntroduceParameterDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_IntroduceParameterDialog.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/IntroduceParameterDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/IntroduceParameterDialog.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.
@@ -20,15 +20,15 @@
         self.vboxlayout.setObjectName("vboxlayout")
         self.hboxlayout = QtWidgets.QHBoxLayout()
         self.hboxlayout.setObjectName("hboxlayout")
-        self.label = QtWidgets.QLabel(IntroduceParameterDialog)
+        self.label = QtWidgets.QLabel(parent=IntroduceParameterDialog)
         self.label.setObjectName("label")
         self.hboxlayout.addWidget(self.label)
-        self.nameEdit = QtWidgets.QLineEdit(IntroduceParameterDialog)
+        self.nameEdit = QtWidgets.QLineEdit(parent=IntroduceParameterDialog)
         self.nameEdit.setClearButtonEnabled(True)
         self.nameEdit.setObjectName("nameEdit")
         self.hboxlayout.addWidget(self.nameEdit)
         self.vboxlayout.addLayout(self.hboxlayout)
-        self.buttonBox = QtWidgets.QDialogButtonBox(IntroduceParameterDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=IntroduceParameterDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -42,13 +42,3 @@
         _translate = QtCore.QCoreApplication.translate
         IntroduceParameterDialog.setWindowTitle(_translate("IntroduceParameterDialog", "Introduce Parameter"))
         self.label.setText(_translate("IntroduceParameterDialog", "New Parameter Name:"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    IntroduceParameterDialog = QtWidgets.QDialog()
-    ui = Ui_IntroduceParameterDialog()
-    ui.setupUi(IntroduceParameterDialog)
-    IntroduceParameterDialog.show()
-    sys.exit(app.exec())
--- 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())
--- a/RefactoringRope/Ui_MethodToMethodObjectDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_MethodToMethodObjectDialog.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/MethodToMethodObjectDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/MethodToMethodObjectDialog.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.
@@ -20,15 +20,15 @@
         self.vboxlayout.setObjectName("vboxlayout")
         self.hboxlayout = QtWidgets.QHBoxLayout()
         self.hboxlayout.setObjectName("hboxlayout")
-        self.label = QtWidgets.QLabel(MethodToMethodObjectDialog)
+        self.label = QtWidgets.QLabel(parent=MethodToMethodObjectDialog)
         self.label.setObjectName("label")
         self.hboxlayout.addWidget(self.label)
-        self.nameEdit = QtWidgets.QLineEdit(MethodToMethodObjectDialog)
+        self.nameEdit = QtWidgets.QLineEdit(parent=MethodToMethodObjectDialog)
         self.nameEdit.setClearButtonEnabled(True)
         self.nameEdit.setObjectName("nameEdit")
         self.hboxlayout.addWidget(self.nameEdit)
         self.vboxlayout.addLayout(self.hboxlayout)
-        self.buttonBox = QtWidgets.QDialogButtonBox(MethodToMethodObjectDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=MethodToMethodObjectDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -42,13 +42,3 @@
         _translate = QtCore.QCoreApplication.translate
         MethodToMethodObjectDialog.setWindowTitle(_translate("MethodToMethodObjectDialog", "Replace Method With Method Object"))
         self.label.setText(_translate("MethodToMethodObjectDialog", "New Class Name:"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    MethodToMethodObjectDialog = QtWidgets.QDialog()
-    ui = Ui_MethodToMethodObjectDialog()
-    ui.setupUi(MethodToMethodObjectDialog)
-    MethodToMethodObjectDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_MoveDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_MoveDialog.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/MoveDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/MoveDialog.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.
@@ -16,7 +16,7 @@
         MoveDialog.setSizeGripEnabled(True)
         self.verticalLayout = QtWidgets.QVBoxLayout(MoveDialog)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.moveStackWidget = QtWidgets.QStackedWidget(MoveDialog)
+        self.moveStackWidget = QtWidgets.QStackedWidget(parent=MoveDialog)
         self.moveStackWidget.setObjectName("moveStackWidget")
         self.frontPage = QtWidgets.QWidget()
         self.frontPage.setObjectName("frontPage")
@@ -26,16 +26,16 @@
         self.gridLayout = QtWidgets.QGridLayout(self.moveMethodPage)
         self.gridLayout.setContentsMargins(0, 0, 0, 0)
         self.gridLayout.setObjectName("gridLayout")
-        self.label_2 = QtWidgets.QLabel(self.moveMethodPage)
+        self.label_2 = QtWidgets.QLabel(parent=self.moveMethodPage)
         self.label_2.setObjectName("label_2")
         self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
-        self.methodEdit = QtWidgets.QLineEdit(self.moveMethodPage)
+        self.methodEdit = QtWidgets.QLineEdit(parent=self.moveMethodPage)
         self.methodEdit.setObjectName("methodEdit")
         self.gridLayout.addWidget(self.methodEdit, 1, 1, 1, 1)
-        self.label = QtWidgets.QLabel(self.moveMethodPage)
+        self.label = QtWidgets.QLabel(parent=self.moveMethodPage)
         self.label.setObjectName("label")
         self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
-        self.attributeEdit = QtWidgets.QLineEdit(self.moveMethodPage)
+        self.attributeEdit = QtWidgets.QLineEdit(parent=self.moveMethodPage)
         self.attributeEdit.setObjectName("attributeEdit")
         self.gridLayout.addWidget(self.attributeEdit, 0, 1, 1, 1)
         self.moveStackWidget.addWidget(self.moveMethodPage)
@@ -46,14 +46,14 @@
         self.verticalLayout_2.setObjectName("verticalLayout_2")
         self.horizontalLayout = QtWidgets.QHBoxLayout()
         self.horizontalLayout.setObjectName("horizontalLayout")
-        self.destinationLabel = QtWidgets.QLabel(self.moveGlobalMethodOrModulePage)
+        self.destinationLabel = QtWidgets.QLabel(parent=self.moveGlobalMethodOrModulePage)
         self.destinationLabel.setObjectName("destinationLabel")
         self.horizontalLayout.addWidget(self.destinationLabel)
-        self.destinationEdit = QtWidgets.QLineEdit(self.moveGlobalMethodOrModulePage)
+        self.destinationEdit = QtWidgets.QLineEdit(parent=self.moveGlobalMethodOrModulePage)
         self.destinationEdit.setClearButtonEnabled(True)
         self.destinationEdit.setObjectName("destinationEdit")
         self.horizontalLayout.addWidget(self.destinationEdit)
-        self.selectButton = QtWidgets.QPushButton(self.moveGlobalMethodOrModulePage)
+        self.selectButton = QtWidgets.QPushButton(parent=self.moveGlobalMethodOrModulePage)
         self.selectButton.setObjectName("selectButton")
         self.horizontalLayout.addWidget(self.selectButton)
         self.verticalLayout_2.addLayout(self.horizontalLayout)
@@ -61,7 +61,7 @@
         self.verticalLayout_2.addItem(spacerItem)
         self.moveStackWidget.addWidget(self.moveGlobalMethodOrModulePage)
         self.verticalLayout.addWidget(self.moveStackWidget)
-        self.buttonBox = QtWidgets.QDialogButtonBox(MoveDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=MoveDialog)
         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.label.setText(_translate("MoveDialog", "Destination Attribute:"))
         self.attributeEdit.setToolTip(_translate("MoveDialog", "Enter the name of the attribute to move to"))
         self.selectButton.setText(_translate("MoveDialog", "..."))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    MoveDialog = QtWidgets.QDialog()
-    ui = Ui_MoveDialog()
-    ui.setupUi(MoveDialog)
-    MoveDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_PreviewDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_PreviewDialog.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/PreviewDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/PreviewDialog.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.
@@ -20,11 +20,11 @@
         self.vboxlayout.setObjectName("vboxlayout")
         self.gridlayout = QtWidgets.QGridLayout()
         self.gridlayout.setObjectName("gridlayout")
-        self.description = QtWidgets.QLabel(PreviewDialog)
+        self.description = QtWidgets.QLabel(parent=PreviewDialog)
         self.description.setWordWrap(True)
         self.description.setObjectName("description")
         self.gridlayout.addWidget(self.description, 0, 0, 1, 1)
-        self.previewEdit = QtWidgets.QTextEdit(PreviewDialog)
+        self.previewEdit = QtWidgets.QTextEdit(parent=PreviewDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(2)
         sizePolicy.setVerticalStretch(0)
@@ -35,7 +35,7 @@
         self.previewEdit.setReadOnly(True)
         self.previewEdit.setObjectName("previewEdit")
         self.gridlayout.addWidget(self.previewEdit, 0, 1, 2, 1)
-        self.changesList = QtWidgets.QListWidget(PreviewDialog)
+        self.changesList = QtWidgets.QListWidget(parent=PreviewDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(1)
         sizePolicy.setVerticalStretch(0)
@@ -45,7 +45,7 @@
         self.changesList.setObjectName("changesList")
         self.gridlayout.addWidget(self.changesList, 1, 0, 1, 1)
         self.vboxlayout.addLayout(self.gridlayout)
-        self.buttonBox = QtWidgets.QDialogButtonBox(PreviewDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=PreviewDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.NoButton)
         self.buttonBox.setObjectName("buttonBox")
@@ -63,13 +63,3 @@
         PreviewDialog.setWindowTitle(_translate("PreviewDialog", "Preview Changes"))
         self.description.setText(_translate("PreviewDialog", "Changes"))
         self.changesList.setToolTip(_translate("PreviewDialog", "Select a change to preview on the right"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    PreviewDialog = QtWidgets.QDialog()
-    ui = Ui_PreviewDialog()
-    ui.setupUi(PreviewDialog)
-    PreviewDialog.show()
-    sys.exit(app.exec())
--- 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())
--- a/RefactoringRope/Ui_RestructureDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_RestructureDialog.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/RestructureDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/RestructureDialog.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.
@@ -17,11 +17,11 @@
         self.gridlayout = QtWidgets.QGridLayout(RestructureDialog)
         self.gridlayout.setContentsMargins(6, 6, 6, 6)
         self.gridlayout.setObjectName("gridlayout")
-        self.label = QtWidgets.QLabel(RestructureDialog)
+        self.label = QtWidgets.QLabel(parent=RestructureDialog)
         self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
         self.label.setObjectName("label")
         self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
-        self.patternEdit = QtWidgets.QTextEdit(RestructureDialog)
+        self.patternEdit = QtWidgets.QTextEdit(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(1)
@@ -30,11 +30,11 @@
         self.patternEdit.setAcceptRichText(False)
         self.patternEdit.setObjectName("patternEdit")
         self.gridlayout.addWidget(self.patternEdit, 0, 1, 1, 1)
-        self.label_2 = QtWidgets.QLabel(RestructureDialog)
+        self.label_2 = QtWidgets.QLabel(parent=RestructureDialog)
         self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
         self.label_2.setObjectName("label_2")
         self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
-        self.goalEdit = QtWidgets.QTextEdit(RestructureDialog)
+        self.goalEdit = QtWidgets.QTextEdit(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(1)
@@ -43,7 +43,7 @@
         self.goalEdit.setAcceptRichText(False)
         self.goalEdit.setObjectName("goalEdit")
         self.gridlayout.addWidget(self.goalEdit, 1, 1, 1, 1)
-        self.groupBox = QtWidgets.QGroupBox(RestructureDialog)
+        self.groupBox = QtWidgets.QGroupBox(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(2)
@@ -53,13 +53,13 @@
         self.vboxlayout = QtWidgets.QVBoxLayout(self.groupBox)
         self.vboxlayout.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout.setObjectName("vboxlayout")
-        self.argsEdit = QtWidgets.QTextEdit(self.groupBox)
+        self.argsEdit = QtWidgets.QTextEdit(parent=self.groupBox)
         self.argsEdit.setLineWrapMode(QtWidgets.QTextEdit.LineWrapMode.NoWrap)
         self.argsEdit.setAcceptRichText(False)
         self.argsEdit.setObjectName("argsEdit")
         self.vboxlayout.addWidget(self.argsEdit)
         self.gridlayout.addWidget(self.groupBox, 2, 0, 1, 2)
-        self.groupBox_2 = QtWidgets.QGroupBox(RestructureDialog)
+        self.groupBox_2 = QtWidgets.QGroupBox(parent=RestructureDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(2)
@@ -69,13 +69,13 @@
         self.vboxlayout1 = QtWidgets.QVBoxLayout(self.groupBox_2)
         self.vboxlayout1.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout1.setObjectName("vboxlayout1")
-        self.importsEdit = QtWidgets.QTextEdit(self.groupBox_2)
+        self.importsEdit = QtWidgets.QTextEdit(parent=self.groupBox_2)
         self.importsEdit.setLineWrapMode(QtWidgets.QTextEdit.LineWrapMode.NoWrap)
         self.importsEdit.setAcceptRichText(False)
         self.importsEdit.setObjectName("importsEdit")
         self.vboxlayout1.addWidget(self.importsEdit)
         self.gridlayout.addWidget(self.groupBox_2, 3, 0, 1, 2)
-        self.buttonBox = QtWidgets.QDialogButtonBox(RestructureDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=RestructureDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.NoButton|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -118,13 +118,3 @@
         self.groupBox_2.setTitle(_translate("RestructureDialog", "Imports"))
         self.importsEdit.setToolTip(_translate("RestructureDialog", "Add imports here. These imports are added to changed files. Like:\n"
 "  from mymod import AClass"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    RestructureDialog = QtWidgets.QDialog()
-    ui = Ui_RestructureDialog()
-    ui.setupUi(RestructureDialog)
-    RestructureDialog.show()
-    sys.exit(app.exec())
--- a/RefactoringRope/Ui_UseFunctionDialog.py	Sat Oct 26 15:50:43 2024 +0200
+++ b/RefactoringRope/Ui_UseFunctionDialog.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/UseFunctionDialog.ui'
+# Form implementation generated from reading ui file 'RefactoringRope/UseFunctionDialog.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(UseFunctionDialog)
+        self.description = QtWidgets.QLabel(parent=UseFunctionDialog)
         self.description.setWordWrap(True)
         self.description.setObjectName("description")
         self.vboxlayout.addWidget(self.description)
-        self.buttonBox = QtWidgets.QDialogButtonBox(UseFunctionDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=UseFunctionDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.NoButton|QtWidgets.QDialogButtonBox.StandardButton.Ok)
         self.buttonBox.setObjectName("buttonBox")
@@ -36,13 +36,3 @@
     def retranslateUi(self, UseFunctionDialog):
         _translate = QtCore.QCoreApplication.translate
         UseFunctionDialog.setWindowTitle(_translate("UseFunctionDialog", "Use Function"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    UseFunctionDialog = QtWidgets.QDialog()
-    ui = Ui_UseFunctionDialog()
-    ui.setupUi(UseFunctionDialog)
-    UseFunctionDialog.show()
-    sys.exit(app.exec())

eric ide

mercurial