ProjectDjango/Ui_DjangoDialog.py

Sun, 30 Mar 2025 15:25:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 30 Mar 2025 15:25:10 +0200
branch
eric7
changeset 206
4dfd8f6f2503
parent 205
3f8d003cb9cf
permissions
-rw-r--r--

Created global tag <release-10.4.0>.

# Form implementation generated from reading ui file 'ProjectDjango/DjangoDialog.ui'
#
# Created by: PyQt6 UI code generator 6.8.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.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_DjangoDialog(object):
    def setupUi(self, DjangoDialog):
        DjangoDialog.setObjectName("DjangoDialog")
        DjangoDialog.resize(593, 499)
        DjangoDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(DjangoDialog)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.outputGroup = QtWidgets.QGroupBox(parent=DjangoDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.outputGroup.sizePolicy().hasHeightForWidth())
        self.outputGroup.setSizePolicy(sizePolicy)
        self.outputGroup.setObjectName("outputGroup")
        self.vboxlayout = QtWidgets.QVBoxLayout(self.outputGroup)
        self.vboxlayout.setContentsMargins(6, 6, 6, 6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")
        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(parent=DjangoDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.errorGroup.sizePolicy().hasHeightForWidth())
        self.errorGroup.setSizePolicy(sizePolicy)
        self.errorGroup.setObjectName("errorGroup")
        self.vboxlayout1 = QtWidgets.QVBoxLayout(self.errorGroup)
        self.vboxlayout1.setContentsMargins(6, 6, 6, 6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")
        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(parent=DjangoDialog)
        self.inputGroup.setObjectName("inputGroup")
        self._2 = QtWidgets.QGridLayout(self.inputGroup)
        self._2.setContentsMargins(11, 11, 11, 11)
        self._2.setSpacing(6)
        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(parent=self.inputGroup)
        self.sendButton.setObjectName("sendButton")
        self._2.addWidget(self.sendButton, 1, 2, 1, 1)
        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(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(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")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(DjangoDialog)
        QtCore.QMetaObject.connectSlotsByName(DjangoDialog)
        DjangoDialog.setTabOrder(self.resultbox, self.input)
        DjangoDialog.setTabOrder(self.input, self.passwordCheckBox)
        DjangoDialog.setTabOrder(self.passwordCheckBox, self.sendButton)

    def retranslateUi(self, DjangoDialog):
        _translate = QtCore.QCoreApplication.translate
        DjangoDialog.setWindowTitle(_translate("DjangoDialog", "Django"))
        self.outputGroup.setTitle(_translate("DjangoDialog", "Output"))
        self.errorGroup.setTitle(_translate("DjangoDialog", "Errors"))
        self.inputGroup.setTitle(_translate("DjangoDialog", "Input"))
        self.sendButton.setToolTip(_translate("DjangoDialog", "Press to send the input to the manage.py process"))
        self.sendButton.setText(_translate("DjangoDialog", "&Send"))
        self.sendButton.setShortcut(_translate("DjangoDialog", "Alt+S"))
        self.input.setToolTip(_translate("DjangoDialog", "Enter data to be sent to the manage.py process"))
        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"))

eric ide

mercurial