--- 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())