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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/TemplatesPage.ui'
#
# Created: Thu Mar  5 17:02:32 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_TemplatesPage(object):
    def setupUi(self, TemplatesPage):
        TemplatesPage.setObjectName(_fromUtf8("TemplatesPage"))
        TemplatesPage.resize(532, 541)
        self.verticalLayout = QtGui.QVBoxLayout(TemplatesPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(TemplatesPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout.addWidget(self.headerLabel)
        self.line11_2_2_2_2_2 = QtGui.QFrame(TemplatesPage)
        self.line11_2_2_2_2_2.setFrameShape(QtGui.QFrame.HLine)
        self.line11_2_2_2_2_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line11_2_2_2_2_2.setFrameShape(QtGui.QFrame.HLine)
        self.line11_2_2_2_2_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line11_2_2_2_2_2.setObjectName(_fromUtf8("line11_2_2_2_2_2"))
        self.verticalLayout.addWidget(self.line11_2_2_2_2_2)
        self.groupBox = QtGui.QGroupBox(TemplatesPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.vboxlayout = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.templatesAutoOpenGroupsCheckBox = QtGui.QCheckBox(self.groupBox)
        self.templatesAutoOpenGroupsCheckBox.setObjectName(_fromUtf8("templatesAutoOpenGroupsCheckBox"))
        self.vboxlayout.addWidget(self.templatesAutoOpenGroupsCheckBox)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(TemplatesPage)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox_2)
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.textLabel1_19 = QtGui.QLabel(self.groupBox_2)
        self.textLabel1_19.setObjectName(_fromUtf8("textLabel1_19"))
        self.hboxlayout.addWidget(self.textLabel1_19)
        self.templatesSeparatorCharEdit = QtGui.QLineEdit(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.templatesSeparatorCharEdit.sizePolicy().hasHeightForWidth())
        self.templatesSeparatorCharEdit.setSizePolicy(sizePolicy)
        self.templatesSeparatorCharEdit.setMaxLength(1)
        self.templatesSeparatorCharEdit.setObjectName(_fromUtf8("templatesSeparatorCharEdit"))
        self.hboxlayout.addWidget(self.templatesSeparatorCharEdit)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.vboxlayout1.addLayout(self.hboxlayout)
        self.groupBox_3 = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.vboxlayout2 = QtGui.QVBoxLayout(self.groupBox_3)
        self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
        self.templatesMultiDialogButton = QtGui.QRadioButton(self.groupBox_3)
        self.templatesMultiDialogButton.setObjectName(_fromUtf8("templatesMultiDialogButton"))
        self.vboxlayout2.addWidget(self.templatesMultiDialogButton)
        self.templatesSingleDialogButton = QtGui.QRadioButton(self.groupBox_3)
        self.templatesSingleDialogButton.setObjectName(_fromUtf8("templatesSingleDialogButton"))
        self.vboxlayout2.addWidget(self.templatesSingleDialogButton)
        self.vboxlayout1.addWidget(self.groupBox_3)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox_4 = QtGui.QGroupBox(TemplatesPage)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.vboxlayout3 = QtGui.QVBoxLayout(self.groupBox_4)
        self.vboxlayout3.setObjectName(_fromUtf8("vboxlayout3"))
        self.templatesToolTipCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.templatesToolTipCheckBox.setObjectName(_fromUtf8("templatesToolTipCheckBox"))
        self.vboxlayout3.addWidget(self.templatesToolTipCheckBox)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox_5 = QtGui.QGroupBox(TemplatesPage)
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_5)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.editorFontButton = QtGui.QPushButton(self.groupBox_5)
        self.editorFontButton.setObjectName(_fromUtf8("editorFontButton"))
        self.gridLayout.addWidget(self.editorFontButton, 0, 0, 1, 1)
        self.editorFontSample = QtGui.QLineEdit(self.groupBox_5)
        self.editorFontSample.setFocusPolicy(QtCore.Qt.NoFocus)
        self.editorFontSample.setAlignment(QtCore.Qt.AlignHCenter)
        self.editorFontSample.setReadOnly(True)
        self.editorFontSample.setObjectName(_fromUtf8("editorFontSample"))
        self.gridLayout.addWidget(self.editorFontSample, 0, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_5)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)

        self.retranslateUi(TemplatesPage)
        QtCore.QMetaObject.connectSlotsByName(TemplatesPage)
        TemplatesPage.setTabOrder(self.templatesAutoOpenGroupsCheckBox, self.templatesSeparatorCharEdit)
        TemplatesPage.setTabOrder(self.templatesSeparatorCharEdit, self.templatesMultiDialogButton)
        TemplatesPage.setTabOrder(self.templatesMultiDialogButton, self.templatesSingleDialogButton)
        TemplatesPage.setTabOrder(self.templatesSingleDialogButton, self.templatesToolTipCheckBox)

    def retranslateUi(self, TemplatesPage):
        self.headerLabel.setText(_translate("TemplatesPage", "<b>Configure Templates</b>", None))
        self.groupBox.setTitle(_translate("TemplatesPage", "Groups", None))
        self.templatesAutoOpenGroupsCheckBox.setToolTip(_translate("TemplatesPage", "Select, if groups having entries should be opened automatically", None))
        self.templatesAutoOpenGroupsCheckBox.setText(_translate("TemplatesPage", "Expand groups automatically", None))
        self.groupBox_2.setTitle(_translate("TemplatesPage", "Variables", None))
        self.textLabel1_19.setText(_translate("TemplatesPage", "Separator:", None))
        self.templatesSeparatorCharEdit.setToolTip(_translate("TemplatesPage", "Enter the character that encloses variables", None))
        self.groupBox_3.setTitle(_translate("TemplatesPage", "Input method for variables", None))
        self.templatesMultiDialogButton.setToolTip(_translate("TemplatesPage", "Select, if a new dialog should be opened for every template variable", None))
        self.templatesMultiDialogButton.setText(_translate("TemplatesPage", "One dialog per template variable", None))
        self.templatesSingleDialogButton.setToolTip(_translate("TemplatesPage", "Select, if only one dialog for all template variables should be shown", None))
        self.templatesSingleDialogButton.setText(_translate("TemplatesPage", "One dialog for all template variables", None))
        self.groupBox_4.setTitle(_translate("TemplatesPage", "Tooltips", None))
        self.templatesToolTipCheckBox.setToolTip(_translate("TemplatesPage", "Select, if the template text should be shown in a tooltip", None))
        self.templatesToolTipCheckBox.setText(_translate("TemplatesPage", "Show template text in tooltip", None))
        self.groupBox_5.setTitle(_translate("TemplatesPage", "Template Editor", None))
        self.editorFontButton.setToolTip(_translate("TemplatesPage", "Press to select the font to be used for the code editor", None))
        self.editorFontButton.setText(_translate("TemplatesPage", "Editor Font", None))
        self.editorFontSample.setText(_translate("TemplatesPage", "Template Code Editor", None))

