Merge "persistent color scheme selection"
[trojita.git] / src / Gui / SettingsImapPage.ui
blobfae0ca5b89d045565db7826de9ca71e5a2fabbc3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ImapPage</class>
4 <widget class="QScrollArea" name="ImapPage">
5 <property name="frameShadow">
6 <enum>QFrame::Plain</enum>
7 </property>
8 <property name="widgetResizable">
9 <bool>true</bool>
10 </property>
11 <widget class="QWidget" name="scrollAreaWidgetContents">
12 <property name="geometry">
13 <rect>
14 <x>0</x>
15 <y>0</y>
16 <width>237</width>
17 <height>477</height>
18 </rect>
19 </property>
20 <layout class="QFormLayout" name="formLayout">
21 <property name="fieldGrowthPolicy">
22 <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
23 </property>
24 <item row="0" column="0">
25 <widget class="QLabel" name="methodLabel">
26 <property name="text">
27 <string>M&amp;ethod</string>
28 </property>
29 <property name="buddy">
30 <cstring>method</cstring>
31 </property>
32 </widget>
33 </item>
34 <item row="0" column="1">
35 <widget class="QComboBox" name="method">
36 <property name="toolTip">
37 <string>How to connect to the IMAP server</string>
38 </property>
39 <property name="whatsThis">
40 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
41 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
42 p, li { white-space: pre-wrap; }
43 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
44 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Choose &lt;span style=&quot; font-style:italic;&quot;&gt;TCP&lt;/span&gt; if you want to connect via standard, non-encrypted connection and negotiate encryption transparently before login.&lt;/p&gt;
45 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
46 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Choose &lt;span style=&quot; font-style:italic;&quot;&gt;SSL&lt;/span&gt; to connect over an encrypted socket from the very beginning of the connection.&lt;/p&gt;
47 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
48 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Finally, pick the &lt;span style=&quot; font-style:italic;&quot;&gt;Local process&lt;/span&gt; if you want to execute a process which then either connects to the IMAP server, or acts as one. This option enables accessing your IMAP server via SSH.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
49 </property>
50 </widget>
51 </item>
52 <item row="1" column="0">
53 <widget class="QLabel" name="label">
54 <property name="text">
55 <string>Encryption</string>
56 </property>
57 </widget>
58 </item>
59 <item row="1" column="1">
60 <widget class="QComboBox" name="encryption"/>
61 </item>
62 <item row="2" column="0">
63 <widget class="QLabel" name="imapHostLabel">
64 <property name="text">
65 <string>Ser&amp;ver</string>
66 </property>
67 <property name="buddy">
68 <cstring>imapHost</cstring>
69 </property>
70 </widget>
71 </item>
72 <item row="2" column="1">
73 <widget class="LineEdit" name="imapHost">
74 <property name="toolTip">
75 <string>Hostname of the IMAP server</string>
76 </property>
77 <property name="whatsThis">
78 <string>This is the name of the IMAP server that Trojitá should connect to.</string>
79 </property>
80 <property name="text">
81 <string/>
82 </property>
83 </widget>
84 </item>
85 <item row="3" column="0">
86 <widget class="QLabel" name="imapPortLabel">
87 <property name="text">
88 <string>&amp;Port</string>
89 </property>
90 <property name="buddy">
91 <cstring>imapPort</cstring>
92 </property>
93 </widget>
94 </item>
95 <item row="3" column="1">
96 <widget class="LineEdit" name="imapPort">
97 <property name="toolTip">
98 <string>Port number of the IMAP server</string>
99 </property>
100 <property name="text">
101 <string/>
102 </property>
103 </widget>
104 </item>
105 <item row="4" column="0" colspan="2">
106 <widget class="QLabel" name="portWarning">
107 <property name="text">
108 <string notr="true"/>
109 </property>
110 <property name="wordWrap">
111 <bool>true</bool>
112 </property>
113 </widget>
114 </item>
115 <item row="5" column="0">
116 <widget class="QLabel" name="imapUseSystemProxyLabel">
117 <property name="text">
118 <string>Use System Proxy Settings</string>
119 </property>
120 <property name="buddy">
121 <cstring>imapUseSystemProxy</cstring>
122 </property>
123 </widget>
124 </item>
125 <item row="5" column="1">
126 <widget class="QCheckBox" name="imapUseSystemProxy"/>
127 </item>
128 <item row="6" column="0">
129 <widget class="QLabel" name="imapNeedsNetworkLabel">
130 <property name="toolTip">
131 <string>Check if Trojitá should connect to a network in order to access this account. You will stay offline if there is no network connectivity.</string>
132 </property>
133 <property name="text">
134 <string>Needs Network</string>
135 </property>
136 <property name="buddy">
137 <cstring>imapNeedsNetwork</cstring>
138 </property>
139 </widget>
140 </item>
141 <item row="6" column="1">
142 <widget class="QCheckBox" name="imapNeedsNetwork"/>
143 </item>
144 <item row="7" column="0">
145 <widget class="QLabel" name="imapUserLabel">
146 <property name="text">
147 <string>&amp;Username</string>
148 </property>
149 <property name="buddy">
150 <cstring>imapUser</cstring>
151 </property>
152 </widget>
153 </item>
154 <item row="7" column="1">
155 <widget class="LineEdit" name="imapUser">
156 <property name="toolTip">
157 <string>Username</string>
158 </property>
159 <property name="whatsThis">
160 <string>User name to log in to the IMAP server</string>
161 </property>
162 <property name="text">
163 <string/>
164 </property>
165 </widget>
166 </item>
167 <item row="8" column="0">
168 <widget class="QLabel" name="imapPassLabel">
169 <property name="text">
170 <string>Pass&amp;word</string>
171 </property>
172 <property name="buddy">
173 <cstring>imapPass</cstring>
174 </property>
175 </widget>
176 </item>
177 <item row="8" column="1">
178 <widget class="LineEdit" name="imapPass">
179 <property name="toolTip">
180 <string>Password</string>
181 </property>
182 <property name="whatsThis">
183 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
184 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
185 p, li { white-space: pre-wrap; }
186 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
187 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Password to use when connecting to the IMAP server.&lt;/p&gt;
188 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
189 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This password will be saved in &lt;span style=&quot; font-weight:600;&quot;&gt;clear text&lt;/span&gt; on this device, without any encryption. Unless you use a very safe form of a full disk encryption, it is a &lt;span style=&quot; font-weight:600;&quot;&gt;bad idea&lt;/span&gt; to save your password here.&lt;/p&gt;
190 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
191 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;If you don't save the password, Trojitá will prompt for one when it needs it, but only once per session.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
192 </property>
193 <property name="text">
194 <string/>
195 </property>
196 <property name="echoMode">
197 <enum>QLineEdit::Password</enum>
198 </property>
199 </widget>
200 </item>
201 <item row="9" column="0" colspan="2">
202 <widget class="QLabel" name="passwordWarning">
203 <property name="text">
204 <string>The password will be stored in plaintext. Leave it blank for Trojitá to prompt when needed.</string>
205 </property>
206 <property name="wordWrap">
207 <bool>true</bool>
208 </property>
209 </widget>
210 </item>
211 <item row="10" column="0" colspan="2">
212 <widget class="QLabel" name="passwordPluginStatus">
213 <property name="text">
214 <string notr="true">plugin status</string>
215 </property>
216 <property name="alignment">
217 <set>Qt::AlignCenter</set>
218 </property>
219 <property name="wordWrap">
220 <bool>true</bool>
221 </property>
222 <property name="textInteractionFlags">
223 <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
224 </property>
225 </widget>
226 </item>
227 <item row="11" column="0">
228 <widget class="QLabel" name="processPathLabel">
229 <property name="text">
230 <string>Path to Server &amp;Binary</string>
231 </property>
232 <property name="buddy">
233 <cstring>processPath</cstring>
234 </property>
235 </widget>
236 </item>
237 <item row="11" column="1">
238 <widget class="LineEdit" name="processPath">
239 <property name="whatsThis">
240 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
241 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
242 p, li { white-space: pre-wrap; }
243 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
244 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;If you choose the &lt;span style=&quot; font-style:italic;&quot;&gt;Local process&lt;/span&gt; option to connect to the IMAP server, this field specifies the program to start. For example, to connect to a remote mail server via SSH and launch a Dovecot instance in there, you could use the following:&lt;/p&gt;
245 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;ssh mail.example.org dovecot --exec-mail imap&lt;/span&gt;&lt;/p&gt;
246 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Note that this command has to be absolutely non-interactive, and therefore you have to have your SSH set up to login without password, perhaps via the SSH keys.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
247 </property>
248 <property name="text">
249 <string/>
250 </property>
251 </widget>
252 </item>
253 <item row="12" column="0">
254 <widget class="QLabel" name="imapCapabilitiesBlacklistLabel">
255 <property name="text">
256 <string>Extension &amp;Blacklist</string>
257 </property>
258 <property name="buddy">
259 <cstring>imapCapabilitiesBlacklist</cstring>
260 </property>
261 </widget>
262 </item>
263 <item row="12" column="1">
264 <widget class="LineEdit" name="imapCapabilitiesBlacklist"/>
265 </item>
266 <item row="13" column="0">
267 <widget class="QLabel" name="imapIdleRenewalLabel">
268 <property name="text">
269 <string>Timeout of IMAP IDLE</string>
270 </property>
271 </widget>
272 </item>
273 <item row="13" column="1">
274 <widget class="QSpinBox" name="imapIdleRenewal">
275 <property name="sizePolicy">
276 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
277 <horstretch>0</horstretch>
278 <verstretch>0</verstretch>
279 </sizepolicy>
280 </property>
281 <property name="toolTip">
282 <string>How often to renew the IDLE session.
283 This is useful to prevent timeouts due to broken or overly aggressive network middleboxes,
284 NAT gateways and other nasty annoyances.
285 The default value is 29 minutes.</string>
286 </property>
287 <property name="minimum">
288 <number>1</number>
289 </property>
290 <property name="maximum">
291 <number>29</number>
292 </property>
293 </widget>
294 </item>
295 <item row="15" column="0">
296 <widget class="QLabel" name="imapNumberRefreshIntervalLabel">
297 <property name="text">
298 <string>Refresh Interval</string>
299 </property>
300 </widget>
301 </item>
302 <item row="15" column="1">
303 <widget class="QSpinBox" name="imapNumberRefreshInterval">
304 <property name="toolTip">
305 <string>How often to check for new emails in all IMAP folders.
306 The default value is 300 seconds (5 minutes).</string>
307 </property>
308 <property name="suffix">
309 <string> seconds</string>
310 </property>
311 <property name="minimum">
312 <number>30</number>
313 </property>
314 <property name="maximum">
315 <number>1740</number>
316 </property>
317 <property name="value">
318 <number>300</number>
319 </property>
320 </widget>
321 </item>
322 <item row="16" column="0">
323 <widget class="QLabel" name="accountIconLabel">
324 <property name="text">
325 <string>Account Icon</string>
326 </property>
327 </widget>
328 </item>
329 <item row="16" column="1">
330 <widget class="QLineEdit" name="accountIcon">
331 <property name="placeholderText">
332 <string>Default Trojitá icon</string>
333 </property>
334 <property name="clearButtonEnabled">
335 <bool>true</bool>
336 </property>
337 </widget>
338 </item>
339 <item row="17" column="0">
340 <widget class="QLabel" name="archiveFolderLabel">
341 <property name="text">
342 <string>Archive Folder &amp;Name</string>
343 </property>
344 <property name="buddy">
345 <cstring>archiveFolderName</cstring>
346 </property>
347 </widget>
348 </item>
349 <item row="17" column="1">
350 <widget class="LineEdit" name="archiveFolderName"/>
351 </item>
352 </layout>
353 </widget>
354 </widget>
355 <customwidgets>
356 <customwidget>
357 <class>LineEdit</class>
358 <extends>QLineEdit</extends>
359 <header>LineEdit.h</header>
360 </customwidget>
361 </customwidgets>
362 <resources/>
363 <connections/>
364 </ui>