Created the site generate dialog
[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 </widget>
131 <addaction name="actionNew_site"/>
132 <addaction name="action_Open_site"/>
133 <addaction name="separator"/>
134 <addaction name="menu_Export_web"/>
135 <addaction name="separator"/>
136 <addaction name="action_Quit"/>
137 </widget>
138 <widget class="QMenu" name="menu_View">
139 <property name="title">
140 <string>&amp;View</string>
141 </property>
142 <addaction name="action_Refresh"/>
143 </widget>
144 <addaction name="menu_File_2"/>
145 <addaction name="menu_Content"/>
146 <addaction name="menu_Settings"/>
147 <addaction name="menu_View"/>
148 <addaction name="menu_About"/>
149 </widget>
150 <action name="actionOpen_DB">
151 <property name="text">
152 <string>Open existing site...</string>
153 </property>
154 </action>
155 <action name="action_Quit">
156 <property name="text">
157 <string>&amp;Quit</string>
158 </property>
159 <property name="statusTip">
160 <string>Quit</string>
161 </property>
162 </action>
163 <action name="action_AddCategory">
164 <property name="text">
165 <string>Add &amp;category...</string>
166 </property>
167 <property name="statusTip">
168 <string>Add a new category to the website structure</string>
169 </property>
170 </action>
171 <action name="action_EditCategory">
172 <property name="text">
173 <string>Edit categ&amp;ory...</string>
174 </property>
175 <property name="statusTip">
176 <string>Edit the selected category</string>
177 </property>
178 </action>
179 <action name="action_RemoveCategory">
180 <property name="text">
181 <string>&amp;Remove category</string>
182 </property>
183 <property name="statusTip">
184 <string>Delete the selected category</string>
185 </property>
186 </action>
187 <action name="action_NewArticle">
188 <property name="text">
189 <string>&amp;Add article...</string>
190 </property>
191 <property name="statusTip">
192 <string>Add an article to selected category</string>
193 </property>
194 </action>
195 <action name="action_EditArticle">
196 <property name="text">
197 <string>&amp;Edit article...</string>
198 </property>
199 <property name="statusTip">
200 <string>Edit the selected article</string>
201 </property>
202 </action>
203 <action name="action_DeleteArticle">
204 <property name="text">
205 <string>&amp;Delete article...</string>
206 </property>
207 <property name="statusTip">
208 <string>Delete the selected article</string>
209 </property>
210 </action>
211 <action name="action_Generate_Site">
212 <property name="text">
213 <string>Generate &amp;Site...</string>
214 </property>
215 <property name="statusTip">
216 <string>Export the site into a directory structure with static HTML files</string>
217 </property>
218 </action>
219 <action name="actionGenerate_Search_Index">
220 <property name="text">
221 <string>Generate Search &amp;Index...</string>
222 </property>
223 <property name="statusTip">
224 <string>Generate full or keyword text database and put it into the generated site structure</string>
225 </property>
226 </action>
227 <action name="action_About">
228 <property name="text">
229 <string>&amp;About</string>
230 </property>
231 <property name="statusTip">
232 <string>View application information</string>
233 </property>
234 </action>
235 <action name="actionNew_site">
236 <property name="text">
237 <string>&amp;New site...</string>
238 </property>
239 <property name="statusTip">
240 <string>Create a new website database</string>
241 </property>
242 </action>
243 <action name="action_Open_site">
244 <property name="text">
245 <string>&amp;Open site...</string>
246 </property>
247 <property name="statusTip">
248 <string>Open an already existing site's database</string>
249 </property>
250 </action>
251 <action name="action_Configuration">
252 <property name="text">
253 <string>&amp;Configuration...</string>
254 </property>
255 <property name="statusTip">
256 <string>Modify the site configuration</string>
257 </property>
258 </action>
259 <action name="actionTemplates">
260 <property name="text">
261 <string>Templates...</string>
262 </property>
263 <property name="statusTip">
264 <string>Modify or revert site templates</string>
265 </property>
266 </action>
267 <action name="actionSamth">
268 <property name="text">
269 <string>samth</string>
270 </property>
271 </action>
272 <action name="actionAsasas">
273 <property name="text">
274 <string>asasas</string>
275 </property>
276 </action>
277 <action name="action_Refresh">
278 <property name="text">
279 <string>&amp;Refresh</string>
280 </property>
281 <property name="statusTip">
282 <string>Reload categories and articles in the view</string>
283 </property>
284 <property name="shortcut">
285 <string>F5</string>
286 </property>
287 </action>
288 </widget>
289 <tabstops>
290 <tabstop>categories</tabstop>
291 <tabstop>articles</tabstop>
292 </tabstops>
293 <resources/>
294 <connections>
295 <connection>
296 <sender>actionNew_site</sender>
297 <signal>triggered()</signal>
298 <receiver>MainWindow</receiver>
299 <slot>onFileNew()</slot>
300 <hints>
301 <hint type="sourcelabel">
302 <x>-1</x>
303 <y>-1</y>
304 </hint>
305 <hint type="destinationlabel">
306 <x>316</x>
307 <y>228</y>
308 </hint>
309 </hints>
310 </connection>
311 <connection>
312 <sender>action_Quit</sender>
313 <signal>triggered()</signal>
314 <receiver>MainWindow</receiver>
315 <slot>onFileQuit()</slot>
316 <hints>
317 <hint type="sourcelabel">
318 <x>-1</x>
319 <y>-1</y>
320 </hint>
321 <hint type="destinationlabel">
322 <x>316</x>
323 <y>228</y>
324 </hint>
325 </hints>
326 </connection>
327 <connection>
328 <sender>action_AddCategory</sender>
329 <signal>triggered()</signal>
330 <receiver>MainWindow</receiver>
331 <slot>onCategoryAdd()</slot>
332 <hints>
333 <hint type="sourcelabel">
334 <x>-1</x>
335 <y>-1</y>
336 </hint>
337 <hint type="destinationlabel">
338 <x>316</x>
339 <y>228</y>
340 </hint>
341 </hints>
342 </connection>
343 <connection>
344 <sender>action_Open_site</sender>
345 <signal>triggered()</signal>
346 <receiver>MainWindow</receiver>
347 <slot>onFileOpen()</slot>
348 <hints>
349 <hint type="sourcelabel">
350 <x>-1</x>
351 <y>-1</y>
352 </hint>
353 <hint type="destinationlabel">
354 <x>316</x>
355 <y>228</y>
356 </hint>
357 </hints>
358 </connection>
359 <connection>
360 <sender>action_Configuration</sender>
361 <signal>triggered()</signal>
362 <receiver>MainWindow</receiver>
363 <slot>onConfiguration()</slot>
364 <hints>
365 <hint type="sourcelabel">
366 <x>-1</x>
367 <y>-1</y>
368 </hint>
369 <hint type="destinationlabel">
370 <x>316</x>
371 <y>228</y>
372 </hint>
373 </hints>
374 </connection>
375 <connection>
376 <sender>action_EditCategory</sender>
377 <signal>triggered()</signal>
378 <receiver>MainWindow</receiver>
379 <slot>onCategoryEdit()</slot>
380 <hints>
381 <hint type="sourcelabel">
382 <x>-1</x>
383 <y>-1</y>
384 </hint>
385 <hint type="destinationlabel">
386 <x>316</x>
387 <y>228</y>
388 </hint>
389 </hints>
390 </connection>
391 <connection>
392 <sender>action_RemoveCategory</sender>
393 <signal>triggered()</signal>
394 <receiver>MainWindow</receiver>
395 <slot>onCategoryDelete()</slot>
396 <hints>
397 <hint type="sourcelabel">
398 <x>-1</x>
399 <y>-1</y>
400 </hint>
401 <hint type="destinationlabel">
402 <x>316</x>
403 <y>228</y>
404 </hint>
405 </hints>
406 </connection>
407 <connection>
408 <sender>categories</sender>
409 <signal>itemSelectionChanged()</signal>
410 <receiver>MainWindow</receiver>
411 <slot>onCategorySelectionChanged()</slot>
412 <hints>
413 <hint type="sourcelabel">
414 <x>226</x>
415 <y>211</y>
416 </hint>
417 <hint type="destinationlabel">
418 <x>279</x>
419 <y>233</y>
420 </hint>
421 </hints>
422 </connection>
423 <connection>
424 <sender>action_Refresh</sender>
425 <signal>triggered()</signal>
426 <receiver>MainWindow</receiver>
427 <slot>onViewRefresh()</slot>
428 <hints>
429 <hint type="sourcelabel">
430 <x>-1</x>
431 <y>-1</y>
432 </hint>
433 <hint type="destinationlabel">
434 <x>316</x>
435 <y>228</y>
436 </hint>
437 </hints>
438 </connection>
439 <connection>
440 <sender>action_NewArticle</sender>
441 <signal>triggered()</signal>
442 <receiver>MainWindow</receiver>
443 <slot>onArticleAdd()</slot>
444 <hints>
445 <hint type="sourcelabel">
446 <x>-1</x>
447 <y>-1</y>
448 </hint>
449 <hint type="destinationlabel">
450 <x>316</x>
451 <y>228</y>
452 </hint>
453 </hints>
454 </connection>
455 <connection>
456 <sender>action_EditArticle</sender>
457 <signal>triggered()</signal>
458 <receiver>MainWindow</receiver>
459 <slot>onArticleEdit()</slot>
460 <hints>
461 <hint type="sourcelabel">
462 <x>-1</x>
463 <y>-1</y>
464 </hint>
465 <hint type="destinationlabel">
466 <x>316</x>
467 <y>228</y>
468 </hint>
469 </hints>
470 </connection>
471 <connection>
472 <sender>action_DeleteArticle</sender>
473 <signal>triggered()</signal>
474 <receiver>MainWindow</receiver>
475 <slot>onArticleDelete()</slot>
476 <hints>
477 <hint type="sourcelabel">
478 <x>-1</x>
479 <y>-1</y>
480 </hint>
481 <hint type="destinationlabel">
482 <x>316</x>
483 <y>228</y>
484 </hint>
485 </hints>
486 </connection>
487 <connection>
488 <sender>categories</sender>
489 <signal>itemActivated(QTreeWidgetItem*,int)</signal>
490 <receiver>MainWindow</receiver>
491 <slot>onCategoryItemActivated()</slot>
492 <hints>
493 <hint type="sourcelabel">
494 <x>212</x>
495 <y>156</y>
496 </hint>
497 <hint type="destinationlabel">
498 <x>276</x>
499 <y>272</y>
500 </hint>
501 </hints>
502 </connection>
503 <connection>
504 <sender>articles</sender>
505 <signal>itemActivated(QTreeWidgetItem*,int)</signal>
506 <receiver>MainWindow</receiver>
507 <slot>onArticleItemActivated()</slot>
508 <hints>
509 <hint type="sourcelabel">
510 <x>338</x>
511 <y>342</y>
512 </hint>
513 <hint type="destinationlabel">
514 <x>280</x>
515 <y>347</y>
516 </hint>
517 </hints>
518 </connection>
519 <connection>
520 <sender>actionTemplates</sender>
521 <signal>triggered()</signal>
522 <receiver>MainWindow</receiver>
523 <slot>onTemplates()</slot>
524 <hints>
525 <hint type="sourcelabel">
526 <x>-1</x>
527 <y>-1</y>
528 </hint>
529 <hint type="destinationlabel">
530 <x>398</x>
531 <y>258</y>
532 </hint>
533 </hints>
534 </connection>
535 <connection>
536 <sender>action_Generate_Site</sender>
537 <signal>triggered()</signal>
538 <receiver>MainWindow</receiver>
539 <slot>onGenerateSite()</slot>
540 <hints>
541 <hint type="sourcelabel">
542 <x>-1</x>
543 <y>-1</y>
544 </hint>
545 <hint type="destinationlabel">
546 <x>398</x>
547 <y>258</y>
548 </hint>
549 </hints>
550 </connection>
551 </connections>
552 <slots>
553 <slot>onFileNew()</slot>
554 <slot>onFileQuit()</slot>
555 <slot>onCategoryAdd()</slot>
556 <slot>onFileOpen()</slot>
557 <slot>onConfiguration()</slot>
558 <slot>onCategoryEdit()</slot>
559 <slot>onCategoryDelete()</slot>
560 <slot>onCategorySelectionChanged()</slot>
561 <slot>onViewRefresh()</slot>
562 <slot>onArticleAdd()</slot>
563 <slot>onArticleEdit()</slot>
564 <slot>onArticleDelete()</slot>
565 <slot>onCategoryItemActivated()</slot>
566 <slot>onArticleItemActivated()</slot>
567 <slot>onTemplates()</slot>
568 <slot>onGenerateSite()</slot>
569 </slots>
570 </ui>