-
Notifications
You must be signed in to change notification settings - Fork 1
/
clocksettings.lfm
executable file
·396 lines (396 loc) · 8.94 KB
/
clocksettings.lfm
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
object frmClockSettings: TfrmClockSettings
Left = 511
Height = 240
Top = 198
Width = 320
BorderStyle = bsNone
Caption = 'Settings'
ClientHeight = 240
ClientWidth = 320
KeyPreview = True
OnCreate = FormCreate
OnKeyDown = FormKeyDown
OnKeyPress = FormKeyPress
Position = poMainFormCenter
SessionProperties = 'cbxEnableReminders.Checked;cbxFri.Checked;cbxGetReminders.Checked;cbxMon.Checked;cbxPlayMusic.Checked;cbxSat.Checked;cbxSilentAlarm.Checked;cbxSun.Checked;cbxThu.Checked;cbxTue.Checked;cbxWed.Checked;edtHour.Value;edtLocation1.Text;edtLocation2.Text;edtLocation3.Text;edtLocation.Text;edtMinute.Value;edtMusicPath.Text;edtRemHour.Value;edtRemMinute.Value;edtSleepPath.Text;edtMeditationPath.Text'
LCLVersion = '1.0.4.0'
object PageControl1: TPageControl
Left = 8
Height = 216
Top = 8
Width = 304
ActivePage = TabSheet2
ParentFont = False
TabIndex = 0
TabOrder = 0
Options = [nboKeyboardTabSwitch]
object TabSheet2: TTabSheet
Caption = 'Timer'
ClientHeight = 185
ClientWidth = 300
object stxtTimer: TStaticText
Left = 14
Height = 71
Top = 12
Width = 88
Alignment = taCenter
Caption = '10'
Font.Height = -43
ParentFont = False
TabOrder = 0
end
object udTimer: TUpDown
Left = 102
Height = 71
Top = 12
Width = 160
Associate = stxtTimer
Min = 0
Max = 180
Position = 10
TabOrder = 1
Wrap = False
end
object btnStartTimer: TButton
Left = 6
Height = 86
Top = 91
Width = 288
Caption = 'Start Timer'
Font.Height = -26
OnClick = btnStartTimerClick
ParentFont = False
TabOrder = 2
end
end
object TabSheet1: TTabSheet
Caption = 'Alarm'
ClientHeight = 185
ClientWidth = 300
object Label2: TLabel
Left = 46
Height = 18
Top = 27
Width = 78
Caption = 'Alarm Time'
ParentColor = False
end
object edtHour: TSpinEdit
Left = 134
Height = 27
Top = 27
Width = 50
MaxValue = 23
ParentFont = False
TabOrder = 0
Value = 12
end
object edtMinute: TSpinEdit
Left = 198
Height = 27
Top = 27
Width = 50
MaxValue = 59
ParentFont = False
TabOrder = 1
Value = 22
end
object Label3: TLabel
Left = 14
Height = 18
Top = 91
Width = 33
Caption = 'Days'
ParentColor = False
end
object cbxMon: TCheckBox
Left = 62
Height = 24
Top = 91
Width = 39
Caption = 'M'
TabOrder = 2
end
object cbxTue: TCheckBox
Left = 102
Height = 24
Top = 91
Width = 34
Caption = 'T'
TabOrder = 3
end
object cbxWed: TCheckBox
Left = 145
Height = 24
Top = 91
Width = 40
Caption = 'W'
TabOrder = 4
end
object cbxThu: TCheckBox
Left = 190
Height = 24
Top = 91
Width = 34
Caption = 'T'
TabOrder = 5
end
object cbxFri: TCheckBox
Left = 230
Height = 24
Top = 91
Width = 34
Caption = 'F'
TabOrder = 6
end
object cbxSun: TCheckBox
Left = 190
Height = 24
Top = 115
Width = 74
Caption = 'Sunday'
TabOrder = 8
end
object cbxSat: TCheckBox
Left = 62
Height = 24
Top = 115
Width = 86
Caption = 'Saturday'
TabOrder = 7
end
object cbxSilentAlarm: TCheckBox
Left = 14
Height = 24
Top = 147
Width = 191
Caption = 'Play Music (Silent Alarm)'
TabOrder = 9
end
end
object TabSheet4: TTabSheet
Caption = 'Reminders'
ClientHeight = 185
ClientWidth = 300
object Label5: TLabel
Left = 22
Height = 18
Top = 27
Width = 102
Caption = 'Reminder Time'
ParentColor = False
end
object edtRemHour: TSpinEdit
Left = 134
Height = 27
Top = 27
Width = 50
MaxValue = 23
ParentFont = False
TabOrder = 0
Value = 12
end
object edtRemMinute: TSpinEdit
Left = 198
Height = 27
Top = 27
Width = 50
MaxValue = 59
ParentFont = False
TabOrder = 1
Value = 22
end
object cbxEnableReminders: TCheckBox
Left = 22
Height = 24
Top = 75
Width = 143
Caption = 'Enable reminders'
Checked = True
State = cbChecked
TabOrder = 2
end
object cbxGetReminders: TCheckBox
Left = 22
Height = 24
Top = 107
Width = 217
Caption = 'Fetch reminders from server'
TabOrder = 3
end
end
object TabSheet5: TTabSheet
Caption = 'Music'
ClientHeight = 185
ClientWidth = 300
object edtMusicPath: TEdit
Left = 110
Height = 27
Top = 27
Width = 184
TabOrder = 0
Text = '/home/user/Music'
end
object Label9: TLabel
Left = 6
Height = 26
Top = 27
Width = 96
AutoSize = False
Caption = 'Music Path:'
ParentColor = False
WordWrap = True
end
object edtSleepPath: TEdit
Left = 110
Height = 27
Top = 67
Width = 184
TabOrder = 1
Text = '/home/user/Sleep'
end
object Label10: TLabel
Left = 6
Height = 24
Top = 67
Width = 96
AutoSize = False
Caption = 'Sleep Path:'
ParentColor = False
WordWrap = True
end
object cbxPlayMusic: TCheckBox
Left = 110
Height = 24
Top = 155
Width = 175
Caption = 'Play music after alarm'
TabOrder = 3
end
object edtMeditationPath: TEdit
Left = 110
Height = 27
Top = 107
Width = 184
TabOrder = 2
Text = '/home/user/Meditation'
end
object Label11: TLabel
Left = 6
Height = 40
Top = 107
Width = 96
AutoSize = False
Caption = 'Meditation Path:'
ParentColor = False
WordWrap = True
end
end
object TabSheet3: TTabSheet
Caption = 'Weather'
ClientHeight = 185
ClientWidth = 300
object edtLocation: TEdit
Left = 110
Height = 27
Hint = 'Location code from metoffice.co.gov/mobile'
Top = 19
Width = 158
Font.Height = -13
Font.Name = 'Sans'
ParentFont = False
TabOrder = 0
Text = '350928'
end
object edtLocation1: TEdit
Left = 110
Height = 27
Hint = 'Location code from metoffice.co.gov/mobile'
Top = 51
Width = 158
Font.Height = -13
Font.Name = 'Sans'
ParentFont = False
TabOrder = 1
Text = '350928'
end
object edtLocation2: TEdit
Left = 110
Height = 27
Hint = 'Location code from metoffice.co.gov/mobile'
Top = 83
Width = 158
Font.Height = -13
Font.Name = 'Sans'
ParentFont = False
TabOrder = 2
Text = '350928'
end
object edtLocation3: TEdit
Left = 110
Height = 27
Hint = 'Location code from metoffice.co.gov/mobile'
Top = 115
Width = 158
Font.Height = -13
Font.Name = 'Sans'
ParentFont = False
TabOrder = 3
Text = '350928'
end
object Label4: TLabel
Left = 22
Height = 16
Top = 155
Width = 246
Caption = 'Location code from metoffice.gov.uk/mobile'
Font.Height = -12
ParentColor = False
ParentFont = False
end
object Label1: TLabel
Left = 14
Height = 18
Top = 19
Width = 71
Caption = 'Location 1'
ParentColor = False
end
object Label6: TLabel
Left = 14
Height = 18
Top = 51
Width = 71
Caption = 'Location 2'
ParentColor = False
end
object Label7: TLabel
Left = 14
Height = 18
Top = 83
Width = 71
Caption = 'Location 3'
ParentColor = False
end
object Label8: TLabel
Left = 14
Height = 18
Top = 115
Width = 71
Caption = 'Location 4'
ParentColor = False
end
end
end
object XMLPropStorage1: TXMLPropStorage
StoredValues = <>
left = 208
top = 187
end
object tmrSettings: TTimer
Interval = 200
OnTimer = tmrSettingsTimer
left = 240
top = 187
end
end