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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Templates/TemplatePropertiesDialog.ui'
#
# Created: Sat Feb  3 15:33:54 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_TemplatePropertiesDialog(object):
    def setupUi(self, TemplatePropertiesDialog):
        TemplatePropertiesDialog.setObjectName("TemplatePropertiesDialog")
        TemplatePropertiesDialog.resize(QtCore.QSize(QtCore.QRect(0,0,448,323).size()).expandedTo(TemplatePropertiesDialog.minimumSizeHint()))
        TemplatePropertiesDialog.setSizeGripEnabled(True)

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

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.groupCombo = QtGui.QComboBox(TemplatePropertiesDialog)
        self.groupCombo.setObjectName("groupCombo")
        self.gridlayout.addWidget(self.groupCombo,1,1,1,1)

        self.templateLabel = QtGui.QLabel(TemplatePropertiesDialog)
        self.templateLabel.setAlignment(QtCore.Qt.AlignTop)
        self.templateLabel.setObjectName("templateLabel")
        self.gridlayout.addWidget(self.templateLabel,2,0,1,1)

        self.helpButton = QtGui.QPushButton(TemplatePropertiesDialog)
        self.helpButton.setObjectName("helpButton")
        self.gridlayout.addWidget(self.helpButton,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,2,1,3,1)

        self.nameEdit = QtGui.QLineEdit(TemplatePropertiesDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.gridlayout.addWidget(self.nameEdit,0,1,1,1)

        self.textLabel1 = QtGui.QLabel(TemplatePropertiesDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)

        spacerItem = QtGui.QSpacerItem(87,155,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem,4,0,1,1)

        self.groupLabel = QtGui.QLabel(TemplatePropertiesDialog)
        self.groupLabel.setObjectName("groupLabel")
        self.gridlayout.addWidget(self.groupLabel,1,0,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(TemplatePropertiesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

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

    def retranslateUi(self, TemplatePropertiesDialog):
        TemplatePropertiesDialog.setWindowTitle(QtGui.QApplication.translate("TemplatePropertiesDialog", "Template Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.templateLabel.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "Template:", 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))
        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 occurance of $VAR$ will be replaced\n"
        "by the associated text when the template is applied. The separator character might\n"
        "be changed via the preferences dialog. Press the help button for more information.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setToolTip(QtGui.QApplication.translate("TemplatePropertiesDialog", "Enter the name of the template/group", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.groupLabel.setText(QtGui.QApplication.translate("TemplatePropertiesDialog", "Group:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    TemplatePropertiesDialog = QtGui.QDialog()
    ui = Ui_TemplatePropertiesDialog()
    ui.setupUi(TemplatePropertiesDialog)
    TemplatePropertiesDialog.show()
    sys.exit(app.exec_())
