src/eric7/Plugins/WizardPlugins/FontDialogWizard/Ui_FontDialogWizardDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/Plugins/WizardPlugins/FontDialogWizard/Ui_FontDialogWizardDialog.py	Fri Jun 07 10:05:06 2024 +0200
@@ -0,0 +1,112 @@
+# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.ui'
+#
+# Created by: PyQt6 UI code generator 6.7.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_FontDialogWizardDialog(object):
+    def setupUi(self, FontDialogWizardDialog):
+        FontDialogWizardDialog.setObjectName("FontDialogWizardDialog")
+        FontDialogWizardDialog.resize(377, 355)
+        FontDialogWizardDialog.setSizeGripEnabled(True)
+        self.verticalLayout = QtWidgets.QVBoxLayout(FontDialogWizardDialog)
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.label = QtWidgets.QLabel(parent=FontDialogWizardDialog)
+        self.label.setObjectName("label")
+        self.verticalLayout.addWidget(self.label)
+        self.eResultVar = QtWidgets.QLineEdit(parent=FontDialogWizardDialog)
+        self.eResultVar.setObjectName("eResultVar")
+        self.verticalLayout.addWidget(self.eResultVar)
+        self.textLabel1 = QtWidgets.QLabel(parent=FontDialogWizardDialog)
+        self.textLabel1.setObjectName("textLabel1")
+        self.verticalLayout.addWidget(self.textLabel1)
+        self.eCaption = QtWidgets.QLineEdit(parent=FontDialogWizardDialog)
+        self.eCaption.setObjectName("eCaption")
+        self.verticalLayout.addWidget(self.eCaption)
+        self.parentGroup = QtWidgets.QGroupBox(parent=FontDialogWizardDialog)
+        self.parentGroup.setObjectName("parentGroup")
+        self.gridLayout_3 = QtWidgets.QGridLayout(self.parentGroup)
+        self.gridLayout_3.setObjectName("gridLayout_3")
+        self.parentSelf = QtWidgets.QRadioButton(parent=self.parentGroup)
+        self.parentSelf.setChecked(True)
+        self.parentSelf.setObjectName("parentSelf")
+        self.gridLayout_3.addWidget(self.parentSelf, 0, 0, 1, 1)
+        self.parentNone = QtWidgets.QRadioButton(parent=self.parentGroup)
+        self.parentNone.setObjectName("parentNone")
+        self.gridLayout_3.addWidget(self.parentNone, 0, 1, 1, 1)
+        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
+        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
+        self.parentOther = QtWidgets.QRadioButton(parent=self.parentGroup)
+        self.parentOther.setObjectName("parentOther")
+        self.horizontalLayout_2.addWidget(self.parentOther)
+        self.parentEdit = QtWidgets.QLineEdit(parent=self.parentGroup)
+        self.parentEdit.setEnabled(False)
+        self.parentEdit.setObjectName("parentEdit")
+        self.horizontalLayout_2.addWidget(self.parentEdit)
+        self.gridLayout_3.addLayout(self.horizontalLayout_2, 1, 0, 1, 2)
+        self.verticalLayout.addWidget(self.parentGroup)
+        self.hboxlayout = QtWidgets.QHBoxLayout()
+        self.hboxlayout.setObjectName("hboxlayout")
+        spacerItem = QtWidgets.QSpacerItem(30, 0, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.hboxlayout.addItem(spacerItem)
+        self.fontButton = QtWidgets.QPushButton(parent=FontDialogWizardDialog)
+        self.fontButton.setObjectName("fontButton")
+        self.hboxlayout.addWidget(self.fontButton)
+        self.optionsButton = QtWidgets.QPushButton(parent=FontDialogWizardDialog)
+        self.optionsButton.setObjectName("optionsButton")
+        self.hboxlayout.addWidget(self.optionsButton)
+        spacerItem1 = QtWidgets.QSpacerItem(30, 0, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.hboxlayout.addItem(spacerItem1)
+        self.verticalLayout.addLayout(self.hboxlayout)
+        self.TextLabel1 = QtWidgets.QLabel(parent=FontDialogWizardDialog)
+        self.TextLabel1.setObjectName("TextLabel1")
+        self.verticalLayout.addWidget(self.TextLabel1)
+        self.eVariable = QtWidgets.QLineEdit(parent=FontDialogWizardDialog)
+        self.eVariable.setObjectName("eVariable")
+        self.verticalLayout.addWidget(self.eVariable)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=FontDialogWizardDialog)
+        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(FontDialogWizardDialog)
+        self.buttonBox.accepted.connect(FontDialogWizardDialog.accept) # type: ignore
+        self.buttonBox.rejected.connect(FontDialogWizardDialog.reject) # type: ignore
+        self.parentOther.toggled['bool'].connect(self.parentEdit.setEnabled) # type: ignore
+        QtCore.QMetaObject.connectSlotsByName(FontDialogWizardDialog)
+        FontDialogWizardDialog.setTabOrder(self.eResultVar, self.eCaption)
+        FontDialogWizardDialog.setTabOrder(self.eCaption, self.parentSelf)
+        FontDialogWizardDialog.setTabOrder(self.parentSelf, self.parentNone)
+        FontDialogWizardDialog.setTabOrder(self.parentNone, self.parentOther)
+        FontDialogWizardDialog.setTabOrder(self.parentOther, self.parentEdit)
+        FontDialogWizardDialog.setTabOrder(self.parentEdit, self.fontButton)
+        FontDialogWizardDialog.setTabOrder(self.fontButton, self.optionsButton)
+        FontDialogWizardDialog.setTabOrder(self.optionsButton, self.eVariable)
+
+    def retranslateUi(self, FontDialogWizardDialog):
+        _translate = QtCore.QCoreApplication.translate
+        FontDialogWizardDialog.setWindowTitle(_translate("FontDialogWizardDialog", "QFontDialog Wizard"))
+        self.label.setText(_translate("FontDialogWizardDialog", "Result:"))
+        self.eResultVar.setToolTip(_translate("FontDialogWizardDialog", "Enter the result variable name"))
+        self.textLabel1.setText(_translate("FontDialogWizardDialog", "Title:"))
+        self.eCaption.setToolTip(_translate("FontDialogWizardDialog", "Enter the title for the message box"))
+        self.parentGroup.setTitle(_translate("FontDialogWizardDialog", "Parent"))
+        self.parentSelf.setToolTip(_translate("FontDialogWizardDialog", "Select \"self\" as parent"))
+        self.parentSelf.setText(_translate("FontDialogWizardDialog", "self"))
+        self.parentNone.setToolTip(_translate("FontDialogWizardDialog", "Select \"None\" as parent"))
+        self.parentNone.setText(_translate("FontDialogWizardDialog", "None"))
+        self.parentOther.setToolTip(_translate("FontDialogWizardDialog", "Select to enter a parent expression"))
+        self.parentOther.setText(_translate("FontDialogWizardDialog", "Expression:"))
+        self.parentEdit.setToolTip(_translate("FontDialogWizardDialog", "Enter the parent expression"))
+        self.fontButton.setToolTip(_translate("FontDialogWizardDialog", "Press to select a font via a dialog"))
+        self.fontButton.setText(_translate("FontDialogWizardDialog", "Select Font ..."))
+        self.optionsButton.setToolTip(_translate("FontDialogWizardDialog", "Press to configure the font dialog options"))
+        self.optionsButton.setText(_translate("FontDialogWizardDialog", "Select Options..."))
+        self.TextLabel1.setText(_translate("FontDialogWizardDialog", "Font Variable:"))
+        self.eVariable.setToolTip(_translate("FontDialogWizardDialog", "Enter a variable name"))

eric ide

mercurial