X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=ui_editor_dialog.py;fp=ui_editor_dialog.py;h=e9d7a2559a93ac28d06a70ecc8355b0a357dda3d;hp=62b5e44f14a3ce7a48c0a6cdcb13f937a9a7aed5;hb=54389d5adbbb1830a7e85545b2bdde816713a272;hpb=b517d55320f54925d862aca9dedb363b6d3b156d diff --git a/ui_editor_dialog.py b/ui_editor_dialog.py index 62b5e44..e9d7a25 100644 --- a/ui_editor_dialog.py +++ b/ui_editor_dialog.py @@ -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):