--- a/ProjectDjango/Ui_DjangoMakeMigrationsDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoMakeMigrationsDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoMakeMigrationsDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoMakeMigrationsDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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,10 +16,10 @@ DjangoMakeMigrationsDialog.setSizeGripEnabled(True) self.gridLayout = QtWidgets.QGridLayout(DjangoMakeMigrationsDialog) self.gridLayout.setObjectName("gridLayout") - self.label = QtWidgets.QLabel(DjangoMakeMigrationsDialog) + self.label = QtWidgets.QLabel(parent=DjangoMakeMigrationsDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) - self.applicationsComboBox = QtWidgets.QComboBox(DjangoMakeMigrationsDialog) + self.applicationsComboBox = QtWidgets.QComboBox(parent=DjangoMakeMigrationsDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -28,20 +28,20 @@ self.applicationsComboBox.setEditable(True) self.applicationsComboBox.setObjectName("applicationsComboBox") self.gridLayout.addWidget(self.applicationsComboBox, 0, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(DjangoMakeMigrationsDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoMakeMigrationsDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) - self.nameEdit = QtWidgets.QLineEdit(DjangoMakeMigrationsDialog) + self.nameEdit = QtWidgets.QLineEdit(parent=DjangoMakeMigrationsDialog) self.nameEdit.setClearButtonEnabled(True) self.nameEdit.setObjectName("nameEdit") self.gridLayout.addWidget(self.nameEdit, 1, 1, 1, 1) - self.emptyCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) + self.emptyCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog) self.emptyCheckBox.setObjectName("emptyCheckBox") self.gridLayout.addWidget(self.emptyCheckBox, 2, 0, 1, 2) - self.mergeCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) + self.mergeCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog) self.mergeCheckBox.setObjectName("mergeCheckBox") self.gridLayout.addWidget(self.mergeCheckBox, 3, 0, 1, 2) - self.dryrunCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) + self.dryrunCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -49,7 +49,7 @@ self.dryrunCheckBox.setSizePolicy(sizePolicy) self.dryrunCheckBox.setObjectName("dryrunCheckBox") self.gridLayout.addWidget(self.dryrunCheckBox, 4, 0, 1, 2) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMakeMigrationsDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoMakeMigrationsDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -77,13 +77,3 @@ self.mergeCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Fix migration conflicts")) self.dryrunCheckBox.setToolTip(_translate("DjangoMakeMigrationsDialog", "Select to perform a dry-run")) self.dryrunCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Dry-Run only")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoMakeMigrationsDialog = QtWidgets.QDialog() - ui = Ui_DjangoMakeMigrationsDialog() - ui.setupUi(DjangoMakeMigrationsDialog) - DjangoMakeMigrationsDialog.show() - sys.exit(app.exec())