-
Notifications
You must be signed in to change notification settings - Fork 10
/
configdialog.ui
707 lines (707 loc) · 24.8 KB
/
configdialog.ui
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
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SetupServerView</class>
<widget class="QWidget" name="SetupServerView">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>602</width>
<height>527</height>
</rect>
</property>
<property name="windowTitle">
<string>EWS Configuration</string>
</property>
<layout class="QVBoxLayout" name="mainLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="generalTab">
<attribute name="title">
<string comment="General settings tab">General</string>
</attribute>
<layout class="QVBoxLayout" name="generalTabLayout">
<item>
<widget class="QGroupBox" name="accountInfoGroupBox">
<property name="minimumSize">
<size>
<width>500</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Account Information</string>
</property>
<layout class="QVBoxLayout" name="accountInfoGroupBoxLayout">
<item>
<widget class="QWidget" name="accountInfoContainer" native="true">
<layout class="QFormLayout" name="accountInfoContainerLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="accountNameLabel">
<property name="text">
<string>Account Name:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KLineEdit" name="accountName">
<property name="whatsThis">
<string>This is the account name that will appear in all Akonadi applications</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="emailLabel">
<property name="text">
<string comment="Exchange account e-mail address">Email:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KLineEdit" name="kcfg_Email">
<property name="whatsThis">
<string>The e-mail address of this account</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KLineEdit" name="kcfg_Domain">
<property name="enabled">
<bool>false</bool>
</property>
<property name="whatsThis">
<string>The Active Directory domain the user belongs to.</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="usernameLabel">
<property name="text">
<string comment="Exchange account username/login">Username:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="KLineEdit" name="kcfg_Username">
<property name="whatsThis">
<string><html><head/><body><p>The username used to login to the Exchange server.</p><p><span style=" font-weight:600;">Note:</span> This can be left empty when using Kerberos authentication.</p></body></html></string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="passwordLabel">
<property name="text">
<string>Password:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="passwordEdit">
<property name="whatsThis">
<string><html><head/><body><p>The password used to login to the Exchange server.</p><p><span style=" font-weight:600;">Note:</span> This can be left empty when using Kerberos authentication.</p></body></html></string>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QWidget" name="autodiscoveryContainer" native="true">
<layout class="QHBoxLayout" name="autodiscoveryContainerLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QCheckBox" name="kcfg_AutoDiscovery">
<property name="whatsThis">
<string><html><head/><body><p>Attempts to find out the Microsoft Exchange server address relevant to the supplied e-mail address.</p></body></html></string>
</property>
<property name="text">
<string>Server Autodiscovery</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="autodiscoverButton">
<property name="text">
<string>Perform</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="tryConnectButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Try connect</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="serverUrlLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>EWS URL:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="KLineEdit" name="kcfg_BaseUrl">
<property name="enabled">
<bool>false</bool>
</property>
<property name="whatsThis">
<string>The Microsoft Exchange server URL used to send EWS requests.</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="kcfg_HasDomain">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Domain:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="kerberosNoteLabel">
<property name="text">
<string><html><head/><body><p><span style=" font-weight:600;">Note:</span> Username and password are not needed (can be empty) when Kerberos is properly configured on your system.</p></body></html></string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="generalTabSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="subscriptionTab">
<attribute name="title">
<string>Subscriptions</string>
</attribute>
<layout class="QVBoxLayout" name="subscriptionTabLayout"/>
</widget>
<widget class="QWidget" name="advancedTab">
<attribute name="title">
<string comment="Advanced settings tab">Advanced</string>
</attribute>
<layout class="QVBoxLayout" name="advancedTabLayout">
<item>
<widget class="QGroupBox" name="retrievalMethodGroupBox">
<property name="title">
<string>Retrieval</string>
</property>
<layout class="QVBoxLayout" name="retrievalMethodGroupBoxLayout">
<item>
<widget class="QRadioButton" name="pollRadioButton">
<property name="whatsThis">
<string><html><head/><body><p>Periodically asks for new item change events.</p></body></html></string>
</property>
<property name="text">
<string>Po&ll for new messages</string>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="pollIntervalWidget" native="true">
<property name="enabled">
<bool>false</bool>
</property>
<layout class="QFormLayout" name="pollingIntervalWidgetLayout">
<property name="leftMargin">
<number>48</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="kcfg_PollInterval">
<property name="suffix">
<string> minutes</string>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>0.500000000000000</double>
</property>
<property name="singleStep">
<double>0.500000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="pollIntervalLabel">
<property name="text">
<string>Interval</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QRadioButton" name="streamingRadioButton">
<property name="whatsThis">
<string><html><head/><body><p>Streaming notifications behave similarly to push mode - a connection is kept alive and notifications about item changes are delivered instantly.</p><p><br/></p><p>This option requires Exchange server version 2010 SP1 or later.</p></body></html></string>
</property>
<property name="text">
<string>&Use streaming notifications</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="advAuthenticationGroupBox">
<property name="title">
<string>Authentication</string>
</property>
<layout class="QVBoxLayout" name="advAuthenticationGroupBoxLayout">
<item>
<widget class="QCheckBox" name="kcfg_EnableNTLMv2">
<property name="whatsThis">
<string><html><head/><body><p>By default KDE uses the less secure NTLMv1 authentication. Enabling this will cause the more secure NTLMv2 protocol to be used.</p><p>Some newer Microsoft Exchange servers are configured to only allow NTLMv2 authentication. In such case this option must be enabled in order to connect successfully.</p></body></html></string>
</property>
<property name="text">
<string>Enable NTLMv2</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="userAgentGroupBox">
<property name="whatsThis">
<string><html><head/><body><p>Some organizations restrict access to mail only to approved clients, such as Microsoft Outlook. On the server-side this is implemented by analyzing the User-Agent string and only allowing a list of approved clients.</p><p>This setting allows to emulate some well known clients as well as providing a custom User-Agent string.</p><p>Please be advised that bypasing company policies may result in personal consequences.</p></body></html></string>
</property>
<property name="title">
<string>Use custo&m User Agent</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="userAgentGroupBoxLayout">
<item>
<widget class="QComboBox" name="userAgentCombo"/>
</item>
<item>
<widget class="QLineEdit" name="userAgentEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="clearSyncStateGroupBox">
<property name="title">
<string>Clear Synchronization State</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="clearSyncStateLabel">
<property name="text">
<string>Resets synchronization state between Exchange and Akonadi. Use in case some items or folders are not showing up despite existing in Exchange.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="clearSyncStateBtnContainer" native="true">
<layout class="QHBoxLayout" name="clearSyncStateBtnContainerLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="clearFolderTreeSyncStateButton">
<property name="text">
<string>Clear Folder Tree State</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="clearFolderItemSyncStateButton">
<property name="text">
<string>Clear Folder Item State</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<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>
</layout>
</widget>
<widget class="QWidget" name="statusTab">
<attribute name="title">
<string>Status</string>
</attribute>
<layout class="QVBoxLayout" name="statusTabLayout">
<item>
<widget class="QGroupBox" name="serverStatusGroupBox">
<property name="title">
<string>Server Status</string>
</property>
<layout class="QFormLayout" name="serverStatusGroupBoxLayout">
<item row="0" column="0">
<widget class="QLabel" name="serverStatusLabel">
<property name="text">
<string>Status:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="serverStatusText">
<property name="text">
<string comment="Unknown server status">Unknown</string>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="serverVersionLabel">
<property name="text">
<string>Version:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="serverVersionText">
<property name="text">
<string comment="Unknown server version">Unknown</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="statusTabSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="aboutTab">
<attribute name="title">
<string>About</string>
</attribute>
<layout class="QHBoxLayout" name="aboutTabLayout">
<item>
<widget class="QWidget" name="aboutIconWidget" native="true">
<layout class="QVBoxLayout" name="aboutIconWidgetLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="aboutIconLabel">
<property name="pixmap">
<pixmap>../../../../../usr/share/icons/hicolor/128x128/apps/akonadi-ews.png</pixmap>
</property>
</widget>
</item>
<item>
<spacer name="aboutIconSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="aboutTextWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="aboutTextWidgetLayout">
<item>
<widget class="QLabel" name="aboutTextLabel">
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="aboutVersionLabel"/>
</item>
<item>
<widget class="QLabel" name="aboutCopyrightLabel"/>
</item>
<item>
<widget class="QLabel" name="aboutLicenseLabel">
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="aboutUrlLabel">
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="aboutTextSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>tabWidget</tabstop>
<tabstop>accountName</tabstop>
<tabstop>kcfg_Email</tabstop>
<tabstop>kcfg_Domain</tabstop>
<tabstop>kcfg_Username</tabstop>
<tabstop>passwordEdit</tabstop>
<tabstop>kcfg_AutoDiscovery</tabstop>
<tabstop>autodiscoverButton</tabstop>
<tabstop>tryConnectButton</tabstop>
<tabstop>kcfg_BaseUrl</tabstop>
<tabstop>pollRadioButton</tabstop>
<tabstop>kcfg_PollInterval</tabstop>
<tabstop>streamingRadioButton</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>kcfg_AutoDiscovery</sender>
<signal>toggled(bool)</signal>
<receiver>autodiscoverButton</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>256</x>
<y>257</y>
</hint>
<hint type="destinationlabel">
<x>388</x>
<y>257</y>
</hint>
</hints>
</connection>
<connection>
<sender>kcfg_AutoDiscovery</sender>
<signal>toggled(bool)</signal>
<receiver>serverUrlLabel</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>256</x>
<y>257</y>
</hint>
<hint type="destinationlabel">
<x>95</x>
<y>297</y>
</hint>
</hints>
</connection>
<connection>
<sender>kcfg_AutoDiscovery</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_BaseUrl</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>256</x>
<y>257</y>
</hint>
<hint type="destinationlabel">
<x>311</x>
<y>297</y>
</hint>
</hints>
</connection>
<connection>
<sender>pollRadioButton</sender>
<signal>toggled(bool)</signal>
<receiver>pollIntervalWidget</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>260</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
<x>260</x>
<y>149</y>
</hint>
</hints>
</connection>
<connection>
<sender>kcfg_HasDomain</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_Domain</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>87</x>
<y>172</y>
</hint>
<hint type="destinationlabel">
<x>322</x>
<y>172</y>
</hint>
</hints>
</connection>
</connections>
</ui>