summaryrefslogtreecommitdiffstats
path: root/kcontrol/kio/cache_ui.ui
blob: c0e5040579bbbbecda5fd1a8c30e92211f87fa1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>CacheDlgUI</class>
<widget class="QWidget">
    <property name="name">
        <cstring>CacheDlgUI</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>424</width>
            <height>172</height>
        </rect>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>1</number>
        </property>
        <spacer row="2" column="0">
            <property name="name">
                <cstring>spacer1</cstring>
            </property>
            <property name="orientation">
                <enum>Horizontal</enum>
            </property>
            <property name="sizeType">
                <enum>Fixed</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>16</width>
                    <height>21</height>
                </size>
            </property>
        </spacer>
        <widget class="QLabel" row="2" column="1">
            <property name="name">
                <cstring>lbMaxCacheSize</cstring>
            </property>
            <property name="enabled">
                <bool>false</bool>
            </property>
            <property name="text">
                <string>Disk cache &amp;size:</string>
            </property>
            <property name="buddy" stdset="0">
                <cstring>sbMaxCacheSize</cstring>
            </property>
        </widget>
        <widget class="KIntNumInput" row="2" column="2">
            <property name="name">
                <cstring>sbMaxCacheSize</cstring>
            </property>
            <property name="enabled">
                <bool>false</bool>
            </property>
            <property name="minValue">
                <number>1</number>
            </property>
            <property name="maxValue">
                <number>999999</number>
            </property>
            <property name="suffix">
                <string> KB</string>
            </property>
        </widget>
        <widget class="QPushButton" row="2" column="3">
            <property name="name">
                <cstring>pbClearCache</cstring>
            </property>
            <property name="enabled">
                <bool>false</bool>
            </property>
            <property name="text">
                <string>C&amp;lear Cache</string>
            </property>
        </widget>
        <spacer row="2" column="4">
            <property name="name">
                <cstring>spacer2</cstring>
            </property>
            <property name="orientation">
                <enum>Horizontal</enum>
            </property>
            <property name="sizeType">
                <enum>MinimumExpanding</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>0</width>
                    <height>21</height>
                </size>
            </property>
        </spacer>
        <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="5">
            <property name="name">
                <cstring>cbUseCache</cstring>
            </property>
            <property name="text">
                <string>&amp;Use cache</string>
            </property>
            <property name="whatsThis" stdset="0">
                <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>
            </property>
        </widget>
        <widget class="QButtonGroup" row="1" column="0" rowspan="1" colspan="5">
            <property name="name">
                <cstring>bgCachePolicy</cstring>
            </property>
            <property name="enabled">
                <bool>false</bool>
            </property>
            <property name="title">
                <string>Policy</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QRadioButton">
                    <property name="name">
                        <cstring>rbVerifyCache</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Keep cache in sync</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Verify whether the cached web page is valid before attempting to fetch the web page again.</string>
                    </property>
                </widget>
                <widget class="QRadioButton">
                    <property name="name">
                        <cstring>rbCacheIfPossible</cstring>
                    </property>
                    <property name="text">
                        <string>Use cache whenever &amp;possible</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <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>
                    </property>
                </widget>
                <widget class="QRadioButton">
                    <property name="name">
                        <cstring>rbOfflineMode</cstring>
                    </property>
                    <property name="text">
                        <string>O&amp;ffline browsing mode</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <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>
                    </property>
                </widget>
            </vbox>
        </widget>
    </grid>
</widget>
<connections>
    <connection>
        <sender>cbUseCache</sender>
        <signal>toggled(bool)</signal>
        <receiver>bgCachePolicy</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>cbUseCache</sender>
        <signal>toggled(bool)</signal>
        <receiver>lbMaxCacheSize</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>cbUseCache</sender>
        <signal>toggled(bool)</signal>
        <receiver>sbMaxCacheSize</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>cbUseCache</sender>
        <signal>toggled(bool)</signal>
        <receiver>pbClearCache</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>