|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>OfflineStorageConfigDialog</class> |
|
4 <widget class="QDialog" name="OfflineStorageConfigDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>487</width> |
|
10 <height>338</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Offline Storage Settings</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <widget class="QLabel" name="headerLabel"> |
|
22 <property name="text"> |
|
23 <string><b>Configure offline storage</b></string> |
|
24 </property> |
|
25 </widget> |
|
26 </item> |
|
27 <item> |
|
28 <widget class="Line" name="line17"> |
|
29 <property name="frameShape"> |
|
30 <enum>QFrame::HLine</enum> |
|
31 </property> |
|
32 <property name="frameShadow"> |
|
33 <enum>QFrame::Sunken</enum> |
|
34 </property> |
|
35 <property name="orientation"> |
|
36 <enum>Qt::Horizontal</enum> |
|
37 </property> |
|
38 </widget> |
|
39 </item> |
|
40 <item> |
|
41 <widget class="QGroupBox" name="databaseGroup"> |
|
42 <property name="title"> |
|
43 <string>Web SQL Databases</string> |
|
44 </property> |
|
45 <layout class="QGridLayout" name="gridLayout"> |
|
46 <item row="0" column="0" colspan="3"> |
|
47 <widget class="QCheckBox" name="databaseEnabledCheckBox"> |
|
48 <property name="toolTip"> |
|
49 <string>Select to enable Web SQL Databases</string> |
|
50 </property> |
|
51 <property name="text"> |
|
52 <string>Enable Web SQL Databases</string> |
|
53 </property> |
|
54 </widget> |
|
55 </item> |
|
56 <item row="1" column="0"> |
|
57 <widget class="QLabel" name="label"> |
|
58 <property name="text"> |
|
59 <string>Default Quota:</string> |
|
60 </property> |
|
61 </widget> |
|
62 </item> |
|
63 <item row="1" column="1"> |
|
64 <widget class="QSpinBox" name="databaseQuotaSpinBox"> |
|
65 <property name="toolTip"> |
|
66 <string>Enter the default quota for Web SQL Databases</string> |
|
67 </property> |
|
68 <property name="alignment"> |
|
69 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
70 </property> |
|
71 <property name="suffix"> |
|
72 <string> MB</string> |
|
73 </property> |
|
74 <property name="minimum"> |
|
75 <number>10</number> |
|
76 </property> |
|
77 <property name="maximum"> |
|
78 <number>999</number> |
|
79 </property> |
|
80 </widget> |
|
81 </item> |
|
82 <item row="1" column="2"> |
|
83 <spacer name="horizontalSpacer_2"> |
|
84 <property name="orientation"> |
|
85 <enum>Qt::Horizontal</enum> |
|
86 </property> |
|
87 <property name="sizeHint" stdset="0"> |
|
88 <size> |
|
89 <width>306</width> |
|
90 <height>20</height> |
|
91 </size> |
|
92 </property> |
|
93 </spacer> |
|
94 </item> |
|
95 <item row="1" column="3"> |
|
96 <widget class="QPushButton" name="showDatabasesButton"> |
|
97 <property name="toolTip"> |
|
98 <string>Press to show the Web SQL Databases</string> |
|
99 </property> |
|
100 <property name="text"> |
|
101 <string>Show databases...</string> |
|
102 </property> |
|
103 </widget> |
|
104 </item> |
|
105 </layout> |
|
106 </widget> |
|
107 </item> |
|
108 <item> |
|
109 <widget class="QGroupBox" name="applicationCacheGroup"> |
|
110 <property name="title"> |
|
111 <string>Offline Web Application Cache</string> |
|
112 </property> |
|
113 <layout class="QGridLayout" name="gridLayout_2"> |
|
114 <item row="0" column="0" colspan="3"> |
|
115 <widget class="QCheckBox" name="applicationCacheEnabledCheckBox"> |
|
116 <property name="toolTip"> |
|
117 <string>Select to enable Offline Web Application Caches</string> |
|
118 </property> |
|
119 <property name="text"> |
|
120 <string>Enable Offline Web Application Caches</string> |
|
121 </property> |
|
122 </widget> |
|
123 </item> |
|
124 <item row="1" column="0"> |
|
125 <widget class="QLabel" name="label_2"> |
|
126 <property name="text"> |
|
127 <string>Default Quota:</string> |
|
128 </property> |
|
129 </widget> |
|
130 </item> |
|
131 <item row="1" column="1"> |
|
132 <widget class="QSpinBox" name="applicationCacheQuotaSpinBox"> |
|
133 <property name="toolTip"> |
|
134 <string>Enter the default quota for Offline Web Application Caches</string> |
|
135 </property> |
|
136 <property name="alignment"> |
|
137 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
138 </property> |
|
139 <property name="suffix"> |
|
140 <string> MB</string> |
|
141 </property> |
|
142 <property name="minimum"> |
|
143 <number>10</number> |
|
144 </property> |
|
145 <property name="maximum"> |
|
146 <number>999</number> |
|
147 </property> |
|
148 </widget> |
|
149 </item> |
|
150 <item row="1" column="2"> |
|
151 <spacer name="horizontalSpacer_3"> |
|
152 <property name="orientation"> |
|
153 <enum>Qt::Horizontal</enum> |
|
154 </property> |
|
155 <property name="sizeHint" stdset="0"> |
|
156 <size> |
|
157 <width>288</width> |
|
158 <height>20</height> |
|
159 </size> |
|
160 </property> |
|
161 </spacer> |
|
162 </item> |
|
163 </layout> |
|
164 </widget> |
|
165 </item> |
|
166 <item> |
|
167 <widget class="QGroupBox" name="localStorageGroup"> |
|
168 <property name="title"> |
|
169 <string>Local Web Storage</string> |
|
170 </property> |
|
171 <layout class="QGridLayout" name="gridLayout_3"> |
|
172 <item row="0" column="0" colspan="2"> |
|
173 <widget class="QCheckBox" name="localStorageEnabledCheckBox"> |
|
174 <property name="toolTip"> |
|
175 <string>Select to enable Local Web Storage</string> |
|
176 </property> |
|
177 <property name="text"> |
|
178 <string>Enable Local Web Storage</string> |
|
179 </property> |
|
180 </widget> |
|
181 </item> |
|
182 <item row="1" column="0"> |
|
183 <widget class="QLabel" name="label_3"> |
|
184 <property name="text"> |
|
185 <string notr="true"/> |
|
186 </property> |
|
187 </widget> |
|
188 </item> |
|
189 <item row="1" column="1"> |
|
190 <widget class="QCheckBox" name="localRemoteUrlsCheckBox"> |
|
191 <property name="enabled"> |
|
192 <bool>false</bool> |
|
193 </property> |
|
194 <property name="sizePolicy"> |
|
195 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
196 <horstretch>0</horstretch> |
|
197 <verstretch>0</verstretch> |
|
198 </sizepolicy> |
|
199 </property> |
|
200 <property name="toolTip"> |
|
201 <string>Select to allow local content to access remote URLs</string> |
|
202 </property> |
|
203 <property name="text"> |
|
204 <string>Local Content can access Remote URLs</string> |
|
205 </property> |
|
206 </widget> |
|
207 </item> |
|
208 <item row="2" column="1"> |
|
209 <widget class="QCheckBox" name="localFileUrlsCheckBox"> |
|
210 <property name="enabled"> |
|
211 <bool>false</bool> |
|
212 </property> |
|
213 <property name="sizePolicy"> |
|
214 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
215 <horstretch>0</horstretch> |
|
216 <verstretch>0</verstretch> |
|
217 </sizepolicy> |
|
218 </property> |
|
219 <property name="toolTip"> |
|
220 <string>Select to allow local content to access local files</string> |
|
221 </property> |
|
222 <property name="text"> |
|
223 <string>Local Content can access Local Files</string> |
|
224 </property> |
|
225 </widget> |
|
226 </item> |
|
227 </layout> |
|
228 </widget> |
|
229 </item> |
|
230 <item> |
|
231 <widget class="QDialogButtonBox" name="buttonBox"> |
|
232 <property name="orientation"> |
|
233 <enum>Qt::Horizontal</enum> |
|
234 </property> |
|
235 <property name="standardButtons"> |
|
236 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
237 </property> |
|
238 </widget> |
|
239 </item> |
|
240 </layout> |
|
241 </widget> |
|
242 <tabstops> |
|
243 <tabstop>databaseEnabledCheckBox</tabstop> |
|
244 <tabstop>databaseQuotaSpinBox</tabstop> |
|
245 <tabstop>showDatabasesButton</tabstop> |
|
246 <tabstop>applicationCacheEnabledCheckBox</tabstop> |
|
247 <tabstop>applicationCacheQuotaSpinBox</tabstop> |
|
248 <tabstop>localStorageEnabledCheckBox</tabstop> |
|
249 <tabstop>localRemoteUrlsCheckBox</tabstop> |
|
250 <tabstop>localFileUrlsCheckBox</tabstop> |
|
251 <tabstop>buttonBox</tabstop> |
|
252 </tabstops> |
|
253 <resources/> |
|
254 <connections> |
|
255 <connection> |
|
256 <sender>buttonBox</sender> |
|
257 <signal>accepted()</signal> |
|
258 <receiver>OfflineStorageConfigDialog</receiver> |
|
259 <slot>accept()</slot> |
|
260 <hints> |
|
261 <hint type="sourcelabel"> |
|
262 <x>203</x> |
|
263 <y>495</y> |
|
264 </hint> |
|
265 <hint type="destinationlabel"> |
|
266 <x>157</x> |
|
267 <y>274</y> |
|
268 </hint> |
|
269 </hints> |
|
270 </connection> |
|
271 <connection> |
|
272 <sender>buttonBox</sender> |
|
273 <signal>rejected()</signal> |
|
274 <receiver>OfflineStorageConfigDialog</receiver> |
|
275 <slot>reject()</slot> |
|
276 <hints> |
|
277 <hint type="sourcelabel"> |
|
278 <x>203</x> |
|
279 <y>495</y> |
|
280 </hint> |
|
281 <hint type="destinationlabel"> |
|
282 <x>286</x> |
|
283 <y>274</y> |
|
284 </hint> |
|
285 </hints> |
|
286 </connection> |
|
287 <connection> |
|
288 <sender>localStorageEnabledCheckBox</sender> |
|
289 <signal>toggled(bool)</signal> |
|
290 <receiver>localRemoteUrlsCheckBox</receiver> |
|
291 <slot>setEnabled(bool)</slot> |
|
292 <hints> |
|
293 <hint type="sourcelabel"> |
|
294 <x>66</x> |
|
295 <y>275</y> |
|
296 </hint> |
|
297 <hint type="destinationlabel"> |
|
298 <x>65</x> |
|
299 <y>290</y> |
|
300 </hint> |
|
301 </hints> |
|
302 </connection> |
|
303 <connection> |
|
304 <sender>localStorageEnabledCheckBox</sender> |
|
305 <signal>toggled(bool)</signal> |
|
306 <receiver>localFileUrlsCheckBox</receiver> |
|
307 <slot>setEnabled(bool)</slot> |
|
308 <hints> |
|
309 <hint type="sourcelabel"> |
|
310 <x>86</x> |
|
311 <y>274</y> |
|
312 </hint> |
|
313 <hint type="destinationlabel"> |
|
314 <x>86</x> |
|
315 <y>315</y> |
|
316 </hint> |
|
317 </hints> |
|
318 </connection> |
|
319 </connections> |
|
320 </ui> |