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

# Form implementation generated from reading ui file 'templates_dialog.ui'
#
# Created: Mon Nov 29 18:11:30 2010
#      by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_TemplatesDialog(object):
    def setupUi(self, TemplatesDialog):
        TemplatesDialog.setObjectName("TemplatesDialog")
        TemplatesDialog.resize(350, 256)
        TemplatesDialog.setMinimumSize(QtCore.QSize(350, 256))
        TemplatesDialog.setMaximumSize(QtCore.QSize(350, 256))
        self.gridLayout = QtGui.QGridLayout(TemplatesDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(TemplatesDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
        self.templates = QtGui.QListWidget(TemplatesDialog)
        self.templates.setObjectName("templates")
        self.gridLayout.addWidget(self.templates, 1, 0, 1, 3)
        self.edit = QtGui.QPushButton(TemplatesDialog)
        self.edit.setCheckable(False)
        self.edit.setChecked(False)
        self.edit.setObjectName("edit")
        self.gridLayout.addWidget(self.edit, 2, 1, 1, 1)
        self.close = QtGui.QPushButton(TemplatesDialog)
        self.close.setObjectName("close")
        self.gridLayout.addWidget(self.close, 2, 2, 1, 1)

        self.retranslateUi(TemplatesDialog)
        QtCore.QObject.connect(self.close, QtCore.SIGNAL("clicked()"), TemplatesDialog.accept)
        QtCore.QObject.connect(self.edit, QtCore.SIGNAL("clicked()"), TemplatesDialog.onEdit)
        QtCore.QMetaObject.connectSlotsByName(TemplatesDialog)
        TemplatesDialog.setTabOrder(self.templates, self.edit)
        TemplatesDialog.setTabOrder(self.edit, self.close)

    def retranslateUi(self, TemplatesDialog):
        TemplatesDialog.setWindowTitle(QtGui.QApplication.translate("TemplatesDialog", "Templates", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("TemplatesDialog", "Choose template", None, QtGui.QApplication.UnicodeUTF8))
        self.edit.setToolTip(QtGui.QApplication.translate("TemplatesDialog", "Click to edit the\n"
"selected template", None, QtGui.QApplication.UnicodeUTF8))
        self.edit.setText(QtGui.QApplication.translate("TemplatesDialog", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.close.setText(QtGui.QApplication.translate("TemplatesDialog", "&Close", None, QtGui.QApplication.UnicodeUTF8))

