Article dialog implementation under progress
[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>633</width>
10 <height>458</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>633</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 <resources/>
291 <connections>
292 <connection>
293 <sender>actionNew_site</sender>
294 <signal>triggered()</signal>
295 <receiver>MainWindow</receiver>
296 <slot>onFileNew()</slot>
297 <hints>
298 <hint type="sourcelabel">
299 <x>-1</x>
300 <y>-1</y>
301 </hint>
302 <hint type="destinationlabel">
303 <x>316</x>
304 <y>228</y>
305 </hint>
306 </hints>
307 </connection>
308 <connection>
309 <sender>action_Quit</sender>
310 <signal>triggered()</signal>
311 <receiver>MainWindow</receiver>
312 <slot>onFileQuit()</slot>
313 <hints>
314 <hint type="sourcelabel">
315 <x>-1</x>
316 <y>-1</y>
317 </hint>
318 <hint type="destinationlabel">
319 <x>316</x>
320 <y>228</y>
321 </hint>
322 </hints>
323 </connection>
324 <connection>
325 <sender>action_AddCategory</sender>
326 <signal>triggered()</signal>
327 <receiver>MainWindow</receiver>
328 <slot>onCategoryAdd()</slot>
329 <hints>
330 <hint type="sourcelabel">
331 <x>-1</x>
332 <y>-1</y>
333 </hint>
334 <hint type="destinationlabel">
335 <x>316</x>
336 <y>228</y>
337 </hint>
338 </hints>
339 </connection>
340 <connection>
341 <sender>action_Open_site</sender>
342 <signal>triggered()</signal>
343 <receiver>MainWindow</receiver>
344 <slot>onFileOpen()</slot>
345 <hints>
346 <hint type="sourcelabel">
347 <x>-1</x>
348 <y>-1</y>
349 </hint>
350 <hint type="destinationlabel">
351 <x>316</x>
352 <y>228</y>
353 </hint>
354 </hints>
355 </connection>
356 <connection>
357 <sender>action_Configuration</sender>
358 <signal>triggered()</signal>
359 <receiver>MainWindow</receiver>
360 <slot>onConfiguration()</slot>
361 <hints>
362 <hint type="sourcelabel">
363 <x>-1</x>
364 <y>-1</y>
365 </hint>
366 <hint type="destinationlabel">
367 <x>316</x>
368 <y>228</y>
369 </hint>
370 </hints>
371 </connection>
372 <connection>
373 <sender>action_EditCategory</sender>
374 <signal>triggered()</signal>
375 <receiver>MainWindow</receiver>
376 <slot>onCategoryEdit()</slot>
377 <hints>
378 <hint type="sourcelabel">
379 <x>-1</x>
380 <y>-1</y>
381 </hint>
382 <hint type="destinationlabel">
383 <x>316</x>
384 <y>228</y>
385 </hint>
386 </hints>
387 </connection>
388 <connection>
389 <sender>action_RemoveCategory</sender>
390 <signal>triggered()</signal>
391 <receiver>MainWindow</receiver>
392 <slot>onCategoryDelete()</slot>
393 <hints>
394 <hint type="sourcelabel">
395 <x>-1</x>
396 <y>-1</y>
397 </hint>
398 <hint type="destinationlabel">
399 <x>316</x>
400 <y>228</y>
401 </hint>
402 </hints>
403 </connection>
404 <connection>
405 <sender>categories</sender>
406 <signal>itemSelectionChanged()</signal>
407 <receiver>MainWindow</receiver>
408 <slot>onCategorySelectionChanged()</slot>
409 <hints>
410 <hint type="sourcelabel">
411 <x>226</x>
412 <y>211</y>
413 </hint>
414 <hint type="destinationlabel">
415 <x>279</x>
416 <y>233</y>
417 </hint>
418 </hints>
419 </connection>
420 <connection>
421 <sender>action_Refresh</sender>
422 <signal>triggered()</signal>
423 <receiver>MainWindow</receiver>
424 <slot>onViewRefresh()</slot>
425 <hints>
426 <hint type="sourcelabel">
427 <x>-1</x>
428 <y>-1</y>
429 </hint>
430 <hint type="destinationlabel">
431 <x>316</x>
432 <y>228</y>
433 </hint>
434 </hints>
435 </connection>
436 <connection>
437 <sender>action_NewArticle</sender>
438 <signal>triggered()</signal>
439 <receiver>MainWindow</receiver>
440 <slot>onArticleAdd()</slot>
441 <hints>
442 <hint type="sourcelabel">
443 <x>-1</x>
444 <y>-1</y>
445 </hint>
446 <hint type="destinationlabel">
447 <x>316</x>
448 <y>228</y>
449 </hint>
450 </hints>
451 </connection>
452 <connection>
453 <sender>action_EditArticle</sender>
454 <signal>triggered()</signal>
455 <receiver>MainWindow</receiver>
456 <slot>onArticleEdit()</slot>
457 <hints>
458 <hint type="sourcelabel">
459 <x>-1</x>
460 <y>-1</y>
461 </hint>
462 <hint type="destinationlabel">
463 <x>316</x>
464 <y>228</y>
465 </hint>
466 </hints>
467 </connection>
468 <connection>
469 <sender>action_DeleteArticle</sender>
470 <signal>triggered()</signal>
471 <receiver>MainWindow</receiver>
472 <slot>onArticleDelete()</slot>
473 <hints>
474 <hint type="sourcelabel">
475 <x>-1</x>
476 <y>-1</y>
477 </hint>
478 <hint type="destinationlabel">
479 <x>316</x>
480 <y>228</y>
481 </hint>
482 </hints>
483 </connection>
484 </connections>
485 <slots>
486 <slot>onFileNew()</slot>
487 <slot>onFileQuit()</slot>
488 <slot>onCategoryAdd()</slot>
489 <slot>onFileOpen()</slot>
490 <slot>onConfiguration()</slot>
491 <slot>onCategoryEdit()</slot>
492 <slot>onCategoryDelete()</slot>
493 <slot>onCategorySelectionChanged()</slot>
494 <slot>onViewRefresh()</slot>
495 <slot>onArticleAdd()</slot>
496 <slot>onArticleEdit()</slot>
497 <slot>onArticleDelete()</slot>
498 </slots>
499 </ui>