5f0876aafde33130df3f17f2f47cc58bbe568d15
1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'article_dialog.ui'
5 # Created: Sun Nov 28 20:16:53 2010
6 # by: PyQt4 UI code generator 4.7.4
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4
import QtCore
, QtGui
12 class Ui_ArticleDialog(object):
13 def setupUi(self
, ArticleDialog
):
14 ArticleDialog
.setObjectName("ArticleDialog")
15 ArticleDialog
.resize(654, 544)
16 ArticleDialog
.setAutoFillBackground(False)
17 ArticleDialog
.setSizeGripEnabled(True)
18 ArticleDialog
.setModal(True)
19 self
.gridLayout
= QtGui
.QGridLayout(ArticleDialog
)
20 self
.gridLayout
.setObjectName("gridLayout")
21 self
.label
= QtGui
.QLabel(ArticleDialog
)
25 self
.label
.setFont(font
)
26 self
.label
.setObjectName("label")
27 self
.gridLayout
.addWidget(self
.label
, 0, 0, 1, 3)
28 self
.article_title
= QtGui
.QLineEdit(ArticleDialog
)
29 self
.article_title
.setObjectName("article_title")
30 self
.gridLayout
.addWidget(self
.article_title
, 0, 3, 1, 19)
31 self
.label_2
= QtGui
.QLabel(ArticleDialog
)
35 self
.label_2
.setFont(font
)
36 self
.label_2
.setObjectName("label_2")
37 self
.gridLayout
.addWidget(self
.label_2
, 1, 0, 1, 3)
38 self
.keywords
= QtGui
.QLineEdit(ArticleDialog
)
39 self
.keywords
.setObjectName("keywords")
40 self
.gridLayout
.addWidget(self
.keywords
, 1, 3, 1, 19)
41 self
.label_3
= QtGui
.QLabel(ArticleDialog
)
45 self
.label_3
.setFont(font
)
46 self
.label_3
.setObjectName("label_3")
47 self
.gridLayout
.addWidget(self
.label_3
, 2, 0, 1, 3)
48 self
.summary
= QtGui
.QPlainTextEdit(ArticleDialog
)
49 self
.summary
.setVerticalScrollBarPolicy(QtCore
.Qt
.ScrollBarAlwaysOn
)
50 self
.summary
.setTabChangesFocus(True)
51 self
.summary
.setObjectName("summary")
52 self
.gridLayout
.addWidget(self
.summary
, 2, 3, 1, 19)
53 self
.label_5
= QtGui
.QLabel(ArticleDialog
)
57 self
.label_5
.setFont(font
)
58 self
.label_5
.setObjectName("label_5")
59 self
.gridLayout
.addWidget(self
.label_5
, 3, 0, 1, 4)
60 self
.bold
= QtGui
.QToolButton(ArticleDialog
)
64 self
.bold
.setFont(font
)
65 self
.bold
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
68 icon
.addPixmap(QtGui
.QPixmap(":/bia/resources/bold.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
69 self
.bold
.setIcon(icon
)
70 self
.bold
.setAutoRaise(False)
71 self
.bold
.setObjectName("bold")
72 self
.gridLayout
.addWidget(self
.bold
, 4, 0, 1, 1)
73 self
.italic
= QtGui
.QToolButton(ArticleDialog
)
76 self
.italic
.setFont(font
)
77 self
.italic
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
78 self
.italic
.setText("")
80 icon1
.addPixmap(QtGui
.QPixmap(":/bia/resources/italic.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
81 self
.italic
.setIcon(icon1
)
82 self
.italic
.setAutoRaise(False)
83 self
.italic
.setObjectName("italic")
84 self
.gridLayout
.addWidget(self
.italic
, 4, 1, 1, 1)
85 self
.preformat
= QtGui
.QToolButton(ArticleDialog
)
86 self
.preformat
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
87 self
.preformat
.setText("")
89 icon2
.addPixmap(QtGui
.QPixmap(":/bia/resources/pre.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
90 self
.preformat
.setIcon(icon2
)
91 self
.preformat
.setAutoRaise(False)
92 self
.preformat
.setObjectName("preformat")
93 self
.gridLayout
.addWidget(self
.preformat
, 4, 2, 1, 1)
94 self
.pararight
= QtGui
.QToolButton(ArticleDialog
)
95 self
.pararight
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
96 self
.pararight
.setText("")
98 icon3
.addPixmap(QtGui
.QPixmap(":/bia/resources/right.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
99 self
.pararight
.setIcon(icon3
)
100 self
.pararight
.setAutoRaise(False)
101 self
.pararight
.setObjectName("pararight")
102 self
.gridLayout
.addWidget(self
.pararight
, 4, 8, 1, 1)
103 self
.parajustify
= QtGui
.QToolButton(ArticleDialog
)
104 self
.parajustify
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
105 self
.parajustify
.setText("")
106 icon4
= QtGui
.QIcon()
107 icon4
.addPixmap(QtGui
.QPixmap(":/bia/resources/justify.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
108 self
.parajustify
.setIcon(icon4
)
109 self
.parajustify
.setAutoRaise(False)
110 self
.parajustify
.setObjectName("parajustify")
111 self
.gridLayout
.addWidget(self
.parajustify
, 4, 9, 1, 1)
112 self
.bullets
= QtGui
.QToolButton(ArticleDialog
)
113 self
.bullets
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
114 self
.bullets
.setText("")
115 icon5
= QtGui
.QIcon()
116 icon5
.addPixmap(QtGui
.QPixmap(":/bia/resources/bullets.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
117 self
.bullets
.setIcon(icon5
)
118 self
.bullets
.setAutoRaise(False)
119 self
.bullets
.setObjectName("bullets")
120 self
.gridLayout
.addWidget(self
.bullets
, 4, 13, 1, 1)
121 self
.numbered
= QtGui
.QToolButton(ArticleDialog
)
122 self
.numbered
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
123 self
.numbered
.setText("")
124 icon6
= QtGui
.QIcon()
125 icon6
.addPixmap(QtGui
.QPixmap(":/bia/resources/numbers.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
126 self
.numbered
.setIcon(icon6
)
127 self
.numbered
.setAutoRaise(False)
128 self
.numbered
.setObjectName("numbered")
129 self
.gridLayout
.addWidget(self
.numbered
, 4, 14, 1, 1)
130 self
.codeblock
= QtGui
.QToolButton(ArticleDialog
)
131 self
.codeblock
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
132 self
.codeblock
.setText("")
133 icon7
= QtGui
.QIcon()
134 icon7
.addPixmap(QtGui
.QPixmap(":/bia/resources/code.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
135 self
.codeblock
.setIcon(icon7
)
136 self
.codeblock
.setAutoRaise(False)
137 self
.codeblock
.setObjectName("codeblock")
138 self
.gridLayout
.addWidget(self
.codeblock
, 4, 16, 1, 1)
139 self
.table
= QtGui
.QToolButton(ArticleDialog
)
140 self
.table
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
141 self
.table
.setText("")
142 icon8
= QtGui
.QIcon()
143 icon8
.addPixmap(QtGui
.QPixmap(":/bia/resources/table.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
144 self
.table
.setIcon(icon8
)
145 self
.table
.setAutoRaise(False)
146 self
.table
.setObjectName("table")
147 self
.gridLayout
.addWidget(self
.table
, 4, 17, 1, 1)
148 self
.hrule
= QtGui
.QToolButton(ArticleDialog
)
149 self
.hrule
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
150 self
.hrule
.setText("")
151 icon9
= QtGui
.QIcon()
152 icon9
.addPixmap(QtGui
.QPixmap(":/bia/resources/hr.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
153 self
.hrule
.setIcon(icon9
)
154 self
.hrule
.setAutoRaise(False)
155 self
.hrule
.setObjectName("hrule")
156 self
.gridLayout
.addWidget(self
.hrule
, 4, 19, 1, 1)
157 self
.paragraph
= QtGui
.QToolButton(ArticleDialog
)
158 self
.paragraph
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
159 self
.paragraph
.setText("")
160 icon10
= QtGui
.QIcon()
161 icon10
.addPixmap(QtGui
.QPixmap(":/bia/resources/par.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
162 self
.paragraph
.setIcon(icon10
)
163 self
.paragraph
.setAutoRaise(False)
164 self
.paragraph
.setObjectName("paragraph")
165 self
.gridLayout
.addWidget(self
.paragraph
, 4, 20, 1, 1)
166 self
.linebreak
= QtGui
.QToolButton(ArticleDialog
)
167 self
.linebreak
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
168 self
.linebreak
.setText("")
169 icon11
= QtGui
.QIcon()
170 icon11
.addPixmap(QtGui
.QPixmap(":/bia/resources/br.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
171 self
.linebreak
.setIcon(icon11
)
172 self
.linebreak
.setAutoRaise(False)
173 self
.linebreak
.setObjectName("linebreak")
174 self
.gridLayout
.addWidget(self
.linebreak
, 4, 21, 1, 1)
175 self
.label_4
= QtGui
.QLabel(ArticleDialog
)
176 self
.label_4
.setObjectName("label_4")
177 self
.gridLayout
.addWidget(self
.label_4
, 6, 0, 1, 2)
178 self
.category
= QtGui
.QComboBox(ArticleDialog
)
179 self
.category
.setObjectName("category")
180 self
.gridLayout
.addWidget(self
.category
, 6, 2, 1, 11)
181 self
.label_6
= QtGui
.QLabel(ArticleDialog
)
182 self
.label_6
.setObjectName("label_6")
183 self
.gridLayout
.addWidget(self
.label_6
, 6, 13, 1, 2)
184 self
.rating
= QtGui
.QSpinBox(ArticleDialog
)
185 self
.rating
.setMinimum(-1)
186 self
.rating
.setMaximum(10)
187 self
.rating
.setObjectName("rating")
188 self
.gridLayout
.addWidget(self
.rating
, 6, 16, 1, 6)
189 self
.label_7
= QtGui
.QLabel(ArticleDialog
)
193 self
.label_7
.setFont(font
)
194 self
.label_7
.setObjectName("label_7")
195 self
.gridLayout
.addWidget(self
.label_7
, 7, 0, 1, 11)
196 self
.stub
= QtGui
.QLineEdit(ArticleDialog
)
197 self
.stub
.setObjectName("stub")
198 self
.gridLayout
.addWidget(self
.stub
, 7, 12, 1, 10)
199 self
.buttonBox
= QtGui
.QDialogButtonBox(ArticleDialog
)
200 self
.buttonBox
.setOrientation(QtCore
.Qt
.Horizontal
)
201 self
.buttonBox
.setStandardButtons(QtGui
.QDialogButtonBox
.Cancel|QtGui
.QDialogButtonBox
.Ok
)
202 self
.buttonBox
.setObjectName("buttonBox")
203 self
.gridLayout
.addWidget(self
.buttonBox
, 8, 0, 1, 22)
204 self
.image
= QtGui
.QToolButton(ArticleDialog
)
206 font
.setUnderline(True)
207 self
.image
.setFont(font
)
208 self
.image
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
209 self
.image
.setText("")
210 icon12
= QtGui
.QIcon()
211 icon12
.addPixmap(QtGui
.QPixmap(":/bia/resources/img.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
212 self
.image
.setIcon(icon12
)
213 self
.image
.setAutoRaise(False)
214 self
.image
.setObjectName("image")
215 self
.gridLayout
.addWidget(self
.image
, 4, 3, 1, 1)
216 self
.link
= QtGui
.QToolButton(ArticleDialog
)
217 self
.link
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
218 self
.link
.setText("")
219 icon13
= QtGui
.QIcon()
220 icon13
.addPixmap(QtGui
.QPixmap(":/bia/resources/link.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
221 self
.link
.setIcon(icon13
)
222 self
.link
.setObjectName("link")
223 self
.gridLayout
.addWidget(self
.link
, 4, 4, 1, 1)
224 self
.paracenter
= QtGui
.QToolButton(ArticleDialog
)
225 self
.paracenter
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
226 self
.paracenter
.setText("")
227 icon14
= QtGui
.QIcon()
228 icon14
.addPixmap(QtGui
.QPixmap(":/bia/resources/center.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
229 self
.paracenter
.setIcon(icon14
)
230 self
.paracenter
.setAutoRaise(False)
231 self
.paracenter
.setObjectName("paracenter")
232 self
.gridLayout
.addWidget(self
.paracenter
, 4, 7, 1, 1)
233 self
.paraleft
= QtGui
.QToolButton(ArticleDialog
)
234 self
.paraleft
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
235 self
.paraleft
.setText("")
236 icon15
= QtGui
.QIcon()
237 icon15
.addPixmap(QtGui
.QPixmap(":/bia/resources/left.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
238 self
.paraleft
.setIcon(icon15
)
239 self
.paraleft
.setAutoRaise(False)
240 self
.paraleft
.setObjectName("paraleft")
241 self
.gridLayout
.addWidget(self
.paraleft
, 4, 6, 1, 1)
242 self
.blockquote
= QtGui
.QToolButton(ArticleDialog
)
243 self
.blockquote
.setFocusPolicy(QtCore
.Qt
.NoFocus
)
244 self
.blockquote
.setText("")
245 icon16
= QtGui
.QIcon()
246 icon16
.addPixmap(QtGui
.QPixmap(":/bia/resources/bquote.gif"), QtGui
.QIcon
.Normal
, QtGui
.QIcon
.Off
)
247 self
.blockquote
.setIcon(icon16
)
248 self
.blockquote
.setAutoRaise(False)
249 self
.blockquote
.setObjectName("blockquote")
250 self
.gridLayout
.addWidget(self
.blockquote
, 4, 15, 1, 1)
251 self
.content
= QtGui
.QPlainTextEdit(ArticleDialog
)
252 self
.content
.setMinimumSize(QtCore
.QSize(0, 210))
254 font
.setFamily("Monospace")
255 self
.content
.setFont(font
)
256 self
.content
.setVerticalScrollBarPolicy(QtCore
.Qt
.ScrollBarAlwaysOn
)
257 self
.content
.setTabChangesFocus(True)
258 self
.content
.setObjectName("content")
259 self
.gridLayout
.addWidget(self
.content
, 5, 0, 1, 22)
261 self
.retranslateUi(ArticleDialog
)
262 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("accepted()"), ArticleDialog
.accept
)
263 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("rejected()"), ArticleDialog
.reject
)
264 QtCore
.QObject
.connect(self
.bold
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onBold
)
265 QtCore
.QObject
.connect(self
.italic
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onItalic
)
266 QtCore
.QObject
.connect(self
.preformat
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onPre
)
267 QtCore
.QObject
.connect(self
.image
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onImage
)
268 QtCore
.QObject
.connect(self
.link
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onLink
)
269 QtCore
.QObject
.connect(self
.paraleft
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onLeft
)
270 QtCore
.QObject
.connect(self
.paracenter
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onCenter
)
271 QtCore
.QObject
.connect(self
.pararight
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onRight
)
272 QtCore
.QObject
.connect(self
.parajustify
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onJustify
)
273 QtCore
.QObject
.connect(self
.bullets
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onBullet
)
274 QtCore
.QObject
.connect(self
.numbered
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onNumber
)
275 QtCore
.QObject
.connect(self
.blockquote
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onBQuote
)
276 QtCore
.QObject
.connect(self
.codeblock
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onCode
)
277 QtCore
.QObject
.connect(self
.table
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onTable
)
278 QtCore
.QObject
.connect(self
.hrule
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onHRule
)
279 QtCore
.QObject
.connect(self
.paragraph
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onPara
)
280 QtCore
.QObject
.connect(self
.linebreak
, QtCore
.SIGNAL("clicked()"), ArticleDialog
.onBreak
)
281 QtCore
.QMetaObject
.connectSlotsByName(ArticleDialog
)
282 ArticleDialog
.setTabOrder(self
.article_title
, self
.keywords
)
283 ArticleDialog
.setTabOrder(self
.keywords
, self
.summary
)
284 ArticleDialog
.setTabOrder(self
.summary
, self
.content
)
285 ArticleDialog
.setTabOrder(self
.content
, self
.category
)
286 ArticleDialog
.setTabOrder(self
.category
, self
.rating
)
287 ArticleDialog
.setTabOrder(self
.rating
, self
.stub
)
288 ArticleDialog
.setTabOrder(self
.stub
, self
.buttonBox
)
290 def retranslateUi(self
, ArticleDialog
):
291 ArticleDialog
.setWindowTitle(QtGui
.QApplication
.translate("ArticleDialog", "Article", None, QtGui
.QApplication
.UnicodeUTF8
))
292 self
.label
.setText(QtGui
.QApplication
.translate("ArticleDialog", "Title", None, QtGui
.QApplication
.UnicodeUTF8
))
293 self
.label_2
.setText(QtGui
.QApplication
.translate("ArticleDialog", "Keywords", None, QtGui
.QApplication
.UnicodeUTF8
))
294 self
.label_3
.setText(QtGui
.QApplication
.translate("ArticleDialog", "Summary", None, QtGui
.QApplication
.UnicodeUTF8
))
295 self
.label_5
.setText(QtGui
.QApplication
.translate("ArticleDialog", "Article content", None, QtGui
.QApplication
.UnicodeUTF8
))
296 self
.bold
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
297 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
298 "p, li { white-space: pre-wrap; }\n"
299 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:600; font-style:normal;\">\n"
300 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Bold</p>\n"
301 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:400; font-style:italic;\">Shortcut: Ctrl+B</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
302 self
.bold
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+B", None, QtGui
.QApplication
.UnicodeUTF8
))
303 self
.italic
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
304 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
305 "p, li { white-space: pre-wrap; }\n"
306 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:italic;\">\n"
307 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Italic</p>\n"
308 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Shortcut: Ctrl+I</p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
309 self
.italic
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+I", None, QtGui
.QApplication
.UnicodeUTF8
))
310 self
.preformat
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
311 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
312 "p, li { white-space: pre-wrap; }\n"
313 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
314 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Preformatted text</p>\n"
315 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+F</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
316 self
.preformat
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+F", None, QtGui
.QApplication
.UnicodeUTF8
))
317 self
.pararight
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
318 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
319 "p, li { white-space: pre-wrap; }\n"
320 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
321 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Right align para</p>\n"
322 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+R</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
323 self
.pararight
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+R", None, QtGui
.QApplication
.UnicodeUTF8
))
324 self
.parajustify
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
325 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
326 "p, li { white-space: pre-wrap; }\n"
327 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
328 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Justify para</p>\n"
329 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+J</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
330 self
.parajustify
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+J", None, QtGui
.QApplication
.UnicodeUTF8
))
331 self
.bullets
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
332 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
333 "p, li { white-space: pre-wrap; }\n"
334 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
335 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Bulleted list</p>\n"
336 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+. </span>(Ctrl+dot)</p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
337 self
.bullets
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+.", None, QtGui
.QApplication
.UnicodeUTF8
))
338 self
.numbered
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
339 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
340 "p, li { white-space: pre-wrap; }\n"
341 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
342 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Numbered list</p>\n"
343 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+1 </span>(Ctrl+One)</p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
344 self
.numbered
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+1", None, QtGui
.QApplication
.UnicodeUTF8
))
345 self
.codeblock
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
346 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
347 "p, li { white-space: pre-wrap; }\n"
348 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
349 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Code block</p>\n"
350 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+= </span>(Ctrl+Equals)</p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
351 self
.codeblock
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+=", None, QtGui
.QApplication
.UnicodeUTF8
))
352 self
.table
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
353 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
354 "p, li { white-space: pre-wrap; }\n"
355 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
356 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Table</p>\n"
357 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+T</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
358 self
.table
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+T", None, QtGui
.QApplication
.UnicodeUTF8
))
359 self
.hrule
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
360 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
361 "p, li { white-space: pre-wrap; }\n"
362 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
363 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Horizontal rule</p>\n"
364 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+H</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
365 self
.hrule
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+H", None, QtGui
.QApplication
.UnicodeUTF8
))
366 self
.paragraph
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
367 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
368 "p, li { white-space: pre-wrap; }\n"
369 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
370 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Paragraph</p>\n"
371 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+P</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
372 self
.paragraph
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+P", None, QtGui
.QApplication
.UnicodeUTF8
))
373 self
.linebreak
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
374 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
375 "p, li { white-space: pre-wrap; }\n"
376 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
377 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Line break</p>\n"
378 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+Enter</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
379 self
.linebreak
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+Return", None, QtGui
.QApplication
.UnicodeUTF8
))
380 self
.label_4
.setText(QtGui
.QApplication
.translate("ArticleDialog", "Category", None, QtGui
.QApplication
.UnicodeUTF8
))
381 self
.label_6
.setText(QtGui
.QApplication
.translate("ArticleDialog", "Rating", None, QtGui
.QApplication
.UnicodeUTF8
))
382 self
.label_7
.setText(QtGui
.QApplication
.translate("ArticleDialog", "Stub (file name without HTML extension)", None, QtGui
.QApplication
.UnicodeUTF8
))
383 self
.image
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
384 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
385 "p, li { white-space: pre-wrap; }\n"
386 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
387 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Insert image</p>\n"
388 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+Shift+I</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
389 self
.image
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+Shift+I", None, QtGui
.QApplication
.UnicodeUTF8
))
390 self
.link
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
391 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
392 "p, li { white-space: pre-wrap; }\n"
393 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
394 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Insert link</p>\n"
395 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+Shift+L</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
396 self
.link
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+Shift+L", None, QtGui
.QApplication
.UnicodeUTF8
))
397 self
.paracenter
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
398 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
399 "p, li { white-space: pre-wrap; }\n"
400 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
401 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Center para</p>\n"
402 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+O</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
403 self
.paracenter
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+O", None, QtGui
.QApplication
.UnicodeUTF8
))
404 self
.paraleft
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
405 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
406 "p, li { white-space: pre-wrap; }\n"
407 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
408 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Left align para</p>\n"
409 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+L</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
410 self
.paraleft
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+L", None, QtGui
.QApplication
.UnicodeUTF8
))
411 self
.blockquote
.setToolTip(QtGui
.QApplication
.translate("ArticleDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
412 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
413 "p, li { white-space: pre-wrap; }\n"
414 "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
415 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Blockquote</p>\n"
416 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Shortcut: Ctrl+Q</span></p></body></html>", None, QtGui
.QApplication
.UnicodeUTF8
))
417 self
.blockquote
.setShortcut(QtGui
.QApplication
.translate("ArticleDialog", "Ctrl+Q", None, QtGui
.QApplication
.UnicodeUTF8
))