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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/TemplatesPage.ui'
#
# Created: Sat Feb  3 15:33:36 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_TemplatesPage(object):
    def setupUi(self, TemplatesPage):
        TemplatesPage.setObjectName("TemplatesPage")
        TemplatesPage.resize(QtCore.QSize(QtCore.QRect(0,0,532,374).size()).expandedTo(TemplatesPage.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(TemplatesPage)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.headerLabel = QtGui.QLabel(TemplatesPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.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("line11_2_2_2_2_2")
        self.vboxlayout.addWidget(self.line11_2_2_2_2_2)

        self.groupBox = QtGui.QGroupBox(TemplatesPage)
        self.groupBox.setObjectName("groupBox")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.templatesAutoOpenGroupsCheckBox = QtGui.QCheckBox(self.groupBox)
        self.templatesAutoOpenGroupsCheckBox.setObjectName("templatesAutoOpenGroupsCheckBox")
        self.vboxlayout1.addWidget(self.templatesAutoOpenGroupsCheckBox)
        self.vboxlayout.addWidget(self.groupBox)

        self.groupBox_2 = QtGui.QGroupBox(TemplatesPage)
        self.groupBox_2.setObjectName("groupBox_2")

        self.vboxlayout2 = QtGui.QVBoxLayout(self.groupBox_2)
        self.vboxlayout2.setMargin(6)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.textLabel1_19 = QtGui.QLabel(self.groupBox_2)
        self.textLabel1_19.setObjectName("textLabel1_19")
        self.hboxlayout.addWidget(self.textLabel1_19)

        self.templatesSeparatorCharEdit = QtGui.QLineEdit(self.groupBox_2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(1),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.templatesSeparatorCharEdit.sizePolicy().hasHeightForWidth())
        self.templatesSeparatorCharEdit.setSizePolicy(sizePolicy)
        self.templatesSeparatorCharEdit.setMaxLength(1)
        self.templatesSeparatorCharEdit.setObjectName("templatesSeparatorCharEdit")
        self.hboxlayout.addWidget(self.templatesSeparatorCharEdit)

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.vboxlayout2.addLayout(self.hboxlayout)

        self.groupBox_3 = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox_3.setObjectName("groupBox_3")

        self.vboxlayout3 = QtGui.QVBoxLayout(self.groupBox_3)
        self.vboxlayout3.setMargin(6)
        self.vboxlayout3.setSpacing(6)
        self.vboxlayout3.setObjectName("vboxlayout3")

        self.templatesMultiDialogButton = QtGui.QRadioButton(self.groupBox_3)
        self.templatesMultiDialogButton.setObjectName("templatesMultiDialogButton")
        self.vboxlayout3.addWidget(self.templatesMultiDialogButton)

        self.templatesSingleDialogButton = QtGui.QRadioButton(self.groupBox_3)
        self.templatesSingleDialogButton.setObjectName("templatesSingleDialogButton")
        self.vboxlayout3.addWidget(self.templatesSingleDialogButton)
        self.vboxlayout2.addWidget(self.groupBox_3)
        self.vboxlayout.addWidget(self.groupBox_2)

        self.groupBox_4 = QtGui.QGroupBox(TemplatesPage)
        self.groupBox_4.setObjectName("groupBox_4")

        self.vboxlayout4 = QtGui.QVBoxLayout(self.groupBox_4)
        self.vboxlayout4.setMargin(6)
        self.vboxlayout4.setSpacing(6)
        self.vboxlayout4.setObjectName("vboxlayout4")

        self.templatesToolTipCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.templatesToolTipCheckBox.setObjectName("templatesToolTipCheckBox")
        self.vboxlayout4.addWidget(self.templatesToolTipCheckBox)
        self.vboxlayout.addWidget(self.groupBox_4)

        spacerItem1 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.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(QtGui.QApplication.translate("TemplatesPage", "<b>Configure Templates</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("TemplatesPage", "Groups", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesAutoOpenGroupsCheckBox.setToolTip(QtGui.QApplication.translate("TemplatesPage", "Select, if groups having entries should be opened automatically", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesAutoOpenGroupsCheckBox.setText(QtGui.QApplication.translate("TemplatesPage", "Expand groups automatically", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("TemplatesPage", "Variables", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_19.setText(QtGui.QApplication.translate("TemplatesPage", "Separator:", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesSeparatorCharEdit.setToolTip(QtGui.QApplication.translate("TemplatesPage", "Enter the character that encloses variables", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("TemplatesPage", "Input method for variables", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesMultiDialogButton.setToolTip(QtGui.QApplication.translate("TemplatesPage", "Select, if a new dialog should be opened for every template variable", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesMultiDialogButton.setText(QtGui.QApplication.translate("TemplatesPage", "One dialog per template variable", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesSingleDialogButton.setToolTip(QtGui.QApplication.translate("TemplatesPage", "Select, if only one dialog for all template variables should be shown", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesSingleDialogButton.setText(QtGui.QApplication.translate("TemplatesPage", "One dialog for all template variables", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("TemplatesPage", "Tooltips", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesToolTipCheckBox.setToolTip(QtGui.QApplication.translate("TemplatesPage", "Select, if the template text should be shown in a tooltip", None, QtGui.QApplication.UnicodeUTF8))
        self.templatesToolTipCheckBox.setText(QtGui.QApplication.translate("TemplatesPage", "Show template text in tooltip", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    TemplatesPage = QtGui.QWidget()
    ui = Ui_TemplatesPage()
    ui.setupUi(TemplatesPage)
    TemplatesPage.show()
    sys.exit(app.exec_())
