-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
alarmdialog.ui
517 lines (517 loc) · 15.9 KB
/
alarmdialog.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
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AlarmDialog</class>
<widget class="QWidget" name="AlarmDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>439</width>
<height>315</height>
</rect>
</property>
<property name="windowTitle">
<string>Alarms</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>When:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<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>
<property name="value">
<number>15</number>
</property>
</widget>
</item>
<item>
<widget class="KComboBox" name="mOffsetUnit">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<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 row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Repeat:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<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/>
</property>
</widget>
</item>
<item>
<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>
<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>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>What:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KComboBox" name="mTypeCombo">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>Display text</string>
</property>
</item>
<item>
<property name="text">
<string>Play sound file</string>
</property>
</item>
<item>
<property name="text">
<string>Run application / script</string>
</property>
</item>
<item>
<property name="text">
<string>Send email</string>
</property>
</item>
</widget>
</item>
<item row="3" column="1">
<widget class="QStackedWidget" name="mTypeStack">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="DisplayStack">
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<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="AudioStack">
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="mSoundFileLabel">
<property name="text">
<string>Audio File:</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>mSoundFile</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<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 row="1" column="0" colspan="2">
<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="ApplicationStack">
<layout class="QGridLayout" name="gridLayout_3">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="mApplicationLabel">
<property name="text">
<string>&Application / Script:</string>
</property>
<property name="buddy">
<cstring>mApplication</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<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 row="1" column="0">
<widget class="QLabel" name="mAppArgumentsLabel">
<property name="text">
<string>Ar&guments:</string>
</property>
<property name="buddy">
<cstring>mAppArguments</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<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 row="2" column="0" colspan="2">
<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="EmailStack">
<layout class="QGridLayout" name="gridLayout_4">
<property name="margin">
<number>0</number>
</property>
<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>
<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="1" column="0">
<widget class="QLabel" name="mEmailTextLabel">
<property name="text">
<string>&Message:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="buddy">
<cstring>mEmailText</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<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>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KPIM::AddresseeLineEdit</class>
<extends>KLineEdit</extends>
<header>libkdepim/addressline/addresslineedit/addresseelineedit.h</header>
</customwidget>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KTextEdit</class>
<extends>QTextEdit</extends>
<header>ktextedit.h</header>
</customwidget>
<customwidget>
<class>KUrlRequester</class>
<extends>QFrame</extends>
<header>kurlrequester.h</header>
</customwidget>
</customwidgets>
<includes>
<include location="global">libkdepim/addressline/addresslineedit/addresseelineedit.h</include>
</includes>
<resources/>
<connections>
<connection>
<sender>mTypeCombo</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>mTypeStack</receiver>
<slot>setCurrentIndex(int)</slot>
<hints>
<hint type="sourcelabel">
<x>147</x>
<y>83</y>
</hint>
<hint type="destinationlabel">
<x>216</x>
<y>97</y>
</hint>
</hints>
</connection>
<connection>
<sender>mRepeats</sender>
<signal>clicked(bool)</signal>
<receiver>mRepeatCount</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>67</x>
<y>49</y>
</hint>
<hint type="destinationlabel">
<x>118</x>
<y>50</y>
</hint>
</hints>
</connection>
<connection>
<sender>mRepeats</sender>
<signal>toggled(bool)</signal>
<receiver>mRepeatInterval</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>69</x>
<y>42</y>
</hint>
<hint type="destinationlabel">
<x>284</x>
<y>48</y>
</hint>
</hints>
</connection>
</connections>
</ui>