ProjectDjango/Ui_DjangoDialog.py

branch
eric7
changeset 200
d0180bd6c1b5
parent 195
b027b4f90994
child 205
3f8d003cb9cf
diff -r 5dfb03b8ee4c -r d0180bd6c1b5 ProjectDjango/Ui_DjangoDialog.py
--- a/ProjectDjango/Ui_DjangoDialog.py	Thu Dec 26 14:22:24 2024 +0100
+++ b/ProjectDjango/Ui_DjangoDialog.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/DjangoDialog.ui'
+# Form implementation generated from reading ui file 'ProjectDjango/DjangoDialog.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.
@@ -18,7 +18,7 @@
         self.verticalLayout.setContentsMargins(11, 11, 11, 11)
         self.verticalLayout.setSpacing(6)
         self.verticalLayout.setObjectName("verticalLayout")
-        self.outputGroup = QtWidgets.QGroupBox(DjangoDialog)
+        self.outputGroup = QtWidgets.QGroupBox(parent=DjangoDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(3)
@@ -29,12 +29,12 @@
         self.vboxlayout.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout.setSpacing(6)
         self.vboxlayout.setObjectName("vboxlayout")
-        self.resultbox = QtWidgets.QTextEdit(self.outputGroup)
+        self.resultbox = QtWidgets.QTextEdit(parent=self.outputGroup)
         self.resultbox.setAcceptRichText(False)
         self.resultbox.setObjectName("resultbox")
         self.vboxlayout.addWidget(self.resultbox)
         self.verticalLayout.addWidget(self.outputGroup)
-        self.errorGroup = QtWidgets.QGroupBox(DjangoDialog)
+        self.errorGroup = QtWidgets.QGroupBox(parent=DjangoDialog)
         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(1)
@@ -45,14 +45,14 @@
         self.vboxlayout1.setContentsMargins(6, 6, 6, 6)
         self.vboxlayout1.setSpacing(6)
         self.vboxlayout1.setObjectName("vboxlayout1")
-        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.vboxlayout1.addWidget(self.errors)
         self.verticalLayout.addWidget(self.errorGroup)
-        self.inputGroup = QtWidgets.QGroupBox(DjangoDialog)
+        self.inputGroup = QtWidgets.QGroupBox(parent=DjangoDialog)
         self.inputGroup.setObjectName("inputGroup")
         self._2 = QtWidgets.QGridLayout(self.inputGroup)
         self._2.setContentsMargins(11, 11, 11, 11)
@@ -60,18 +60,18 @@
         self._2.setObjectName("_2")
         spacerItem = QtWidgets.QSpacerItem(327, 29, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
         self._2.addItem(spacerItem, 1, 1, 1, 1)
-        self.sendButton = QtWidgets.QPushButton(self.inputGroup)
+        self.sendButton = QtWidgets.QPushButton(parent=self.inputGroup)
         self.sendButton.setObjectName("sendButton")
         self._2.addWidget(self.sendButton, 1, 2, 1, 1)
-        self.input = QtWidgets.QLineEdit(self.inputGroup)
+        self.input = QtWidgets.QLineEdit(parent=self.inputGroup)
         self.input.setClearButtonEnabled(True)
         self.input.setObjectName("input")
         self._2.addWidget(self.input, 0, 0, 1, 3)
-        self.passwordCheckBox = QtWidgets.QCheckBox(self.inputGroup)
+        self.passwordCheckBox = QtWidgets.QCheckBox(parent=self.inputGroup)
         self.passwordCheckBox.setObjectName("passwordCheckBox")
         self._2.addWidget(self.passwordCheckBox, 1, 0, 1, 1)
         self.verticalLayout.addWidget(self.inputGroup)
-        self.buttonBox = QtWidgets.QDialogButtonBox(DjangoDialog)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoDialog)
         self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close|QtWidgets.QDialogButtonBox.StandardButton.Save)
         self.buttonBox.setObjectName("buttonBox")
@@ -96,13 +96,3 @@
         self.passwordCheckBox.setToolTip(_translate("DjangoDialog", "Select to switch the input field to password mode"))
         self.passwordCheckBox.setText(_translate("DjangoDialog", "&Password Mode"))
         self.passwordCheckBox.setShortcut(_translate("DjangoDialog", "Alt+P"))
-
-
-if __name__ == "__main__":
-    import sys
-    app = QtWidgets.QApplication(sys.argv)
-    DjangoDialog = QtWidgets.QDialog()
-    ui = Ui_DjangoDialog()
-    ui.setupUi(DjangoDialog)
-    DjangoDialog.show()
-    sys.exit(app.exec())

eric ide

mercurial