+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'editor_dialog.ui'
+#
+# Created: Mon Nov 29 17:43:54 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_EditorDialog(object):
+ def setupUi(self, EditorDialog):
+ EditorDialog.setObjectName("EditorDialog")
+ EditorDialog.resize(663, 463)
+ self.gridLayout = QtGui.QGridLayout(EditorDialog)
+ self.gridLayout.setObjectName("gridLayout")
+ self.template_text = QtGui.QPlainTextEdit(EditorDialog)
+ font = QtGui.QFont()
+ font.setFamily("Monospace")
+ self.template_text.setFont(font)
+ self.template_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
+ self.template_text.setTabChangesFocus(True)
+ self.template_text.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
+ self.template_text.setObjectName("template_text")
+ self.gridLayout.addWidget(self.template_text, 0, 0, 1, 1)
+ self.buttonBox = QtGui.QDialogButtonBox(EditorDialog)
+ self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
+ self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
+ self.buttonBox.setObjectName("buttonBox")
+ self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1)
+
+ self.retranslateUi(EditorDialog)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), EditorDialog.accept)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), EditorDialog.reject)
+ QtCore.QObject.connect(self.template_text, QtCore.SIGNAL("textChanged()"), EditorDialog.onTextChanged)
+ QtCore.QMetaObject.connectSlotsByName(EditorDialog)
+
+ def retranslateUi(self, EditorDialog):
+ EditorDialog.setWindowTitle(QtGui.QApplication.translate("EditorDialog", "Editor", None, QtGui.QApplication.UnicodeUTF8))
+