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