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