2 <class>CacheConfigUI</class>
3 <widget class="QWidget" name="CacheConfigUI" >
4 <property name="geometry" >
12 <layout class="QGridLayout" >
13 <item row="0" column="0" colspan="5" >
14 <widget class="QCheckBox" name="cbUseCache" >
15 <property name="whatsThis" >
16 <string>Check this box if you want the web pages you visit to be stored on your hard disk for quicker access. The stored pages will only be updated as needed instead of on every visit to that site. This is especially useful if you have a slow connection to the Internet.</string>
18 <property name="text" >
19 <string>&Use cache</string>
23 <item row="1" column="0" >
25 <property name="orientation" >
26 <enum>Qt::Horizontal</enum>
28 <property name="sizeType" >
29 <enum>QSizePolicy::Fixed</enum>
31 <property name="sizeHint" >
39 <item row="1" column="1" colspan="4" >
40 <widget class="QGroupBox" name="bgCachePolicy" >
41 <property name="enabled" >
44 <property name="title" >
45 <string>Policy</string>
47 <layout class="QVBoxLayout" >
49 <widget class="QRadioButton" name="rbVerifyCache" >
50 <property name="whatsThis" >
51 <string>Verify whether the cached web page is valid before attempting to fetch the web page again.</string>
53 <property name="text" >
54 <string>&Keep cache in sync</string>
59 <widget class="QRadioButton" name="rbCacheIfPossible" >
60 <property name="whatsThis" >
61 <string>Always use documents from the cache when available. You can still use the reload button to synchronize the cache with the remote host.</string>
63 <property name="text" >
64 <string>Use cache whenever &possible</string>
69 <widget class="QRadioButton" name="rbOfflineMode" >
70 <property name="whatsThis" >
71 <string>Do not fetch web pages that are not already stored in the cache. Offline mode prevents you from viewing pages that you have not previously visited.</string>
73 <property name="text" >
74 <string>O&ffline browsing mode</string>
81 <item row="2" column="1" >
82 <widget class="QLabel" name="lbMaxCacheSize" >
83 <property name="enabled" >
86 <property name="text" >
87 <string>Disk cache &size:</string>
89 <property name="buddy" >
90 <cstring>sbMaxCacheSize</cstring>
94 <item row="2" column="2" >
95 <widget class="KIntNumInput" native="1" name="sbMaxCacheSize" >
96 <property name="enabled" >
101 <item row="2" column="3" >
102 <widget class="QPushButton" name="clearCacheButton" >
103 <property name="enabled" >
106 <property name="text" >
107 <string>C&lear Cache</string>
111 <item row="2" column="4" >
113 <property name="orientation" >
114 <enum>Qt::Horizontal</enum>
116 <property name="sizeType" >
117 <enum>QSizePolicy::Expanding</enum>
119 <property name="sizeHint" >
127 <item row="3" column="0" colspan="5" >
129 <property name="orientation" >
130 <enum>Qt::Vertical</enum>
132 <property name="sizeType" >
133 <enum>QSizePolicy::Expanding</enum>
135 <property name="sizeHint" >
145 <layoutdefault spacing="6" margin="11" />
148 <class>KIntNumInput</class>
149 <extends>QWidget</extends>
150 <header>knuminput.h</header>
156 <sender>cbUseCache</sender>
157 <signal>toggled(bool)</signal>
158 <receiver>bgCachePolicy</receiver>
159 <slot>setEnabled(bool)</slot>
161 <hint type="sourcelabel" >
165 <hint type="destinationlabel" >
172 <sender>cbUseCache</sender>
173 <signal>toggled(bool)</signal>
174 <receiver>lbMaxCacheSize</receiver>
175 <slot>setEnabled(bool)</slot>
177 <hint type="sourcelabel" >
181 <hint type="destinationlabel" >
188 <sender>cbUseCache</sender>
189 <signal>toggled(bool)</signal>
190 <receiver>sbMaxCacheSize</receiver>
191 <slot>setEnabled(bool)</slot>
193 <hint type="sourcelabel" >
197 <hint type="destinationlabel" >
204 <sender>cbUseCache</sender>
205 <signal>toggled(bool)</signal>
206 <receiver>clearCacheButton</receiver>
207 <slot>setEnabled(bool)</slot>
209 <hint type="sourcelabel" >
213 <hint type="destinationlabel" >