X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=ui_article_dialog.py;h=d9dc5750fc11b613f76d0cd8c1adc4493a8cf060;hp=7e42cc7a64eb06329ec07c3a69625b7f83ef819f;hb=a17e899ab18f129ecc6e894e8b2ddc3322aef6f8;hpb=3b4711c41851510b83c2c442bd6a00ee387c1bfb diff --git a/ui_article_dialog.py b/ui_article_dialog.py index 7e42cc7..d9dc575 100644 --- a/ui_article_dialog.py +++ b/ui_article_dialog.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'article_dialog.ui' # -# Created: Sun Nov 28 13:59:41 2010 +# Created: Sun Nov 28 17:32:45 2010 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! @@ -156,11 +156,6 @@ class Ui_ArticleDialog(object): self.linebreak.setAutoRaise(False) self.linebreak.setObjectName("linebreak") self.gridLayout.addWidget(self.linebreak, 4, 21, 1, 1) - self.content = QtGui.QPlainTextEdit(ArticleDialog) - self.content.setMinimumSize(QtCore.QSize(0, 210)) - self.content.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) - self.content.setObjectName("content") - self.gridLayout.addWidget(self.content, 5, 0, 1, 22) self.label_4 = QtGui.QLabel(ArticleDialog) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 6, 0, 1, 2) @@ -233,6 +228,14 @@ class Ui_ArticleDialog(object): self.blockquote.setAutoRaise(False) self.blockquote.setObjectName("blockquote") self.gridLayout.addWidget(self.blockquote, 4, 15, 1, 1) + self.content = QtGui.QPlainTextEdit(ArticleDialog) + self.content.setMinimumSize(QtCore.QSize(0, 210)) + font = QtGui.QFont() + font.setFamily("Monospace") + self.content.setFont(font) + self.content.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) + self.content.setObjectName("content") + self.gridLayout.addWidget(self.content, 5, 0, 1, 22) self.retranslateUi(ArticleDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), ArticleDialog.accept) @@ -392,8 +395,8 @@ class Ui_ArticleDialog(object): "p, li { white-space: pre-wrap; }\n" "\n" "

Center para

\n" -"

Shortcut: Ctrl+C

", None, QtGui.QApplication.UnicodeUTF8)) - self.paracenter.setShortcut(QtGui.QApplication.translate("ArticleDialog", "Ctrl+C", None, QtGui.QApplication.UnicodeUTF8)) +"

Shortcut: Ctrl+O

", None, QtGui.QApplication.UnicodeUTF8)) + self.paracenter.setShortcut(QtGui.QApplication.translate("ArticleDialog", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8)) self.paraleft.setToolTip(QtGui.QApplication.translate("ArticleDialog", "\n" "