-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
editoralarms_base.ui
705 lines (705 loc) · 23.6 KB
/
editoralarms_base.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
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>EditorAlarms_base</class>
<widget class="QWidget" name="EditorAlarms_base">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>500</width>
<height>453</height>
</rect>
</property>
<property name="windowTitle">
<string>Alarms</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="0">
<widget class="QGroupBox" name="mTimeGroup">
<property name="toolTip">
<string>Specify a file containing a sound to play when the reminder triggers</string>
</property>
<property name="title">
<string>Time</string>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>11</number>
</property>
<item>
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QSpinBox" name="mAlarmOffset">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Set the reminder trigger time</string>
</property>
<property name="whatsThis">
<string>This spinbox allows you to set the reminder trigger time. The time unit is set in the combobox immediately adjacent.</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>99999</number>
</property>
</widget>
</item>
<item>
<widget class="KComboBox" name="mOffsetUnit">
<property name="toolTip">
<string>Select the reminder trigger time unit</string>
</property>
<property name="whatsThis">
<string>This combobox allows you to set the units for the reminder trigger time. The trigger time value is set in the spinbox immediately adjacent.</string>
</property>
<property name="autoCompletion">
<bool>false</bool>
</property>
<item>
<property name="text">
<string comment="@item:inlistbox alarm offset expressed in minutes">minute(s)</string>
</property>
</item>
<item>
<property name="text">
<string comment="@item:inlistbox alarm offset expressed in hours">hour(s)</string>
</property>
</item>
<item>
<property name="text">
<string comment="@item:inlistbox alarm offset expressed in days">day(s)</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="KComboBox" name="mBeforeAfter">
<property name="toolTip">
<string>Select the reminder trigger relative to the start or end time</string>
</property>
<property name="whatsThis">
<string>Use this combobox to specify if you want the reminder to trigger before or after the start or end time.</string>
</property>
<item>
<property name="text">
<string>before the event starts</string>
</property>
</item>
<item>
<property name="text">
<string>after the event starts</string>
</property>
</item>
<item>
<property name="text">
<string>before the event ends</string>
</property>
</item>
<item>
<property name="text">
<string>after the event ends</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="1">
<widget class="QLabel" name="mHowOftenLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&How often:</string>
</property>
<property name="buddy">
<cstring>mRepeatCount</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="mRepeatCount">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Select how often the reminder should repeat</string>
</property>
<property name="whatsThis">
<string>Use this selector to choose how many times you want the recurring reminder to repeat.</string>
</property>
<property name="suffix">
<string> time(s)</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>500</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="mIntervalLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&Interval:</string>
</property>
<property name="buddy">
<cstring>mRepeatInterval</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="mRepeats">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Set the reminder to repeat</string>
</property>
<property name="whatsThis">
<string>Check this if you want to the reminder to recur on a periodic interval.</string>
</property>
<property name="text">
<string>&Repeating:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="mRepeatInterval">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Select the time between reminder repeats</string>
</property>
<property name="whatsThis">
<string>Use this selector to choose the time between repeating reminders.</string>
</property>
<property name="suffix">
<string comment="@label:spinbox repeat interval expressed in minutes"> Minute(s)</string>
</property>
<property name="prefix">
<string comment="repeat every X minutes">every </string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>999</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="mTypeGroup">
<property name="title">
<string>Type</string>
</property>
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>11</number>
</property>
<item>
<widget class="QGroupBox" name="mAlarmType">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QRadioButton" name="mTypeDisplayRadio">
<property name="toolTip">
<string>Display optional text when the reminder is triggered</string>
</property>
<property name="whatsThis">
<string>Check this option if you want to display optional text in a popup notice when the reminder triggers.</string>
</property>
<property name="text">
<string>&Display</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="mTypeSoundRadio">
<property name="toolTip">
<string>Play a sound when the reminder is triggered</string>
</property>
<property name="whatsThis">
<string>Check this option if you want to play a sound when the reminder triggers.</string>
</property>
<property name="text">
<string>&Sound</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="mTypeAppRadio">
<property name="toolTip">
<string>Run an application or script when the reminder is triggered</string>
</property>
<property name="whatsThis">
<string>Check this option if you want to run an application (or script) when the reminder triggers.</string>
</property>
<property name="text">
<string>Application / script</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="mTypeEmailRadio">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Send email when the reminder is triggered</string>
</property>
<property name="whatsThis">
<string>Check this option if you want to send an email message when the reminder triggers.</string>
</property>
<property name="text">
<string>Send email</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>21</width>
<height>41</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line1">
<property name="frameShape">
<enum>QFrame::VLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="mTypeStack">
<property name="currentIndex">
<number>3</number>
</property>
<widget class="QWidget" name="PageDisplayText">
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="mDisplayTextLabel">
<property name="text">
<string>Display &text:</string>
</property>
<property name="buddy">
<cstring>mDisplayText</cstring>
</property>
</widget>
</item>
<item>
<widget class="KTextEdit" name="mDisplayText">
<property name="toolTip">
<string notr="true">Provide text to display when the reminder triggers</string>
</property>
<property name="whatsThis">
<string>Specify any text you desire to display in the popup notice when the reminder triggers.</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="PageSoundFile">
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="mSoundFileLabel">
<property name="text">
<string>Sound &file:</string>
</property>
<property name="buddy">
<cstring>mSoundFile</cstring>
</property>
</widget>
</item>
<item>
<widget class="KUrlRequester" name="mSoundFile">
<property name="toolTip">
<string>Specify a file containing a sound to play when the reminder triggers</string>
</property>
<property name="whatsThis">
<string>Use the adjacent file browser to help you find the file you want to use when playing a sound when the reminder triggers.</string>
</property>
<property name="filter">
<string>audio/x-wav audio/x-mp3 application/ogg</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>61</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="PageApplication">
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="mApplicationLabel">
<property name="text">
<string>&Application / Script:</string>
</property>
<property name="buddy">
<cstring>mApplication</cstring>
</property>
</widget>
</item>
<item>
<widget class="KUrlRequester" name="mApplication">
<property name="toolTip">
<string>Specify a file containing the application to run when the reminder triggers</string>
</property>
<property name="whatsThis">
<string>Use the adjacent file browser to help you find the file you want to use when running an application when the reminder triggers.</string>
</property>
<property name="filter">
<string>*|All files</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="mAppArgumentsLabel">
<property name="text">
<string>Ar&guments:</string>
</property>
<property name="buddy">
<cstring>mAppArguments</cstring>
</property>
</widget>
</item>
<item>
<widget class="KLineEdit" name="mAppArguments">
<property name="toolTip">
<string>Specify arguments to pass to the application when the reminder triggers</string>
</property>
<property name="whatsThis">
<string>Enter the application arguments to use when running an application when the reminder triggers.</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="PageEmail">
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="mEmailTextLabel">
<property name="text">
<string>&Text of the message:</string>
</property>
<property name="buddy">
<cstring>mEmailText</cstring>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="KTextEdit" name="mEmailText">
<property name="toolTip">
<string>Specify text of an email message to send when the reminder triggers</string>
</property>
<property name="whatsThis">
<string>Enter any text you desire for the email message that will be sent when the alarm triggers.</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KPIM::AddresseeLineEdit" name="mEmailAddress">
<property name="toolTip">
<string>Specify a list of addresses to send email when the reminder triggers.
If the 'To:' field stays empty the email reminder will be sent to the
default email configured in Kmail (Settings menu/Configure Kmail/Identities).</string>
</property>
<property name="whatsThis">
<string>Enter a list comma-separated addresses to which an email will be sent when the reminder triggers</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="mEmailToLabel">
<property name="text">
<string>&To:</string>
</property>
<property name="buddy">
<cstring>mEmailAddress</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="2" column="1">
<widget class="QPushButton" name="mRemoveButton">
<property name="toolTip">
<string>Remove the currently selected reminder</string>
</property>
<property name="whatsThis">
<string>Click this button if you want to remove the currently selected reminder. Be careful with this option as there is no way to undo this operation.</string>
</property>
<property name="text">
<string>&Remove</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="mAddButton">
<property name="toolTip">
<string>Create a new reminder using the settings specified below</string>
</property>
<property name="whatsThis">
<string>Click this button if you want to create a new reminder using the settings specified below. You can continue to change the settings as needed.</string>
</property>
<property name="text">
<string comment="Add a new alarm to the alarm list">&Add</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="mDuplicateButton">
<property name="toolTip">
<string>Create a new reminder from the currently selected reminder</string>
</property>
<property name="whatsThis">
<string>Click this button if you want to create a new reminder using the settings stored in the currently selected reminder. You can continue to change the settings as needed.</string>
</property>
<property name="text">
<string>D&uplicate</string>
</property>
</widget>
</item>
<item row="3" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>60</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="4">
<widget class="QTreeWidget" name="mAlarmList">
<property name="toolTip">
<string>The list of reminders for this event or to-do</string>
</property>
<property name="whatsThis">
<string>This area displays a list of all the reminders you have specified for this event or to-do.</string>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<column>
<property name="text">
<string>Type</string>
</property>
</column>
<column>
<property name="text">
<string>Offset</string>
</property>
</column>
<column>
<property name="text">
<string>Repeat</string>
</property>
</column>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KPIM::AddresseeLineEdit</class>
<extends>KLineEdit</extends>
<header>libkdepim/addressline/addresseelineedit.h</header>
</customwidget>
<customwidget>
<class>KUrlRequester</class>
<extends>QFrame</extends>
<header>kurlrequester.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KTextEdit</class>
<extends>QTextEdit</extends>
<header>ktextedit.h</header>
</customwidget>
</customwidgets>
<includes>
<include location="global">libkdepim/addressline/addresseelineedit.h</include>
</includes>
<resources/>
<connections/>
</ui>