Created the site generate dialog
[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="3">
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 align=&quot;justify&quot; 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:#005500;&quot;&gt;Important Information&lt;/span&gt;&lt;/p&gt;
37 &lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; 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 specified in the site configuration dialog. The entire directory tree will be re-created from scratch and any manual changes you made to the generated files will be gone!&lt;/p&gt;
38 &lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; &lt;/p&gt;
39 &lt;p align=&quot;justify&quot; 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 additional files/folders you require in the destination folder (e.g. image files or directories) every time you generate the site. Specify additional files/folders to copy below.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
40 </property>
41 <property name="wordWrap">
42 <bool>true</bool>
43 </property>
44 </widget>
45 </item>
46 <item row="1" column="0" colspan="3">
47 <widget class="QTabWidget" name="tabWidget">
48 <property name="currentIndex">
49 <number>0</number>
50 </property>
51 <widget class="QWidget" name="tab">
52 <attribute name="title">
53 <string>Files</string>
54 </attribute>
55 <layout class="QGridLayout" name="gridLayout_3">
56 <item row="0" column="0">
57 <widget class="QLabel" name="label_2">
58 <property name="text">
59 <string>Additional files to add to destination</string>
60 </property>
61 </widget>
62 </item>
63 <item row="0" column="1">
64 <widget class="QPushButton" name="addfile">
65 <property name="text">
66 <string>&amp;Add file</string>
67 </property>
68 </widget>
69 </item>
70 <item row="0" column="2">
71 <widget class="QPushButton" name="removefile">
72 <property name="text">
73 <string>&amp;Remove</string>
74 </property>
75 </widget>
76 </item>
77 <item row="1" column="0" colspan="3">
78 <widget class="QTreeWidget" name="additional_files">
79 <column>
80 <property name="text">
81 <string>Source file</string>
82 </property>
83 </column>
84 <column>
85 <property name="text">
86 <string>Destination (relative to dest-dir)</string>
87 </property>
88 </column>
89 </widget>
90 </item>
91 </layout>
92 </widget>
93 <widget class="QWidget" name="tab_2">
94 <attribute name="title">
95 <string>Folders</string>
96 </attribute>
97 <layout class="QGridLayout" name="gridLayout_4">
98 <item row="0" column="0">
99 <widget class="QLabel" name="label_3">
100 <property name="text">
101 <string>Additional folders to add to destination</string>
102 </property>
103 </widget>
104 </item>
105 <item row="0" column="1">
106 <widget class="QPushButton" name="addfolder">
107 <property name="text">
108 <string>&amp;Add folder</string>
109 </property>
110 </widget>
111 </item>
112 <item row="0" column="2">
113 <widget class="QPushButton" name="removefolder">
114 <property name="text">
115 <string>&amp;Remove</string>
116 </property>
117 </widget>
118 </item>
119 <item row="1" column="0" colspan="3">
120 <widget class="QTreeWidget" name="additional_folders">
121 <column>
122 <property name="text">
123 <string>Source folder</string>
124 </property>
125 </column>
126 <column>
127 <property name="text">
128 <string>Destination (relative to dest-dir)</string>
129 </property>
130 </column>
131 </widget>
132 </item>
133 </layout>
134 </widget>
135 </widget>
136 </item>
137 <item row="2" column="0">
138 <widget class="QGroupBox" name="groupBox">
139 <property name="title">
140 <string>Search index type</string>
141 </property>
142 <layout class="QGridLayout" name="gridLayout">
143 <item row="0" column="0">
144 <widget class="QRadioButton" name="fulltextindex">
145 <property name="text">
146 <string>Full text index</string>
147 </property>
148 <property name="checked">
149 <bool>true</bool>
150 </property>
151 </widget>
152 </item>
153 <item row="0" column="1">
154 <widget class="QRadioButton" name="keywordindex">
155 <property name="text">
156 <string>Keyword index</string>
157 </property>
158 <property name="checked">
159 <bool>false</bool>
160 </property>
161 </widget>
162 </item>
163 </layout>
164 </widget>
165 </item>
166 <item row="3" column="1">
167 <widget class="QPushButton" name="generate_site">
168 <property name="text">
169 <string>&amp;Generate site</string>
170 </property>
171 <property name="default">
172 <bool>true</bool>
173 </property>
174 </widget>
175 </item>
176 <item row="3" column="2">
177 <widget class="QPushButton" name="close">
178 <property name="text">
179 <string>&amp;Close</string>
180 </property>
181 </widget>
182 </item>
183 </layout>
184 </widget>
185 <tabstops>
186 <tabstop>tabWidget</tabstop>
187 <tabstop>addfile</tabstop>
188 <tabstop>removefile</tabstop>
189 <tabstop>additional_files</tabstop>
190 <tabstop>addfolder</tabstop>
191 <tabstop>removefolder</tabstop>
192 <tabstop>additional_folders</tabstop>
193 <tabstop>fulltextindex</tabstop>
194 <tabstop>keywordindex</tabstop>
195 <tabstop>generate_site</tabstop>
196 <tabstop>close</tabstop>
197 </tabstops>
198 <resources/>
199 <connections>
200 <connection>
201 <sender>close</sender>
202 <signal>clicked()</signal>
203 <receiver>SiteGenerateDialog</receiver>
204 <slot>reject()</slot>
205 <hints>
206 <hint type="sourcelabel">
207 <x>502</x>
208 <y>516</y>
209 </hint>
210 <hint type="destinationlabel">
211 <x>239</x>
212 <y>501</y>
213 </hint>
214 </hints>
215 </connection>
216 </connections>
217 </ui>