ProjectDjango/Ui_DjangoMigrationsListDialog.py

branch
eric7
changeset 200
d0180bd6c1b5
parent 195
b027b4f90994
child 205
3f8d003cb9cf
diff -r 5dfb03b8ee4c -r d0180bd6c1b5 ProjectDjango/Ui_DjangoMigrationsListDialog.py
--- a/ProjectDjango/Ui_DjangoMigrationsListDialog.py	Thu Dec 26 14:22:24 2024 +0100
+++ b/ProjectDjango/Ui_DjangoMigrationsListDialog.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/DjangoMigrationsListDialog.ui'
+# Form implementation generated from reading ui file 'ProjectDjango/DjangoMigrationsListDialog.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 @@
         DjangoMigrationsListDialog.setSizeGripEnabled(True)
         self.verticalLayout = QtWidgets.QVBoxLayout(DjangoMigrationsListDialog)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.migrationsList = QtWidgets.QTreeWidget(DjangoMigrationsListDialog)
+        self.migrationsList = QtWidgets.QTreeWidget(parent=DjangoMigrationsListDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(3)
@@ -28,7 +28,7 @@
         self.migrationsList.headerItem().setText(0, "1")
         self.migrationsList.header().setStretchLastSection(False)
         self.verticalLayout.addWidget(self.migrationsList)
-        self.errorGroup = QtWidgets.QGroupBox(DjangoMigrationsListDialog)
+        self.errorGroup = QtWidgets.QGroupBox(parent=DjangoMigrationsListDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(1)
@@ -39,14 +39,14 @@
         self.vboxlayout.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout.setSpacing(6)
         self.vboxlayout.setObjectName("vboxlayout")
-        self.errors = QtWidgets.QTextEdit(self.errorGroup)
+        self.errors = QtWidgets.QTextEdit(parent=self.errorGroup)
         self.errors.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
         self.errors.setReadOnly(True)
         self.errors.setAcceptRichText(False)
         self.errors.setObjectName("errors")
         self.vboxlayout.addWidget(self.errors)
         self.verticalLayout.addWidget(self.errorGroup)
-        self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMigrationsListDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoMigrationsListDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close)
         self.buttonBox.setObjectName("buttonBox")
@@ -60,13 +60,3 @@
     def retranslateUi(self, DjangoMigrationsListDialog):
         _translate = QtCore.QCoreApplication.translate
         self.errorGroup.setTitle(_translate("DjangoMigrationsListDialog", "Errors"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    DjangoMigrationsListDialog = QtWidgets.QDialog()
-    ui = Ui_DjangoMigrationsListDialog()
-    ui.setupUi(DjangoMigrationsListDialog)
-    DjangoMigrationsListDialog.show()
-    sys.exit(app.exec())

eric ide

mercurial