bbdfa1fe2209c28ba5d852d4f05b7e2cfa35db05
[biaweb_qt.git] / main_window.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>MainWindow</class>
4 <widget class="QMainWindow" name="MainWindow">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>798</width>
10 <height>517</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>BiaWeb - Static Website Content Manager</string>
15 </property>
16 <widget class="QWidget" name="centralwidget">
17 <layout class="QGridLayout" name="gridLayout">
18 <item row="0" column="0">
19 <widget class="QLabel" name="label_2">
20 <property name="text">
21 <string>Articles in category</string>
22 </property>
23 </widget>
24 </item>
25 <item row="1" column="0">
26 <widget class="QTreeWidget" name="articles">
27 <property name="alternatingRowColors">
28 <bool>true</bool>
29 </property>
30 <column>
31 <property name="text">
32 <string>Article ID</string>
33 </property>
34 </column>
35 <column>
36 <property name="text">
37 <string>Article Title</string>
38 </property>
39 </column>
40 </widget>
41 </item>
42 </layout>
43 </widget>
44 <widget class="QStatusBar" name="statusbar"/>
45 <widget class="QDockWidget" name="dockWidget_2">
46 <property name="floating">
47 <bool>false</bool>
48 </property>
49 <property name="features">
50 <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
51 </property>
52 <property name="windowTitle">
53 <string>Categories</string>
54 </property>
55 <attribute name="dockWidgetArea">
56 <number>1</number>
57 </attribute>
58 <widget class="QWidget" name="dockWidgetContents_2">
59 <layout class="QGridLayout" name="gridLayout_2">
60 <item row="0" column="0">
61 <widget class="QTreeWidget" name="categories">
62 <property name="alternatingRowColors">
63 <bool>true</bool>
64 </property>
65 <property name="selectionMode">
66 <enum>QAbstractItemView::SingleSelection</enum>
67 </property>
68 <property name="allColumnsShowFocus">
69 <bool>false</bool>
70 </property>
71 <column>
72 <property name="text">
73 <string>Category ID</string>
74 </property>
75 </column>
76 <column>
77 <property name="text">
78 <string>Category Name</string>
79 </property>
80 </column>
81 </widget>
82 </item>
83 </layout>
84 </widget>
85 </widget>
86 <widget class="QMenuBar" name="menubar">
87 <property name="geometry">
88 <rect>
89 <x>0</x>
90 <y>0</y>
91 <width>798</width>
92 <height>25</height>
93 </rect>
94 </property>
95 <widget class="QMenu" name="menu_About">
96 <property name="title">
97 <string>&amp;Help</string>
98 </property>
99 <addaction name="action_About"/>
100 </widget>
101 <widget class="QMenu" name="menu_Settings">
102 <property name="title">
103 <string>&amp;Settings</string>
104 </property>
105 <addaction name="action_Configuration"/>
106 <addaction name="separator"/>
107 <addaction name="actionTemplates"/>
108 </widget>
109 <widget class="QMenu" name="menu_Content">
110 <property name="title">
111 <string>&amp;Content</string>
112 </property>
113 <addaction name="action_NewArticle"/>
114 <addaction name="action_EditArticle"/>
115 <addaction name="action_DeleteArticle"/>
116 <addaction name="separator"/>
117 <addaction name="action_AddCategory"/>
118 <addaction name="action_EditCategory"/>
119 <addaction name="action_RemoveCategory"/>
120 </widget>
121 <widget class="QMenu" name="menu_File_2">
122 <property name="title">
123 <string>&amp;File</string>
124 </property>
125 <widget class="QMenu" name="menu_Export_web">
126 <property name="title">
127 <string>&amp;Export web</string>
128 </property>
129 <addaction name="action_Generate_Site"/>
130 <addaction name="actionGenerate_Search_Index"/>
131 </widget>
132 <addaction name="actionNew_site"/>
133 <addaction name="action_Open_site"/>
134 <addaction name="separator"/>
135 <addaction name="menu_Export_web"/>
136 <addaction name="separator"/>
137 <addaction name="action_Quit"/>
138 </widget>
139 <widget class="QMenu" name="menu_View">
140 <property name="title">
141 <string>&amp;View</string>
142 </property>
143 <addaction name="action_Refresh"/>
144 </widget>
145 <addaction name="menu_File_2"/>
146 <addaction name="menu_Content"/>
147 <addaction name="menu_Settings"/>
148 <addaction name="menu_View"/>
149 <addaction name="menu_About"/>
150 </widget>
151 <action name="actionOpen_DB">
152 <property name="text">
153 <string>Open existing site...</string>
154 </property>
155 </action>
156 <action name="action_Quit">
157 <property name="text">
158 <string>&amp;Quit</string>
159 </property>
160 <property name="statusTip">
161 <string>Quit</string>
162 </property>
163 </action>
164 <action name="action_AddCategory">
165 <property name="text">
166 <string>Add &amp;category...</string>
167 </property>
168 <property name="statusTip">
169 <string>Add a new category to the website structure</string>
170 </property>
171 </action>
172 <action name="action_EditCategory">
173 <property name="text">
174 <string>Edit categ&amp;ory...</string>
175 </property>
176 <property name="statusTip">
177 <string>Edit the selected category</string>
178 </property>
179 </action>
180 <action name="action_RemoveCategory">
181 <property name="text">
182 <string>&amp;Remove category</string>
183 </property>
184 <property name="statusTip">
185 <string>Delete the selected category</string>
186 </property>
187 </action>
188 <action name="action_NewArticle">
189 <property name="text">
190 <string>&amp;Add article...</string>
191 </property>
192 <property name="statusTip">
193 <string>Add an article to selected category</string>
194 </property>
195 </action>
196 <action name="action_EditArticle">
197 <property name="text">
198 <string>&amp;Edit article...</string>
199 </property>
200 <property name="statusTip">
201 <string>Edit the selected article</string>
202 </property>
203 </action>
204 <action name="action_DeleteArticle">
205 <property name="text">
206 <string>&amp;Delete article...</string>
207 </property>
208 <property name="statusTip">
209 <string>Delete the selected article</string>
210 </property>
211 </action>
212 <action name="action_Generate_Site">
213 <property name="text">
214 <string>Generate &amp;Site...</string>
215 </property>
216 <property name="statusTip">
217 <string>Export the site into a directory structure with static HTML files</string>
218 </property>
219 </action>
220 <action name="actionGenerate_Search_Index">
221 <property name="text">
222 <string>Generate Search &amp;Index...</string>
223 </property>
224 <property name="statusTip">
225 <string>Generate full or keyword text database and put it into the generated site structure</string>
226 </property>
227 </action>
228 <action name="action_About">
229 <property name="text">
230 <string>&amp;About</string>
231 </property>
232 <property name="statusTip">
233 <string>View application information</string>
234 </property>
235 </action>
236 <action name="actionNew_site">
237 <property name="text">
238 <string>&amp;New site...</string>
239 </property>
240 <property name="statusTip">
241 <string>Create a new website database</string>
242 </property>
243 </action>
244 <action name="action_Open_site">
245 <property name="text">
246 <string>&amp;Open site...</string>
247 </property>
248 <property name="statusTip">
249 <string>Open an already existing site's database</string>
250 </property>
251 </action>
252 <action name="action_Configuration">
253 <property name="text">
254 <string>&amp;Configuration...</string>
255 </property>
256 <property name="statusTip">
257 <string>Modify the site configuration</string>
258 </property>
259 </action>
260 <action name="actionTemplates">
261 <property name="text">
262 <string>Templates...</string>
263 </property>
264 <property name="statusTip">
265 <string>Modify or revert site templates</string>
266 </property>
267 </action>
268 <action name="actionSamth">
269 <property name="text">
270 <string>samth</string>
271 </property>
272 </action>
273 <action name="actionAsasas">
274 <property name="text">
275 <string>asasas</string>
276 </property>
277 </action>
278 <action name="action_Refresh">
279 <property name="text">
280 <string>&amp;Refresh</string>
281 </property>
282 <property name="statusTip">
283 <string>Reload categories and articles in the view</string>
284 </property>
285 <property name="shortcut">
286 <string>F5</string>
287 </property>
288 </action>
289 </widget>
290 <tabstops>
291 <tabstop>categories</tabstop>
292 <tabstop>articles</tabstop>
293 </tabstops>
294 <resources/>
295 <connections>
296 <connection>
297 <sender>actionNew_site</sender>
298 <signal>triggered()</signal>
299 <receiver>MainWindow</receiver>
300 <slot>onFileNew()</slot>
301 <hints>
302 <hint type="sourcelabel">
303 <x>-1</x>
304 <y>-1</y>
305 </hint>
306 <hint type="destinationlabel">
307 <x>316</x>
308 <y>228</y>
309 </hint>
310 </hints>
311 </connection>
312 <connection>
313 <sender>action_Quit</sender>
314 <signal>triggered()</signal>
315 <receiver>MainWindow</receiver>
316 <slot>onFileQuit()</slot>
317 <hints>
318 <hint type="sourcelabel">
319 <x>-1</x>
320 <y>-1</y>
321 </hint>
322 <hint type="destinationlabel">
323 <x>316</x>
324 <y>228</y>
325 </hint>
326 </hints>
327 </connection>
328 <connection>
329 <sender>action_AddCategory</sender>
330 <signal>triggered()</signal>
331 <receiver>MainWindow</receiver>
332 <slot>onCategoryAdd()</slot>
333 <hints>
334 <hint type="sourcelabel">
335 <x>-1</x>
336 <y>-1</y>
337 </hint>
338 <hint type="destinationlabel">
339 <x>316</x>
340 <y>228</y>
341 </hint>
342 </hints>
343 </connection>
344 <connection>
345 <sender>action_Open_site</sender>
346 <signal>triggered()</signal>
347 <receiver>MainWindow</receiver>
348 <slot>onFileOpen()</slot>
349 <hints>
350 <hint type="sourcelabel">
351 <x>-1</x>
352 <y>-1</y>
353 </hint>
354 <hint type="destinationlabel">
355 <x>316</x>
356 <y>228</y>
357 </hint>
358 </hints>
359 </connection>
360 <connection>
361 <sender>action_Configuration</sender>
362 <signal>triggered()</signal>
363 <receiver>MainWindow</receiver>
364 <slot>onConfiguration()</slot>
365 <hints>
366 <hint type="sourcelabel">
367 <x>-1</x>
368 <y>-1</y>
369 </hint>
370 <hint type="destinationlabel">
371 <x>316</x>
372 <y>228</y>
373 </hint>
374 </hints>
375 </connection>
376 <connection>
377 <sender>action_EditCategory</sender>
378 <signal>triggered()</signal>
379 <receiver>MainWindow</receiver>
380 <slot>onCategoryEdit()</slot>
381 <hints>
382 <hint type="sourcelabel">
383 <x>-1</x>
384 <y>-1</y>
385 </hint>
386 <hint type="destinationlabel">
387 <x>316</x>
388 <y>228</y>
389 </hint>
390 </hints>
391 </connection>
392 <connection>
393 <sender>action_RemoveCategory</sender>
394 <signal>triggered()</signal>
395 <receiver>MainWindow</receiver>
396 <slot>onCategoryDelete()</slot>
397 <hints>
398 <hint type="sourcelabel">
399 <x>-1</x>
400 <y>-1</y>
401 </hint>
402 <hint type="destinationlabel">
403 <x>316</x>
404 <y>228</y>
405 </hint>
406 </hints>
407 </connection>
408 <connection>
409 <sender>categories</sender>
410 <signal>itemSelectionChanged()</signal>
411 <receiver>MainWindow</receiver>
412 <slot>onCategorySelectionChanged()</slot>
413 <hints>
414 <hint type="sourcelabel">
415 <x>226</x>
416 <y>211</y>
417 </hint>
418 <hint type="destinationlabel">
419 <x>279</x>
420 <y>233</y>
421 </hint>
422 </hints>
423 </connection>
424 <connection>
425 <sender>action_Refresh</sender>
426 <signal>triggered()</signal>
427 <receiver>MainWindow</receiver>
428 <slot>onViewRefresh()</slot>
429 <hints>
430 <hint type="sourcelabel">
431 <x>-1</x>
432 <y>-1</y>
433 </hint>
434 <hint type="destinationlabel">
435 <x>316</x>
436 <y>228</y>
437 </hint>
438 </hints>
439 </connection>
440 <connection>
441 <sender>action_NewArticle</sender>
442 <signal>triggered()</signal>
443 <receiver>MainWindow</receiver>
444 <slot>onArticleAdd()</slot>
445 <hints>
446 <hint type="sourcelabel">
447 <x>-1</x>
448 <y>-1</y>
449 </hint>
450 <hint type="destinationlabel">
451 <x>316</x>
452 <y>228</y>
453 </hint>
454 </hints>
455 </connection>
456 <connection>
457 <sender>action_EditArticle</sender>
458 <signal>triggered()</signal>
459 <receiver>MainWindow</receiver>
460 <slot>onArticleEdit()</slot>
461 <hints>
462 <hint type="sourcelabel">
463 <x>-1</x>
464 <y>-1</y>
465 </hint>
466 <hint type="destinationlabel">
467 <x>316</x>
468 <y>228</y>
469 </hint>
470 </hints>
471 </connection>
472 <connection>
473 <sender>action_DeleteArticle</sender>
474 <signal>triggered()</signal>
475 <receiver>MainWindow</receiver>
476 <slot>onArticleDelete()</slot>
477 <hints>
478 <hint type="sourcelabel">
479 <x>-1</x>
480 <y>-1</y>
481 </hint>
482 <hint type="destinationlabel">
483 <x>316</x>
484 <y>228</y>
485 </hint>
486 </hints>
487 </connection>
488 <connection>
489 <sender>categories</sender>
490 <signal>itemActivated(QTreeWidgetItem*,int)</signal>
491 <receiver>MainWindow</receiver>
492 <slot>onCategoryItemActivated()</slot>
493 <hints>
494 <hint type="sourcelabel">
495 <x>212</x>
496 <y>156</y>
497 </hint>
498 <hint type="destinationlabel">
499 <x>276</x>
500 <y>272</y>
501 </hint>
502 </hints>
503 </connection>
504 <connection>
505 <sender>articles</sender>
506 <signal>itemActivated(QTreeWidgetItem*,int)</signal>
507 <receiver>MainWindow</receiver>
508 <slot>onArticleItemActivated()</slot>
509 <hints>
510 <hint type="sourcelabel">
511 <x>338</x>
512 <y>342</y>
513 </hint>
514 <hint type="destinationlabel">
515 <x>280</x>
516 <y>347</y>
517 </hint>
518 </hints>
519 </connection>
520 <connection>
521 <sender>actionTemplates</sender>
522 <signal>triggered()</signal>
523 <receiver>MainWindow</receiver>
524 <slot>onTemplates()</slot>
525 <hints>
526 <hint type="sourcelabel">
527 <x>-1</x>
528 <y>-1</y>
529 </hint>
530 <hint type="destinationlabel">
531 <x>398</x>
532 <y>258</y>
533 </hint>
534 </hints>
535 </connection>
536 </connections>
537 <slots>
538 <slot>onFileNew()</slot>
539 <slot>onFileQuit()</slot>
540 <slot>onCategoryAdd()</slot>
541 <slot>onFileOpen()</slot>
542 <slot>onConfiguration()</slot>
543 <slot>onCategoryEdit()</slot>
544 <slot>onCategoryDelete()</slot>
545 <slot>onCategorySelectionChanged()</slot>
546 <slot>onViewRefresh()</slot>
547 <slot>onArticleAdd()</slot>
548 <slot>onArticleEdit()</slot>
549 <slot>onArticleDelete()</slot>
550 <slot>onCategoryItemActivated()</slot>
551 <slot>onArticleItemActivated()</slot>
552 <slot>onTemplates()</slot>
553 </slots>
554 </ui>