--- a/Helpviewer/OfflineStorage/OfflineStorageConfigDialog.ui Sat Jun 19 17:02:53 2010 +0200 +++ b/Helpviewer/OfflineStorage/OfflineStorageConfigDialog.ui Sat Jun 19 18:30:21 2010 +0200 @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>481</width> - <height>393</height> + <width>487</width> + <height>337</height> </rect> </property> <property name="windowTitle"> @@ -16,7 +16,7 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> @@ -39,9 +39,6 @@ </item> <item> <widget class="QGroupBox" name="databaseGroup"> - <property name="toolTip"> - <string/> - </property> <property name="title"> <string>Web SQL Databases</string> </property> @@ -82,20 +79,7 @@ </property> </widget> </item> - <item row="1" column="2" colspan="2"> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>282</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="2" column="0" colspan="3"> + <item row="1" column="2"> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> @@ -108,7 +92,7 @@ </property> </spacer> </item> - <item row="2" column="3"> + <item row="1" column="3"> <widget class="QPushButton" name="showDatabasesButton"> <property name="toolTip"> <string>Press to show the Web SQL Databases</string> @@ -122,17 +106,81 @@ </widget> </item> <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> + <widget class="QGroupBox" name="applicationCacheGroup"> + <property name="title"> + <string>Offline Web Application Cache</string> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>204</height> - </size> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0" colspan="3"> + <widget class="QCheckBox" name="applicationCacheEnabledCheckBox"> + <property name="toolTip"> + <string>Select to enable Offline Web Application Caches</string> + </property> + <property name="text"> + <string>Enable Offline Web Application Caches</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Default Quota:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="applicationCacheQuotaSpinBox"> + <property name="toolTip"> + <string>Enter the default quota for Offline Web Application Caches</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="suffix"> + <string> MB</string> + </property> + <property name="minimum"> + <number>10</number> + </property> + <property name="maximum"> + <number>999</number> + </property> + </widget> + </item> + <item row="1" column="2"> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>288</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="localStorageGroup"> + <property name="title"> + <string>Local Web Storage</string> </property> - </spacer> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="localStorageEnabledCheckBox"> + <property name="toolTip"> + <string>Select to enable Local Web Storage</string> + </property> + <property name="text"> + <string>Enable Local Web Storage</string> + </property> + </widget> + </item> + </layout> + </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> @@ -150,6 +198,9 @@ <tabstop>databaseEnabledCheckBox</tabstop> <tabstop>databaseQuotaSpinBox</tabstop> <tabstop>showDatabasesButton</tabstop> + <tabstop>applicationCacheEnabledCheckBox</tabstop> + <tabstop>applicationCacheQuotaSpinBox</tabstop> + <tabstop>localStorageEnabledCheckBox</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/>