--- a/ProjectDjango/Ui_DjangoMigrationSelectionDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoMigrationSelectionDialog.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/DjangoMigrationSelectionDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoMigrationSelectionDialog.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,7 +16,7 @@ DjangoMigrationSelectionDialog.setSizeGripEnabled(True) self.gridLayout = QtWidgets.QGridLayout(DjangoMigrationSelectionDialog) self.gridLayout.setObjectName("gridLayout") - self.applicationComboBox = QtWidgets.QComboBox(DjangoMigrationSelectionDialog) + self.applicationComboBox = QtWidgets.QComboBox(parent=DjangoMigrationSelectionDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -24,7 +24,7 @@ self.applicationComboBox.setSizePolicy(sizePolicy) self.applicationComboBox.setObjectName("applicationComboBox") self.gridLayout.addWidget(self.applicationComboBox, 0, 1, 1, 1) - self.migrationsComboBox = QtWidgets.QComboBox(DjangoMigrationSelectionDialog) + self.migrationsComboBox = QtWidgets.QComboBox(parent=DjangoMigrationSelectionDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -32,13 +32,13 @@ self.migrationsComboBox.setSizePolicy(sizePolicy) self.migrationsComboBox.setObjectName("migrationsComboBox") self.gridLayout.addWidget(self.migrationsComboBox, 1, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(DjangoMigrationSelectionDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoMigrationSelectionDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) - self.label = QtWidgets.QLabel(DjangoMigrationSelectionDialog) + self.label = QtWidgets.QLabel(parent=DjangoMigrationSelectionDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMigrationSelectionDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoMigrationSelectionDialog) 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.migrationsComboBox.setToolTip(_translate("DjangoMigrationSelectionDialog", "Select a migration")) self.label_2.setText(_translate("DjangoMigrationSelectionDialog", "Migration:")) self.label.setText(_translate("DjangoMigrationSelectionDialog", "Application:")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoMigrationSelectionDialog = QtWidgets.QDialog() - ui = Ui_DjangoMigrationSelectionDialog() - ui.setupUi(DjangoMigrationSelectionDialog) - DjangoMigrationSelectionDialog.show() - sys.exit(app.exec())