4e20f6d880ee7ef35b78166c066a863707a16a3b
[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="allColumnsShowFocus">
66 <bool>true</bool>
67 </property>
68 <column>
69 <property name="text">
70 <string>Category ID</string>
71 </property>
72 </column>
73 <column>
74 <property name="text">
75 <string>Category Name</string>
76 </property>
77 </column>
78 </widget>
79 </item>
80 </layout>
81 </widget>
82 </widget>
83 <widget class="QMenuBar" name="menubar">
84 <property name="geometry">
85 <rect>
86 <x>0</x>
87 <y>0</y>
88 <width>633</width>
89 <height>25</height>
90 </rect>
91 </property>
92 <widget class="QMenu" name="menu_About">
93 <property name="title">
94 <string>&amp;Help</string>
95 </property>
96 <addaction name="action_About"/>
97 </widget>
98 <widget class="QMenu" name="menu_Settings">
99 <property name="title">
100 <string>&amp;Settings</string>
101 </property>
102 <addaction name="action_Configuration"/>
103 <addaction name="separator"/>
104 <addaction name="actionTemplates"/>
105 </widget>
106 <widget class="QMenu" name="menu_Content">
107 <property name="title">
108 <string>&amp;Content</string>
109 </property>
110 <addaction name="action_NewArticle"/>
111 <addaction name="action_EditArticle"/>
112 <addaction name="action_DeleteArticle"/>
113 <addaction name="separator"/>
114 <addaction name="action_AddCategory"/>
115 <addaction name="action_EditCategory"/>
116 <addaction name="action_RemoveCategory"/>
117 </widget>
118 <widget class="QMenu" name="menu_File_2">
119 <property name="title">
120 <string>&amp;File</string>
121 </property>
122 <widget class="QMenu" name="menu_Export_web">
123 <property name="title">
124 <string>&amp;Export web</string>
125 </property>
126 <addaction name="action_Generate_Site"/>
127 <addaction name="actionGenerate_Search_Index"/>
128 </widget>
129 <addaction name="actionNew_site"/>
130 <addaction name="action_Open_site"/>
131 <addaction name="separator"/>
132 <addaction name="menu_Export_web"/>
133 <addaction name="separator"/>
134 <addaction name="action_Quit"/>
135 </widget>
136 <addaction name="menu_File_2"/>
137 <addaction name="menu_Content"/>
138 <addaction name="menu_Settings"/>
139 <addaction name="menu_About"/>
140 </widget>
141 <action name="actionOpen_DB">
142 <property name="text">
143 <string>Open existing site...</string>
144 </property>
145 </action>
146 <action name="action_Quit">
147 <property name="text">
148 <string>&amp;Quit</string>
149 </property>
150 <property name="statusTip">
151 <string>Quit</string>
152 </property>
153 </action>
154 <action name="action_AddCategory">
155 <property name="text">
156 <string>Add &amp;category...</string>
157 </property>
158 <property name="statusTip">
159 <string>Add a new category to the website structure</string>
160 </property>
161 </action>
162 <action name="action_EditCategory">
163 <property name="text">
164 <string>Edit categ&amp;ory...</string>
165 </property>
166 <property name="statusTip">
167 <string>Edit the selected category</string>
168 </property>
169 </action>
170 <action name="action_RemoveCategory">
171 <property name="text">
172 <string>&amp;Remove category</string>
173 </property>
174 <property name="statusTip">
175 <string>Delete the selected category</string>
176 </property>
177 </action>
178 <action name="action_NewArticle">
179 <property name="text">
180 <string>&amp;Add article...</string>
181 </property>
182 <property name="statusTip">
183 <string>Add an article to selected category</string>
184 </property>
185 </action>
186 <action name="action_EditArticle">
187 <property name="text">
188 <string>&amp;Edit article...</string>
189 </property>
190 <property name="statusTip">
191 <string>Edit the selected article</string>
192 </property>
193 </action>
194 <action name="action_DeleteArticle">
195 <property name="text">
196 <string>&amp;Delete article...</string>
197 </property>
198 <property name="statusTip">
199 <string>Delete the selected article</string>
200 </property>
201 </action>
202 <action name="action_Generate_Site">
203 <property name="text">
204 <string>Generate &amp;Site...</string>
205 </property>
206 <property name="statusTip">
207 <string>Export the site into a directory structure with static HTML files</string>
208 </property>
209 </action>
210 <action name="actionGenerate_Search_Index">
211 <property name="text">
212 <string>Generate Search &amp;Index...</string>
213 </property>
214 <property name="statusTip">
215 <string>Generate full or keyword text database and put it into the generated site structure</string>
216 </property>
217 </action>
218 <action name="action_About">
219 <property name="text">
220 <string>&amp;About</string>
221 </property>
222 <property name="statusTip">
223 <string>View application information</string>
224 </property>
225 </action>
226 <action name="actionNew_site">
227 <property name="text">
228 <string>&amp;New site...</string>
229 </property>
230 <property name="statusTip">
231 <string>Create a new website database</string>
232 </property>
233 </action>
234 <action name="action_Open_site">
235 <property name="text">
236 <string>&amp;Open site...</string>
237 </property>
238 <property name="statusTip">
239 <string>Open an already existing site's database</string>
240 </property>
241 </action>
242 <action name="action_Configuration">
243 <property name="text">
244 <string>&amp;Configuration...</string>
245 </property>
246 <property name="statusTip">
247 <string>Modify the site configuration</string>
248 </property>
249 </action>
250 <action name="actionTemplates">
251 <property name="text">
252 <string>Templates...</string>
253 </property>
254 <property name="statusTip">
255 <string>Modify or revert site templates</string>
256 </property>
257 </action>
258 <action name="actionSamth">
259 <property name="text">
260 <string>samth</string>
261 </property>
262 </action>
263 <action name="actionAsasas">
264 <property name="text">
265 <string>asasas</string>
266 </property>
267 </action>
268 </widget>
269 <resources/>
270 <connections>
271 <connection>
272 <sender>actionNew_site</sender>
273 <signal>triggered()</signal>
274 <receiver>MainWindow</receiver>
275 <slot>onFileNew()</slot>
276 <hints>
277 <hint type="sourcelabel">
278 <x>-1</x>
279 <y>-1</y>
280 </hint>
281 <hint type="destinationlabel">
282 <x>316</x>
283 <y>228</y>
284 </hint>
285 </hints>
286 </connection>
287 <connection>
288 <sender>action_Quit</sender>
289 <signal>triggered()</signal>
290 <receiver>MainWindow</receiver>
291 <slot>onFileQuit()</slot>
292 <hints>
293 <hint type="sourcelabel">
294 <x>-1</x>
295 <y>-1</y>
296 </hint>
297 <hint type="destinationlabel">
298 <x>316</x>
299 <y>228</y>
300 </hint>
301 </hints>
302 </connection>
303 <connection>
304 <sender>action_AddCategory</sender>
305 <signal>triggered()</signal>
306 <receiver>MainWindow</receiver>
307 <slot>onCategoryAdd()</slot>
308 <hints>
309 <hint type="sourcelabel">
310 <x>-1</x>
311 <y>-1</y>
312 </hint>
313 <hint type="destinationlabel">
314 <x>316</x>
315 <y>228</y>
316 </hint>
317 </hints>
318 </connection>
319 <connection>
320 <sender>action_Open_site</sender>
321 <signal>triggered()</signal>
322 <receiver>MainWindow</receiver>
323 <slot>onFileOpen()</slot>
324 <hints>
325 <hint type="sourcelabel">
326 <x>-1</x>
327 <y>-1</y>
328 </hint>
329 <hint type="destinationlabel">
330 <x>316</x>
331 <y>228</y>
332 </hint>
333 </hints>
334 </connection>
335 <connection>
336 <sender>action_Configuration</sender>
337 <signal>triggered()</signal>
338 <receiver>MainWindow</receiver>
339 <slot>onConfiguration()</slot>
340 <hints>
341 <hint type="sourcelabel">
342 <x>-1</x>
343 <y>-1</y>
344 </hint>
345 <hint type="destinationlabel">
346 <x>316</x>
347 <y>228</y>
348 </hint>
349 </hints>
350 </connection>
351 </connections>
352 <slots>
353 <slot>onFileNew()</slot>
354 <slot>onFileQuit()</slot>
355 <slot>onCategoryAdd()</slot>
356 <slot>onFileOpen()</slot>
357 <slot>onConfiguration()</slot>
358 </slots>
359 </ui>