--- a/Helpviewer/OfflineStorage/OfflineStorageConfigDialog.ui Sat Sep 17 16:28:41 2011 +0200 +++ b/Helpviewer/OfflineStorage/OfflineStorageConfigDialog.ui Sun Sep 18 20:04:24 2011 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>487</width> - <height>337</height> + <height>386</height> </rect> </property> <property name="windowTitle"> @@ -16,7 +16,7 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> + <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> @@ -168,8 +168,8 @@ <property name="title"> <string>Local Web Storage</string> </property> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0" colspan="2"> <widget class="QCheckBox" name="localStorageEnabledCheckBox"> <property name="toolTip"> <string>Select to enable Local Web Storage</string> @@ -179,6 +179,51 @@ </property> </widget> </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string notr="true"> </string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="localRemoteUrlsCheckBox"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select to allow local content to access remote URLs</string> + </property> + <property name="text"> + <string>Local Content can access Remote URLs</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="localFileUrlsCheckBox"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select to allow local content to access local files</string> + </property> + <property name="text"> + <string>Local Content can access Local Files</string> + </property> + </widget> + </item> </layout> </widget> </item> @@ -201,6 +246,8 @@ <tabstop>applicationCacheEnabledCheckBox</tabstop> <tabstop>applicationCacheQuotaSpinBox</tabstop> <tabstop>localStorageEnabledCheckBox</tabstop> + <tabstop>localRemoteUrlsCheckBox</tabstop> + <tabstop>localFileUrlsCheckBox</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> @@ -212,8 +259,8 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>278</x> - <y>364</y> + <x>203</x> + <y>495</y> </hint> <hint type="destinationlabel"> <x>157</x> @@ -228,8 +275,8 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>346</x> - <y>370</y> + <x>203</x> + <y>495</y> </hint> <hint type="destinationlabel"> <x>286</x> @@ -237,5 +284,37 @@ </hint> </hints> </connection> + <connection> + <sender>localStorageEnabledCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>localRemoteUrlsCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>66</x> + <y>275</y> + </hint> + <hint type="destinationlabel"> + <x>65</x> + <y>290</y> + </hint> + </hints> + </connection> + <connection> + <sender>localStorageEnabledCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>localFileUrlsCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>86</x> + <y>274</y> + </hint> + <hint type="destinationlabel"> + <x>86</x> + <y>315</y> + </hint> + </hints> + </connection> </connections> </ui>