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

# Form implementation generated from reading ui file 'QMeiEditorForm.ui'
#
# Created: Tue Sep 24 09:06:30 2013
#      by: PyQt4 UI code generator 4.10.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_QMeiDialog(object):
    def setupUi(self, QMeiDialog):
        QMeiDialog.setObjectName(_fromUtf8("QMeiDialog"))
        QMeiDialog.resize(500, 500)
        self.verticalLayout = QtGui.QVBoxLayout(QMeiDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(QMeiDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_1 = QtGui.QWidget()
        self.tab_1.setObjectName(_fromUtf8("tab_1"))
        self.gridLayout = QtGui.QGridLayout(self.tab_1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.textEditExpression = QtGui.QTextEdit(self.tab_1)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        self.textEditExpression.setFont(font)
        self.textEditExpression.setAutoFillBackground(True)
        self.textEditExpression.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.textEditExpression.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.textEditExpression.setAcceptRichText(False)
        self.textEditExpression.setObjectName(_fromUtf8("textEditExpression"))
        self.gridLayout.addWidget(self.textEditExpression, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_1, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tab_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.textEditSymbols = QtGui.QTextEdit(self.tab_2)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        self.textEditSymbols.setFont(font)
        self.textEditSymbols.setReadOnly(True)
        self.textEditSymbols.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.textEditSymbols.setObjectName(_fromUtf8("textEditSymbols"))
        self.gridLayout_2.addWidget(self.textEditSymbols, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tab_3)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.textEditExamples = QtGui.QTextEdit(self.tab_3)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        self.textEditExamples.setFont(font)
        self.textEditExamples.setReadOnly(True)
        self.textEditExamples.setAcceptRichText(False)
        self.textEditExamples.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.textEditExamples.setObjectName(_fromUtf8("textEditExamples"))
        self.gridLayout_3.addWidget(self.textEditExamples, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.buttonBox = QtGui.QDialogButtonBox(QMeiDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(QMeiDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), QMeiDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QMeiDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(QMeiDialog)

    def retranslateUi(self, QMeiDialog):
        QMeiDialog.setWindowTitle(_translate("QMeiDialog", "Mathematical expression editor", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), _translate("QMeiDialog", "User expression", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("QMeiDialog", "Predefined symbols", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("QMeiDialog", "Examples", None))

