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

# Form implementation generated from reading ui file 'eric/Templates/TemplatePropertiesDialog.ui'
#
# Created: Thu Jul  8 14:17:39 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_TemplatePropertiesDialog(object):
    def setupUi(self, TemplatePropertiesDialog):
        TemplatePropertiesDialog.setObjectName("TemplatePropertiesDialog")
        TemplatePropertiesDialog.resize(448, 323)
        TemplatePropertiesDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(TemplatePropertiesDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.textLabel1 = QtGui.QLabel(TemplatePropertiesDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1)
        self.nameEdit = QtGui.QLineEdit(TemplatePropertiesDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1)
        self.descriptionLabel = QtGui.QLabel(TemplatePropertiesDialog)
        self.descriptionLabel.setObjectName("descriptionLabel")
        self.gridLayout.addWidget(self.descriptionLabel, 1, 0, 1, 1)
        self.descriptionEdit = QtGui.QLineEdit(TemplatePropertiesDialog)
        self.descriptionEdit.setObjectName("descriptionEdit")
        self.gridLayout.addWidget(self.descriptionEdit, 1, 1, 1, 1)
        self.groupLabel = QtGui.QLabel(TemplatePropertiesDialog)
        self.groupLabel.setObjectName("groupLabel")
        self.gridLayout.addWidget(self.groupLabel, 2, 0, 1, 1)
        self.groupCombo = QtGui.QComboBox(TemplatePropertiesDialog)
        self.groupCombo.setToolTip("")
        self.groupCombo.setObjectName("groupCombo")
        self.gridLayout.addWidget(self.groupCombo, 2, 1, 1, 1)
        self.templateLabel = QtGui.QLabel(TemplatePropertiesDialog)
        self.templateLabel.setAlignment(QtCore.Qt.AlignTop)
        self.templateLabel.setObjectName("templateLabel")
        self.gridLayout.addWidget(self.templateLabel, 3, 0, 1, 1)
        self.templateEdit = QtGui.QTextEdit(TemplatePropertiesDialog)
        self.templateEdit.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.templateEdit.setAcceptRichText(False)
        self.templateEdit.setObjectName("templateEdit")
        self.gridLayout.addWidget(self.templateEdit, 3, 1, 3, 1)
        self.helpButton = QtGui.QPushButton(TemplatePropertiesDialog)
        self.helpButton.setObjectName("helpButton")
        self.gridLayout.addWidget(self.helpButton, 4, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(84, 98, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(TemplatePropertiesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(TemplatePropertiesDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), TemplatePropertiesDialog.reject)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), TemplatePropertiesDialog.accept)
        QtCore.QMetaObject.connectSlotsByName(TemplatePropertiesDialog)
        TemplatePropertiesDialog.setTabOrder(self.nameEdit, self.descriptionEdit)
        TemplatePropertiesDialog.setTabOrder(self.descriptionEdit, self.groupCombo)
        TemplatePropertiesDialog.setTabOrder(self.groupCombo, self.templateEdit)
        TemplatePropertiesDialog.setTabOrder(self.templateEdit, self.helpButton)
        TemplatePropertiesDialog.setTabOrder(self.helpButton, self.buttonBox)

    def retranslateUi(self, TemplatePropertiesDialog):
        TemplatePropertiesDialog.setWindowTitle(QtGui.QApplication.translate("TemplatePropertiesDialog", "Template Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setToolTip(QtGui.QApplication.translate("TemplatePropertiesDialog", "Enter the name of the template/group. Templates are autocompleted upon this name.", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionLabel.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "Description:", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionEdit.setToolTip(QtGui.QApplication.translate("TemplatePropertiesDialog", "Enter a description for the template", None, QtGui.QApplication.UnicodeUTF8))
        self.groupLabel.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "Group:", None, QtGui.QApplication.UnicodeUTF8))
        self.templateLabel.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "Template:", None, QtGui.QApplication.UnicodeUTF8))
        self.templateEdit.setToolTip(QtGui.QApplication.translate("TemplatePropertiesDialog", "Enter the text of the template", None, QtGui.QApplication.UnicodeUTF8))
        self.templateEdit.setWhatsThis(QtGui.QApplication.translate("TemplatePropertiesDialog", "<b>Template Text</b>\n"
"<p>Enter the template text in this area. Every occurrence of $VAR$ will be replaced\n"
"by the associated text when the template is applied.  Predefined variables may be used in the template. The separator character might\n"
"be changed via the preferences dialog.</p>\n"
"<p>Press the help button for more information.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.helpButton.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.helpButton.setShortcut(QtGui.QApplication.translate("TemplatePropertiesDialog", "Alt+H", None, QtGui.QApplication.UnicodeUTF8))

