Completed the template editing functionality
[biaweb_qt.git] / ui_editor_dialog.py
index 62b5e44..e9d7a25 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'editor_dialog.ui'
 #
-# Created: Mon Nov 29 17:43:54 2010
+# Created: Mon Nov 29 18:18:36 2010
 #      by: PyQt4 UI code generator 4.7.4
 #
 # WARNING! All changes made in this file will be lost!
@@ -15,15 +15,15 @@ class Ui_EditorDialog(object):
         EditorDialog.resize(663, 463)
         self.gridLayout = QtGui.QGridLayout(EditorDialog)
         self.gridLayout.setObjectName("gridLayout")
-        self.template_text = QtGui.QPlainTextEdit(EditorDialog)
+        self.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.text.setFont(font)
+        self.text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
+        self.text.setTabChangesFocus(True)
+        self.text.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
+        self.text.setObjectName("text")
+        self.gridLayout.addWidget(self.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)
@@ -33,7 +33,7 @@ class Ui_EditorDialog(object):
         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.QObject.connect(self.text, QtCore.SIGNAL("textChanged()"), EditorDialog.onTextChanged)
         QtCore.QMetaObject.connectSlotsByName(EditorDialog)
 
     def retranslateUi(self, EditorDialog):