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