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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Templates/TemplateSingleVariableDialog.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_TemplateSingleVariableDialog(object):
    def setupUi(self, TemplateSingleVariableDialog):
        TemplateSingleVariableDialog.setObjectName("TemplateSingleVariableDialog")
        TemplateSingleVariableDialog.resize(QtCore.QSize(QtCore.QRect(0,0,403,218).size()).expandedTo(TemplateSingleVariableDialog.minimumSizeHint()))
        TemplateSingleVariableDialog.setSizeGripEnabled(True)

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

        self.variableEdit = QtGui.QTextEdit(TemplateSingleVariableDialog)
        self.variableEdit.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.variableEdit.setAcceptRichText(False)
        self.variableEdit.setObjectName("variableEdit")
        self.gridlayout.addWidget(self.variableEdit,0,1,1,1)

        self.variableLabel = QtGui.QLabel(TemplateSingleVariableDialog)
        self.variableLabel.setAlignment(QtCore.Qt.AlignTop)
        self.variableLabel.setObjectName("variableLabel")
        self.gridlayout.addWidget(self.variableLabel,0,0,1,1)

        self.buttonBox = QtGui.QDialogButtonBox(TemplateSingleVariableDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,1,0,1,2)

        self.retranslateUi(TemplateSingleVariableDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),TemplateSingleVariableDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),TemplateSingleVariableDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TemplateSingleVariableDialog)

    def retranslateUi(self, TemplateSingleVariableDialog):
        TemplateSingleVariableDialog.setWindowTitle(QtGui.QApplication.translate("TemplateSingleVariableDialog", "Enter Template Variable", None, QtGui.QApplication.UnicodeUTF8))
        self.variableEdit.setToolTip(QtGui.QApplication.translate("TemplateSingleVariableDialog", "Enter the value for the variable.", None, QtGui.QApplication.UnicodeUTF8))
        self.variableLabel.setText(QtGui.QApplication.translate("TemplateSingleVariableDialog", "Variable:", None, QtGui.QApplication.UnicodeUTF8))



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