# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'eric/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.ui'
#
# Created: Tue Oct 28 07:22:44 2014
#      by: PyQt4 UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_FontDialogWizardDialog(object):
    def setupUi(self, FontDialogWizardDialog):
        FontDialogWizardDialog.setObjectName(_fromUtf8("FontDialogWizardDialog"))
        FontDialogWizardDialog.resize(377, 291)
        FontDialogWizardDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(FontDialogWizardDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(FontDialogWizardDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.eResultVar = QtGui.QLineEdit(FontDialogWizardDialog)
        self.eResultVar.setObjectName(_fromUtf8("eResultVar"))
        self.verticalLayout.addWidget(self.eResultVar)
        self.textLabel1 = QtGui.QLabel(FontDialogWizardDialog)
        self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
        self.verticalLayout.addWidget(self.textLabel1)
        self.eCaption = QtGui.QLineEdit(FontDialogWizardDialog)
        self.eCaption.setObjectName(_fromUtf8("eCaption"))
        self.verticalLayout.addWidget(self.eCaption)
        self.parentGroup = QtGui.QGroupBox(FontDialogWizardDialog)
        self.parentGroup.setObjectName(_fromUtf8("parentGroup"))
        self.gridLayout_3 = QtGui.QGridLayout(self.parentGroup)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.parentSelf = QtGui.QRadioButton(self.parentGroup)
        self.parentSelf.setChecked(True)
        self.parentSelf.setObjectName(_fromUtf8("parentSelf"))
        self.gridLayout_3.addWidget(self.parentSelf, 0, 0, 1, 1)
        self.parentNone = QtGui.QRadioButton(self.parentGroup)
        self.parentNone.setObjectName(_fromUtf8("parentNone"))
        self.gridLayout_3.addWidget(self.parentNone, 0, 1, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.parentOther = QtGui.QRadioButton(self.parentGroup)
        self.parentOther.setObjectName(_fromUtf8("parentOther"))
        self.horizontalLayout_2.addWidget(self.parentOther)
        self.parentEdit = QtGui.QLineEdit(self.parentGroup)
        self.parentEdit.setEnabled(False)
        self.parentEdit.setObjectName(_fromUtf8("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 = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        spacerItem = QtGui.QSpacerItem(30, 0, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.fontButton = QtGui.QPushButton(FontDialogWizardDialog)
        self.fontButton.setObjectName(_fromUtf8("fontButton"))
        self.hboxlayout.addWidget(self.fontButton)
        spacerItem1 = QtGui.QSpacerItem(30, 0, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.TextLabel1 = QtGui.QLabel(FontDialogWizardDialog)
        self.TextLabel1.setObjectName(_fromUtf8("TextLabel1"))
        self.verticalLayout.addWidget(self.TextLabel1)
        self.eVariable = QtGui.QLineEdit(FontDialogWizardDialog)
        self.eVariable.setObjectName(_fromUtf8("eVariable"))
        self.verticalLayout.addWidget(self.eVariable)
        self.buttonBox = QtGui.QDialogButtonBox(FontDialogWizardDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(FontDialogWizardDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FontDialogWizardDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FontDialogWizardDialog.reject)
        QtCore.QObject.connect(self.parentOther, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.parentEdit.setEnabled)
        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.eVariable)
        FontDialogWizardDialog.setTabOrder(self.eVariable, self.buttonBox)

    def retranslateUi(self, FontDialogWizardDialog):
        FontDialogWizardDialog.setWindowTitle(_translate("FontDialogWizardDialog", "QFontDialog Wizard", None))
        self.label.setText(_translate("FontDialogWizardDialog", "Result:", None))
        self.eResultVar.setToolTip(_translate("FontDialogWizardDialog", "Enter the result variable name", None))
        self.textLabel1.setText(_translate("FontDialogWizardDialog", "Title:", None))
        self.eCaption.setToolTip(_translate("FontDialogWizardDialog", "Enter the title for the message box", None))
        self.parentGroup.setTitle(_translate("FontDialogWizardDialog", "Parent", None))
        self.parentSelf.setToolTip(_translate("FontDialogWizardDialog", "Select \"self\" as parent", None))
        self.parentSelf.setText(_translate("FontDialogWizardDialog", "self", None))
        self.parentNone.setToolTip(_translate("FontDialogWizardDialog", "Select \"None\" as parent", None))
        self.parentNone.setText(_translate("FontDialogWizardDialog", "None", None))
        self.parentOther.setToolTip(_translate("FontDialogWizardDialog", "Select to enter a parent expression", None))
        self.parentOther.setText(_translate("FontDialogWizardDialog", "Expression:", None))
        self.parentEdit.setToolTip(_translate("FontDialogWizardDialog", "Enter the parent expression", None))
        self.fontButton.setToolTip(_translate("FontDialogWizardDialog", "Press to select a font via a dialog", None))
        self.fontButton.setText(_translate("FontDialogWizardDialog", "Select Font ...", None))
        self.TextLabel1.setText(_translate("FontDialogWizardDialog", "Font Variable:", None))
        self.eVariable.setToolTip(_translate("FontDialogWizardDialog", "Enter a variable name", None))

