Implemented additional files/folders adding
[biaweb_qt.git] / generate_dialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SiteGenerateDialog</class>
4 <widget class="QDialog" name="SiteGenerateDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>618</width>
10 <height>537</height>
11 </rect>
12 </property>
13 <property name="minimumSize">
14 <size>
15 <width>618</width>
16 <height>537</height>
17 </size>
18 </property>
19 <property name="maximumSize">
20 <size>
21 <width>618</width>
22 <height>537</height>
23 </size>
24 </property>
25 <property name="windowTitle">
26 <string>Generate Website</string>
27 </property>
28 <layout class="QGridLayout" name="gridLayout_2">
29 <item row="0" column="0" colspan="4">
30 <widget class="QLabel" name="label">
31 <property name="text">
32 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
33 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
34 p, li { white-space: pre-wrap; }
35 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
36 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600; color:#55007f;&quot;&gt;Important Information&lt;/span&gt;&lt;/p&gt;
37 &lt;p style=&quot; margin-top:8px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This will generate your website in the destination directory configured. The directory tree will be re-created from scratch and any manual changes you made to the generated files will be destroyed!&lt;/p&gt;
38 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;You need to re-copy the additional files/folders you require in the destination folder (e.g. image directories) every time you generate the site. Specify the files/folders to copy to generated site.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
39 </property>
40 <property name="wordWrap">
41 <bool>true</bool>
42 </property>
43 </widget>
44 </item>
45 <item row="1" column="0">
46 <widget class="QLabel" name="label_4">
47 <property name="text">
48 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
49 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
50 p, li { white-space: pre-wrap; }
51 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
52 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Required additional files&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
53 </property>
54 </widget>
55 </item>
56 <item row="2" column="0">
57 <widget class="QLabel" name="label_5">
58 <property name="text">
59 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
60 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
61 p, li { white-space: pre-wrap; }
62 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
63 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;search.py&lt;/span&gt; (search CGI script):&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
64 </property>
65 </widget>
66 </item>
67 <item row="2" column="1" colspan="3">
68 <widget class="QLabel" name="status_search_py">
69 <property name="text">
70 <string>status</string>
71 </property>
72 </widget>
73 </item>
74 <item row="3" column="0">
75 <widget class="QLabel" name="label_6">
76 <property name="text">
77 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
78 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
79 p, li { white-space: pre-wrap; }
80 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
81 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;star.gif&lt;/span&gt; (star rating image):&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
82 </property>
83 </widget>
84 </item>
85 <item row="3" column="1" colspan="3">
86 <widget class="QLabel" name="status_star_gif">
87 <property name="text">
88 <string>status</string>
89 </property>
90 </widget>
91 </item>
92 <item row="4" column="0">
93 <widget class="QLabel" name="label_7">
94 <property name="text">
95 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
96 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
97 p, li { white-space: pre-wrap; }
98 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
99 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;star-grey.gif&lt;/span&gt; (star rating image):&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
100 </property>
101 </widget>
102 </item>
103 <item row="4" column="1" colspan="3">
104 <widget class="QLabel" name="status_stargrey_gif">
105 <property name="text">
106 <string>status</string>
107 </property>
108 </widget>
109 </item>
110 <item row="5" column="0" colspan="4">
111 <widget class="QTabWidget" name="tabWidget">
112 <property name="currentIndex">
113 <number>0</number>
114 </property>
115 <widget class="QWidget" name="tab">
116 <attribute name="title">
117 <string>Files</string>
118 </attribute>
119 <layout class="QGridLayout" name="gridLayout_3">
120 <item row="0" column="0">
121 <widget class="QLabel" name="label_2">
122 <property name="text">
123 <string>Additional files to add to destination</string>
124 </property>
125 </widget>
126 </item>
127 <item row="0" column="1">
128 <widget class="QPushButton" name="addfile">
129 <property name="text">
130 <string>&amp;Add file</string>
131 </property>
132 </widget>
133 </item>
134 <item row="0" column="2">
135 <widget class="QPushButton" name="removefile">
136 <property name="text">
137 <string>&amp;Remove</string>
138 </property>
139 </widget>
140 </item>
141 <item row="1" column="0" colspan="3">
142 <widget class="QTreeWidget" name="additional_files">
143 <column>
144 <property name="text">
145 <string>Source file</string>
146 </property>
147 </column>
148 <column>
149 <property name="text">
150 <string>Destination (relative to dest-dir)</string>
151 </property>
152 </column>
153 </widget>
154 </item>
155 </layout>
156 </widget>
157 <widget class="QWidget" name="tab_2">
158 <attribute name="title">
159 <string>Folders</string>
160 </attribute>
161 <layout class="QGridLayout" name="gridLayout_4">
162 <item row="0" column="0">
163 <widget class="QLabel" name="label_3">
164 <property name="text">
165 <string>Additional folders to add to destination</string>
166 </property>
167 </widget>
168 </item>
169 <item row="0" column="1">
170 <widget class="QPushButton" name="addfolder">
171 <property name="text">
172 <string>&amp;Add folder</string>
173 </property>
174 </widget>
175 </item>
176 <item row="0" column="2">
177 <widget class="QPushButton" name="removefolder">
178 <property name="text">
179 <string>&amp;Remove</string>
180 </property>
181 </widget>
182 </item>
183 <item row="1" column="0" colspan="3">
184 <widget class="QTreeWidget" name="additional_folders">
185 <column>
186 <property name="text">
187 <string>Source folder</string>
188 </property>
189 </column>
190 <column>
191 <property name="text">
192 <string>Destination (relative to dest-dir)</string>
193 </property>
194 </column>
195 </widget>
196 </item>
197 </layout>
198 </widget>
199 </widget>
200 </item>
201 <item row="6" column="0" colspan="2">
202 <widget class="QGroupBox" name="groupBox">
203 <property name="title">
204 <string>Search index type</string>
205 </property>
206 <layout class="QGridLayout" name="gridLayout">
207 <item row="0" column="0">
208 <widget class="QRadioButton" name="fulltextindex">
209 <property name="text">
210 <string>Full text index</string>
211 </property>
212 <property name="checked">
213 <bool>true</bool>
214 </property>
215 </widget>
216 </item>
217 <item row="0" column="1">
218 <widget class="QRadioButton" name="keywordindex">
219 <property name="text">
220 <string>Keyword index</string>
221 </property>
222 <property name="checked">
223 <bool>false</bool>
224 </property>
225 </widget>
226 </item>
227 </layout>
228 </widget>
229 </item>
230 <item row="6" column="2">
231 <widget class="QPushButton" name="generate_site">
232 <property name="text">
233 <string>&amp;Generate site</string>
234 </property>
235 <property name="default">
236 <bool>true</bool>
237 </property>
238 </widget>
239 </item>
240 <item row="6" column="3">
241 <widget class="QPushButton" name="close">
242 <property name="text">
243 <string>&amp;Close</string>
244 </property>
245 </widget>
246 </item>
247 </layout>
248 </widget>
249 <tabstops>
250 <tabstop>tabWidget</tabstop>
251 <tabstop>addfile</tabstop>
252 <tabstop>removefile</tabstop>
253 <tabstop>additional_files</tabstop>
254 <tabstop>addfolder</tabstop>
255 <tabstop>removefolder</tabstop>
256 <tabstop>additional_folders</tabstop>
257 <tabstop>fulltextindex</tabstop>
258 <tabstop>keywordindex</tabstop>
259 <tabstop>generate_site</tabstop>
260 <tabstop>close</tabstop>
261 </tabstops>
262 <resources/>
263 <connections>
264 <connection>
265 <sender>close</sender>
266 <signal>clicked()</signal>
267 <receiver>SiteGenerateDialog</receiver>
268 <slot>reject()</slot>
269 <hints>
270 <hint type="sourcelabel">
271 <x>502</x>
272 <y>516</y>
273 </hint>
274 <hint type="destinationlabel">
275 <x>239</x>
276 <y>501</y>
277 </hint>
278 </hints>
279 </connection>
280 <connection>
281 <sender>addfile</sender>
282 <signal>clicked()</signal>
283 <receiver>SiteGenerateDialog</receiver>
284 <slot>onFileAdd()</slot>
285 <hints>
286 <hint type="sourcelabel">
287 <x>354</x>
288 <y>205</y>
289 </hint>
290 <hint type="destinationlabel">
291 <x>356</x>
292 <y>433</y>
293 </hint>
294 </hints>
295 </connection>
296 <connection>
297 <sender>removefile</sender>
298 <signal>clicked()</signal>
299 <receiver>SiteGenerateDialog</receiver>
300 <slot>onFileRemove()</slot>
301 <hints>
302 <hint type="sourcelabel">
303 <x>471</x>
304 <y>207</y>
305 </hint>
306 <hint type="destinationlabel">
307 <x>492</x>
308 <y>434</y>
309 </hint>
310 </hints>
311 </connection>
312 <connection>
313 <sender>addfolder</sender>
314 <signal>clicked()</signal>
315 <receiver>SiteGenerateDialog</receiver>
316 <slot>onFolderAdd()</slot>
317 <hints>
318 <hint type="sourcelabel">
319 <x>360</x>
320 <y>203</y>
321 </hint>
322 <hint type="destinationlabel">
323 <x>420</x>
324 <y>444</y>
325 </hint>
326 </hints>
327 </connection>
328 <connection>
329 <sender>removefolder</sender>
330 <signal>clicked()</signal>
331 <receiver>SiteGenerateDialog</receiver>
332 <slot>onFolderRemove()</slot>
333 <hints>
334 <hint type="sourcelabel">
335 <x>518</x>
336 <y>206</y>
337 </hint>
338 <hint type="destinationlabel">
339 <x>563</x>
340 <y>449</y>
341 </hint>
342 </hints>
343 </connection>
344 <connection>
345 <sender>generate_site</sender>
346 <signal>clicked()</signal>
347 <receiver>SiteGenerateDialog</receiver>
348 <slot>onSiteGenerate()</slot>
349 <hints>
350 <hint type="sourcelabel">
351 <x>367</x>
352 <y>514</y>
353 </hint>
354 <hint type="destinationlabel">
355 <x>129</x>
356 <y>497</y>
357 </hint>
358 </hints>
359 </connection>
360 </connections>
361 <slots>
362 <slot>onFileAdd()</slot>
363 <slot>onFileRemove()</slot>
364 <slot>onFolderAdd()</slot>
365 <slot>onFolderRemove()</slot>
366 <slot>onSiteGenerate()</slot>
367 </slots>
368 </ui>