ProjectDjango/Ui_DjangoRunTestServerDataDialog.py

Mon, 28 Oct 2024 16:24:54 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 28 Oct 2024 16:24:54 +0100
branch
eric7
changeset 195
b027b4f90994
child 200
d0180bd6c1b5
permissions
-rw-r--r--

- changed to the new style header
- ensured proper parent relationship of modal dialogs
- included compiled form files

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoRunTestServerDataDialog.ui'
#
# Created by: PyQt6 UI code generator 6.4.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.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_DjangoRunTestServerDataDialog(object):
    def setupUi(self, DjangoRunTestServerDataDialog):
        DjangoRunTestServerDataDialog.setObjectName("DjangoRunTestServerDataDialog")
        DjangoRunTestServerDataDialog.resize(600, 92)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DjangoRunTestServerDataDialog.sizePolicy().hasHeightForWidth())
        DjangoRunTestServerDataDialog.setSizePolicy(sizePolicy)
        DjangoRunTestServerDataDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(DjangoRunTestServerDataDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(DjangoRunTestServerDataDialog)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.fixturePicker = EricPathPicker(DjangoRunTestServerDataDialog)
        self.fixturePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus)
        self.fixturePicker.setObjectName("fixturePicker")
        self.verticalLayout.addWidget(self.fixturePicker)
        self.buttonBox = QtWidgets.QDialogButtonBox(DjangoRunTestServerDataDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(DjangoRunTestServerDataDialog)
        self.buttonBox.accepted.connect(DjangoRunTestServerDataDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(DjangoRunTestServerDataDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(DjangoRunTestServerDataDialog)

    def retranslateUi(self, DjangoRunTestServerDataDialog):
        _translate = QtCore.QCoreApplication.translate
        DjangoRunTestServerDataDialog.setWindowTitle(_translate("DjangoRunTestServerDataDialog", "testserver Command Options"))
        self.label.setText(_translate("DjangoRunTestServerDataDialog", "Enter the list of fixture patterns or the path of a fixture file."))
from eric7.EricWidgets.EricPathPicker import EricPathPicker


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    DjangoRunTestServerDataDialog = QtWidgets.QDialog()
    ui = Ui_DjangoRunTestServerDataDialog()
    ui.setupUi(DjangoRunTestServerDataDialog)
    DjangoRunTestServerDataDialog.show()
    sys.exit(app.exec())

eric ide

mercurial