cachepolicypage.ui 6.35 KB
Newer Older
1
2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3
 <class>CachePolicyPage</class>
4
5
 <widget class="QWidget" name="CachePolicyPage">
  <property name="enabled">
6
7
   <bool>true</bool>
  </property>
8
  <property name="geometry">
9
10
11
12
13
14
15
   <rect>
    <x>0</x>
    <y>0</y>
    <width>602</width>
    <height>461</height>
   </rect>
  </property>
16
17
  <layout class="QFormLayout" name="verticalLayout_3">
   <item row="0" column="1">
18
19
    <widget class="QCheckBox" name="inherit">
     <property name="text">
20
      <string>Use options from parent folder or account</string>
21
     </property>
22
     <property name="checked">
23
      <bool>false</bool>
24
     </property>
25
     <property name="tristate">
26
27
28
29
      <bool>false</bool>
     </property>
    </widget>
   </item>
30
   <item row="1" column="1">
31
32
33
    <widget class="QCheckBox" name="syncOnDemand">
     <property name="text">
      <string>Synchronize when selecting this folder</string>
34
35
36
     </property>
    </widget>
   </item>
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
   <item row="2" column="0">
    <widget class="QLabel" name="label_2">
     <property name="text">
      <string>Synchronize after:</string>
     </property>
    </widget>
   </item>
   <item row="2" column="1">
    <widget class="QSpinBox" name="checkInterval">
     <property name="specialValueText">
      <string comment="never check the cache">Never</string>
     </property>
     <property name="suffix">
      <string>minutes</string>
     </property>
     <property name="minimum">
      <number>0</number>
     </property>
     <property name="maximum">
      <number>9999</number>
     </property>
     <property name="value">
      <number>0</number>
     </property>
    </widget>
   </item>
   <item row="3" column="0">
    <widget class="QLabel" name="localPartsLabel">
     <property name="text">
      <string>Locally cached parts:</string>
     </property>
     <property name="buddy">
       <cstring>localParts</cstring>
     </property>
    </widget>
   </item>
   <item row="3" column="1">
    <widget class="KEditListWidget" name="localParts">
     <property name="minimumSize">
      <size>
        <width>150</width>
      </size>
     </property>
     <property name="enabled">
      <bool>false</bool>
     </property>
     <property name="buttons">
      <set>KEditListWidget::Add|KEditListWidget::Remove</set>
     </property>
     <property name="title" stdset="0">
      <string>Locally Cached Parts</string>
     </property>
    </widget>
   </item>
   <item row="4" column="0">
    <widget class="QLabel" name="retrievalOptionsLabel">
     <property name="text">
      <string>Retrieval Options:</string>
     </property>
    </widget>
   </item>
   <item row="4" column="1">
    <widget class="QRadioButton" name="retrieveFullMessages">
     <property name="text">
      <string>Always retrieve full &amp;messages</string>
     </property>
     <property name="checked">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="5" column="1">
    <widget class="QRadioButton" name="retrieveOnlyHeaders">
     <property name="text">
      <string>&amp;Retrieve message bodies on demand</string>
     </property>
    </widget>
114
   </item>
115
116
117
   <item row="6" column="0">
    <widget class="QLabel" name="label">
     <property name="text">
118
      <string>Keep message bodies locally for:</string>
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
     </property>
    </widget>
   </item>
   <item row="6" column="1">
    <widget class="QSpinBox" name="localCacheTimeout">
     <property name="minimumSize">
      <size>
        <width>150</width>
      </size>
     </property>
     <property name="specialValueText">
      <string comment="no cache timeout">Forever</string>
     </property>
     <property name="suffix">
      <string>minutes</string>
     </property>
     <property name="minimum">
      <number>0</number>
     </property>
     <property name="value">
      <number>0</number>
     </property>
141
142
    </widget>
   </item>
143
144
145
146
147
148
149
150
151
152
153
154
155
   <item row="7">
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
     </property>
    </spacer>
   </item>
156
157
158
159
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
160
161
162
   <class>KEditListWidget</class>
   <extends>QWidget</extends>
   <header>keditlistwidget.h</header>
163
164
165
166
167
168
169
  </customwidget>
 </customwidgets>
 <resources/>
 <connections>
  <connection>
   <sender>inherit</sender>
   <signal>toggled(bool)</signal>
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
   <receiver>localParts</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>199</x>
     <y>14</y>
    </hint>
    <hint type="destinationlabel">
     <x>321</x>
     <y>192</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>retrieveOnlyHeaders</sender>
   <signal>toggled(bool)</signal>
   <receiver>label</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>299</x>
     <y>143</y>
    </hint>
    <hint type="destinationlabel">
     <x>162</x>
     <y>168</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>retrieveOnlyHeaders</sender>
   <signal>toggled(bool)</signal>
   <receiver>localCacheTimeout</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>299</x>
     <y>143</y>
    </hint>
    <hint type="destinationlabel">
     <x>439</x>
     <y>168</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>inherit</sender>
   <signal>toggled(bool)</signal>
   <receiver>syncOnDemand</receiver>
219
220
   <slot>setDisabled(bool)</slot>
   <hints>
221
    <hint type="sourcelabel">
222
223
     <x>304</x>
     <y>18</y>
224
    </hint>
225
    <hint type="destinationlabel">
226
     <x>304</x>
227
228
229
230
231
232
233
     <y>39</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>inherit</sender>
   <signal>toggled(bool)</signal>
234
   <receiver>label_2</receiver>
235
236
   <slot>setDisabled(bool)</slot>
   <hints>
237
    <hint type="sourcelabel">
238
239
     <x>304</x>
     <y>18</y>
240
    </hint>
241
    <hint type="destinationlabel">
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
     <x>154</x>
     <y>64</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>inherit</sender>
   <signal>toggled(bool)</signal>
   <receiver>checkInterval</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>304</x>
     <y>18</y>
    </hint>
    <hint type="destinationlabel">
     <x>446</x>
     <y>64</y>
    </hint>
   </hints>
  </connection>
263
264
 </connections>
</ui>