Resource file and enhanced article dialog
[biaweb_qt.git] / article_dialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ArticleDialog</class>
4 <widget class="QDialog" name="ArticleDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>624</width>
10 <height>544</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Article</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <property name="modal">
20 <bool>true</bool>
21 </property>
22 <layout class="QGridLayout" name="gridLayout">
23 <item row="0" column="0">
24 <widget class="QLabel" name="label">
25 <property name="text">
26 <string>Title</string>
27 </property>
28 </widget>
29 </item>
30 <item row="0" column="3" colspan="14">
31 <widget class="QLineEdit" name="article_title"/>
32 </item>
33 <item row="1" column="0" colspan="2">
34 <widget class="QLabel" name="label_2">
35 <property name="text">
36 <string>Keywords</string>
37 </property>
38 </widget>
39 </item>
40 <item row="1" column="3" colspan="14">
41 <widget class="QLineEdit" name="keywords"/>
42 </item>
43 <item row="2" column="0" colspan="2">
44 <widget class="QLabel" name="label_3">
45 <property name="text">
46 <string>Summary</string>
47 </property>
48 </widget>
49 </item>
50 <item row="2" column="3" colspan="14">
51 <widget class="QPlainTextEdit" name="summary">
52 <property name="verticalScrollBarPolicy">
53 <enum>Qt::ScrollBarAlwaysOn</enum>
54 </property>
55 <property name="tabChangesFocus">
56 <bool>true</bool>
57 </property>
58 </widget>
59 </item>
60 <item row="3" column="0" colspan="3">
61 <widget class="QLabel" name="label_5">
62 <property name="text">
63 <string>Article content</string>
64 </property>
65 </widget>
66 </item>
67 <item row="4" column="0">
68 <widget class="QToolButton" name="bold">
69 <property name="font">
70 <font>
71 <weight>75</weight>
72 <bold>true</bold>
73 </font>
74 </property>
75 <property name="toolTip">
76 <string>Bold</string>
77 </property>
78 <property name="text">
79 <string/>
80 </property>
81 <property name="icon">
82 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
83 <normaloff>:/bia/resources/bold.gif</normaloff>:/bia/resources/bold.gif</iconset>
84 </property>
85 <property name="autoRaise">
86 <bool>false</bool>
87 </property>
88 </widget>
89 </item>
90 <item row="4" column="1">
91 <widget class="QToolButton" name="italic">
92 <property name="font">
93 <font>
94 <italic>true</italic>
95 </font>
96 </property>
97 <property name="toolTip">
98 <string>Italic</string>
99 </property>
100 <property name="text">
101 <string/>
102 </property>
103 <property name="icon">
104 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
105 <normaloff>:/bia/resources/italic.gif</normaloff>:/bia/resources/italic.gif</iconset>
106 </property>
107 <property name="autoRaise">
108 <bool>false</bool>
109 </property>
110 </widget>
111 </item>
112 <item row="4" column="2">
113 <widget class="QToolButton" name="preformat">
114 <property name="toolTip">
115 <string>Preformatted text</string>
116 </property>
117 <property name="text">
118 <string/>
119 </property>
120 <property name="icon">
121 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
122 <normaloff>:/bia/resources/pre.gif</normaloff>:/bia/resources/pre.gif</iconset>
123 </property>
124 <property name="autoRaise">
125 <bool>false</bool>
126 </property>
127 </widget>
128 </item>
129 <item row="4" column="3">
130 <widget class="QToolButton" name="paraleft">
131 <property name="toolTip">
132 <string>Left align para</string>
133 </property>
134 <property name="text">
135 <string/>
136 </property>
137 <property name="icon">
138 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
139 <normaloff>:/bia/resources/left.gif</normaloff>:/bia/resources/left.gif</iconset>
140 </property>
141 <property name="autoRaise">
142 <bool>false</bool>
143 </property>
144 </widget>
145 </item>
146 <item row="4" column="4">
147 <widget class="QToolButton" name="paracenter">
148 <property name="toolTip">
149 <string>Center para</string>
150 </property>
151 <property name="text">
152 <string/>
153 </property>
154 <property name="icon">
155 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
156 <normaloff>:/bia/resources/center.gif</normaloff>:/bia/resources/center.gif</iconset>
157 </property>
158 <property name="autoRaise">
159 <bool>false</bool>
160 </property>
161 </widget>
162 </item>
163 <item row="4" column="5">
164 <widget class="QToolButton" name="pararight">
165 <property name="toolTip">
166 <string>Right align para</string>
167 </property>
168 <property name="text">
169 <string/>
170 </property>
171 <property name="icon">
172 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
173 <normaloff>:/bia/resources/right.gif</normaloff>:/bia/resources/right.gif</iconset>
174 </property>
175 <property name="autoRaise">
176 <bool>false</bool>
177 </property>
178 </widget>
179 </item>
180 <item row="4" column="6">
181 <widget class="QToolButton" name="parajustify">
182 <property name="toolTip">
183 <string>Justify para</string>
184 </property>
185 <property name="text">
186 <string/>
187 </property>
188 <property name="icon">
189 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
190 <normaloff>:/bia/resources/justify.gif</normaloff>:/bia/resources/justify.gif</iconset>
191 </property>
192 <property name="autoRaise">
193 <bool>false</bool>
194 </property>
195 </widget>
196 </item>
197 <item row="4" column="7">
198 <widget class="QToolButton" name="image">
199 <property name="font">
200 <font>
201 <underline>true</underline>
202 </font>
203 </property>
204 <property name="toolTip">
205 <string>Insert image</string>
206 </property>
207 <property name="text">
208 <string/>
209 </property>
210 <property name="icon">
211 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
212 <normaloff>:/bia/resources/img.gif</normaloff>:/bia/resources/img.gif</iconset>
213 </property>
214 <property name="autoRaise">
215 <bool>false</bool>
216 </property>
217 </widget>
218 </item>
219 <item row="4" column="8">
220 <widget class="QToolButton" name="flash">
221 <property name="toolTip">
222 <string>Insert flash object</string>
223 </property>
224 <property name="text">
225 <string/>
226 </property>
227 <property name="icon">
228 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
229 <normaloff>:/bia/resources/flash.gif</normaloff>:/bia/resources/flash.gif</iconset>
230 </property>
231 <property name="autoRaise">
232 <bool>false</bool>
233 </property>
234 </widget>
235 </item>
236 <item row="4" column="9">
237 <widget class="QToolButton" name="bullets">
238 <property name="toolTip">
239 <string>Bulleted list</string>
240 </property>
241 <property name="text">
242 <string/>
243 </property>
244 <property name="icon">
245 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
246 <normaloff>:/bia/resources/bullets.gif</normaloff>:/bia/resources/bullets.gif</iconset>
247 </property>
248 <property name="autoRaise">
249 <bool>false</bool>
250 </property>
251 </widget>
252 </item>
253 <item row="4" column="10">
254 <widget class="QToolButton" name="numbered">
255 <property name="toolTip">
256 <string>Numbered list</string>
257 </property>
258 <property name="text">
259 <string/>
260 </property>
261 <property name="icon">
262 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
263 <normaloff>:/bia/resources/numbers.gif</normaloff>:/bia/resources/numbers.gif</iconset>
264 </property>
265 <property name="autoRaise">
266 <bool>false</bool>
267 </property>
268 </widget>
269 </item>
270 <item row="4" column="11">
271 <widget class="QToolButton" name="codeblock">
272 <property name="toolTip">
273 <string>Code block</string>
274 </property>
275 <property name="text">
276 <string/>
277 </property>
278 <property name="icon">
279 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
280 <normaloff>:/bia/resources/code.gif</normaloff>:/bia/resources/code.gif</iconset>
281 </property>
282 <property name="autoRaise">
283 <bool>false</bool>
284 </property>
285 </widget>
286 </item>
287 <item row="4" column="12">
288 <widget class="QToolButton" name="table">
289 <property name="toolTip">
290 <string>Table</string>
291 </property>
292 <property name="text">
293 <string/>
294 </property>
295 <property name="icon">
296 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
297 <normaloff>:/bia/resources/table.gif</normaloff>:/bia/resources/table.gif</iconset>
298 </property>
299 <property name="autoRaise">
300 <bool>false</bool>
301 </property>
302 </widget>
303 </item>
304 <item row="4" column="13">
305 <widget class="QToolButton" name="blockquote">
306 <property name="toolTip">
307 <string>Blockquote</string>
308 </property>
309 <property name="text">
310 <string/>
311 </property>
312 <property name="icon">
313 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
314 <normaloff>:/bia/resources/bquote.gif</normaloff>:/bia/resources/bquote.gif</iconset>
315 </property>
316 <property name="autoRaise">
317 <bool>false</bool>
318 </property>
319 </widget>
320 </item>
321 <item row="4" column="14">
322 <widget class="QToolButton" name="hrule">
323 <property name="toolTip">
324 <string>Horizontal rule</string>
325 </property>
326 <property name="text">
327 <string/>
328 </property>
329 <property name="icon">
330 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
331 <normaloff>:/bia/resources/hr.gif</normaloff>:/bia/resources/hr.gif</iconset>
332 </property>
333 <property name="autoRaise">
334 <bool>false</bool>
335 </property>
336 </widget>
337 </item>
338 <item row="4" column="15">
339 <widget class="QToolButton" name="paragraph">
340 <property name="text">
341 <string/>
342 </property>
343 <property name="icon">
344 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
345 <normaloff>:/bia/resources/par.gif</normaloff>:/bia/resources/par.gif</iconset>
346 </property>
347 <property name="autoRaise">
348 <bool>false</bool>
349 </property>
350 </widget>
351 </item>
352 <item row="4" column="16">
353 <widget class="QToolButton" name="linebreak">
354 <property name="toolTip">
355 <string>Line break</string>
356 </property>
357 <property name="text">
358 <string/>
359 </property>
360 <property name="icon">
361 <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
362 <normaloff>:/bia/resources/br.gif</normaloff>:/bia/resources/br.gif</iconset>
363 </property>
364 <property name="autoRaise">
365 <bool>false</bool>
366 </property>
367 </widget>
368 </item>
369 <item row="5" column="0" colspan="17">
370 <widget class="QPlainTextEdit" name="content">
371 <property name="minimumSize">
372 <size>
373 <width>0</width>
374 <height>210</height>
375 </size>
376 </property>
377 <property name="verticalScrollBarPolicy">
378 <enum>Qt::ScrollBarAlwaysOn</enum>
379 </property>
380 </widget>
381 </item>
382 <item row="6" column="0" colspan="2">
383 <widget class="QLabel" name="label_4">
384 <property name="text">
385 <string>Category</string>
386 </property>
387 </widget>
388 </item>
389 <item row="6" column="2" colspan="7">
390 <widget class="QComboBox" name="category"/>
391 </item>
392 <item row="6" column="9" colspan="2">
393 <widget class="QLabel" name="label_6">
394 <property name="text">
395 <string>Rating</string>
396 </property>
397 </widget>
398 </item>
399 <item row="6" column="11" colspan="6">
400 <widget class="QSpinBox" name="rating">
401 <property name="minimum">
402 <number>1</number>
403 </property>
404 <property name="maximum">
405 <number>10</number>
406 </property>
407 </widget>
408 </item>
409 <item row="7" column="0" colspan="8">
410 <widget class="QLabel" name="label_7">
411 <property name="text">
412 <string>Stub (file name without HTML extension)</string>
413 </property>
414 </widget>
415 </item>
416 <item row="7" column="8" colspan="9">
417 <widget class="QLineEdit" name="stub"/>
418 </item>
419 <item row="8" column="0" colspan="17">
420 <widget class="QDialogButtonBox" name="buttonBox">
421 <property name="orientation">
422 <enum>Qt::Horizontal</enum>
423 </property>
424 <property name="standardButtons">
425 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
426 </property>
427 </widget>
428 </item>
429 </layout>
430 </widget>
431 <resources>
432 <include location="../../projects/BiaWeb_Qt/biaweb_rc.qrc"/>
433 </resources>
434 <connections>
435 <connection>
436 <sender>buttonBox</sender>
437 <signal>accepted()</signal>
438 <receiver>ArticleDialog</receiver>
439 <slot>accept()</slot>
440 <hints>
441 <hint type="sourcelabel">
442 <x>184</x>
443 <y>526</y>
444 </hint>
445 <hint type="destinationlabel">
446 <x>157</x>
447 <y>274</y>
448 </hint>
449 </hints>
450 </connection>
451 <connection>
452 <sender>buttonBox</sender>
453 <signal>rejected()</signal>
454 <receiver>ArticleDialog</receiver>
455 <slot>reject()</slot>
456 <hints>
457 <hint type="sourcelabel">
458 <x>184</x>
459 <y>526</y>
460 </hint>
461 <hint type="destinationlabel">
462 <x>286</x>
463 <y>274</y>
464 </hint>
465 </hints>
466 </connection>
467 </connections>
468 </ui>