-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathfrmmain_full.lfm
878 lines (878 loc) · 25.5 KB
/
frmmain_full.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
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
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
object Mainform: TMainform
Left = 256
Height = 696
Top = 195
Width = 1147
Caption = 'Google OAuth 2.0 testapp'
ClientHeight = 696
ClientWidth = 1147
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
Position = poScreenCenter
LCLVersion = '2.3.0.0'
object PageControl6: TPageControl
Left = 0
Height = 696
Top = 0
Width = 1147
ActivePage = TabSheet14
Align = alClient
TabIndex = 0
TabOrder = 0
object TabSheet14: TTabSheet
Caption = 'Google Access'
ClientHeight = 668
ClientWidth = 1139
object Panel1: TPanel
Left = 0
Height = 270
Top = 0
Width = 1139
Align = alTop
ClientHeight = 270
ClientWidth = 1139
TabOrder = 0
object btGetAccess: TButton
Left = 136
Height = 25
Top = 16
Width = 120
Caption = 'Get access'
OnClick = btGetAccessClick
TabOrder = 0
end
object Memo1: TMemo
Left = 11
Height = 111
Top = 148
Width = 1117
Align = alBottom
BorderSpacing.Around = 10
ScrollBars = ssAutoVertical
TabOrder = 1
end
object btRemoveTokens: TButton
Left = 272
Height = 25
Top = 16
Width = 147
Caption = 'Remove tokens.dat'
OnClick = btRemoveTokensClick
TabOrder = 2
end
object btClearLog: TButton
Left = 24
Height = 25
Top = 16
Width = 99
Caption = 'Clear debug'
OnClick = btClearLogClick
TabOrder = 3
end
object CheckGroup1: TCheckGroup
Left = 24
Height = 96
Top = 48
Width = 1095
Anchors = [akTop, akLeft, akRight]
AutoFill = True
Caption = 'Access (scope)'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclTopToBottomThenLeftToRight
ChildSizing.ControlsPerLine = 2
ClientHeight = 76
ClientWidth = 1091
ColumnLayout = clVerticalThenHorizontal
Columns = 3
Items.Strings = (
'profile (info only)'
'email (info only)'
'Access to Mail'
'Access to Contacts'
'Access to Calendar'
'Access to Drive'
)
TabOrder = 4
Data = {
06000000020202020202
}
end
end
object PageControl1: TPageControl
Left = 0
Height = 398
Top = 270
Width = 1139
ActivePage = TabSheet9
Align = alClient
TabIndex = 1
TabOrder = 1
object TabSheet1: TTabSheet
Caption = 'GMail'
ClientHeight = 370
ClientWidth = 1131
object PageControl2: TPageControl
Left = 10
Height = 350
Top = 10
Width = 1111
ActivePage = TabSheet4
Align = alClient
BorderSpacing.Around = 10
TabIndex = 0
TabOrder = 0
object TabSheet4: TTabSheet
Caption = 'New mail'
ClientHeight = 322
ClientWidth = 1103
object Label1: TLabel
Left = 144
Height = 23
Top = 16
Width = 55
Alignment = taRightJustify
AutoSize = False
Caption = 'From'
Font.Height = -16
Layout = tlCenter
ParentColor = False
ParentFont = False
end
object edSender: TEdit
Left = 216
Height = 23
Top = 16
Width = 877
Anchors = [akTop, akLeft, akRight]
Enabled = False
TabOrder = 0
Text = '(will be filled in automatically during send or GetAccess)'
end
object Label2: TLabel
Left = 144
Height = 23
Top = 48
Width = 56
Alignment = taRightJustify
AutoSize = False
Caption = 'To'
Font.Height = -16
Layout = tlCenter
ParentColor = False
ParentFont = False
end
object edRecipient: TEdit
Left = 216
Height = 23
Top = 48
Width = 877
Anchors = [akTop, akLeft, akRight]
TabOrder = 1
Text = 'recipient@valid_domain.com'
end
object Label3: TLabel
Left = 144
Height = 23
Top = 80
Width = 55
Alignment = taRightJustify
AutoSize = False
Caption = 'Subject'
Font.Height = -16
Layout = tlCenter
ParentColor = False
ParentFont = False
end
object edSubject: TEdit
Left = 216
Height = 23
Top = 80
Width = 877
Anchors = [akTop, akLeft, akRight]
TabOrder = 2
Text = 'Subject'
end
object edBody: TMemo
Left = 10
Height = 199
Top = 113
Width = 1083
Align = alBottom
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Around = 10
Lines.Strings = (
'This is the body of the mail'
)
TabOrder = 3
end
object btSendMail: TButton
Left = 10
Height = 88
Top = 15
Width = 118
Caption = 'Send mail'
OnClick = btSendMailClick
TabOrder = 4
end
end
object TabSheet5: TTabSheet
Caption = 'Inbox'
end
end
end
object TabSheet9: TTabSheet
Caption = 'Contacts'
ClientHeight = 370
ClientWidth = 1131
object PageControl4: TPageControl
Left = 10
Height = 350
Top = 10
Width = 1111
ActivePage = TabSheet11
Align = alClient
BorderSpacing.Around = 10
TabIndex = 1
TabOrder = 0
object TabSheet10: TTabSheet
Caption = 'New contact'
ClientHeight = 322
ClientWidth = 1103
object Button8: TButton
Left = 10
Height = 88
Top = 16
Width = 118
Caption = 'not impl. yet'
TabOrder = 0
end
end
object TabSheet11: TTabSheet
Caption = 'Contacts'
ClientHeight = 322
ClientWidth = 1103
object btGetContacts: TButton
Left = 8
Height = 25
Top = 8
Width = 168
Caption = 'Get all contacts'
OnClick = btGetContactsClick
TabOrder = 0
end
object StringGrid2: TStringGrid
Left = 10
Height = 264
Top = 48
Width = 1083
Align = alBottom
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Around = 10
TabOrder = 1
end
end
end
end
object TabSheet2: TTabSheet
Caption = 'Calendar'
ClientHeight = 370
ClientWidth = 1131
object PageControl3: TPageControl
Left = 10
Height = 350
Top = 10
Width = 1111
ActivePage = TabSheet6
Align = alClient
BorderSpacing.Around = 10
TabIndex = 0
TabOrder = 0
object TabSheet6: TTabSheet
Caption = 'New appointment'
ClientHeight = 322
ClientWidth = 1103
object Button5: TButton
Left = 10
Height = 88
Top = 16
Width = 118
Caption = 'Add event'
OnClick = Button5Click
TabOrder = 0
end
object edTitle: TEdit
Left = 248
Height = 23
Top = 16
Width = 260
TabOrder = 1
Text = 'edTitle'
end
object edDescription: TEdit
Left = 248
Height = 23
Top = 46
Width = 260
TabOrder = 2
Text = 'edDescription'
end
object edStart: TDateEdit
Left = 248
Height = 23
Top = 110
Width = 260
CalendarDisplaySettings = [dsShowHeadings, dsShowDayNames]
DateOrder = doNone
ButtonWidth = 23
NumGlyphs = 1
MaxLength = 0
TabOrder = 4
Text = 'edStart'
end
object edEnd: TDateEdit
Left = 248
Height = 23
Top = 142
Width = 260
CalendarDisplaySettings = [dsShowHeadings, dsShowDayNames]
DateOrder = doNone
ButtonWidth = 23
NumGlyphs = 1
MaxLength = 0
TabOrder = 5
Text = 'edEnd'
end
object edLocation: TEdit
Left = 248
Height = 23
Top = 74
Width = 260
TabOrder = 3
Text = 'edLocation'
end
object Summary: TLabel
Left = 175
Height = 15
Top = 21
Width = 51
Caption = 'Summary'
ParentColor = False
end
object Summary1: TLabel
Left = 176
Height = 15
Top = 48
Width = 60
Caption = 'Description'
ParentColor = False
end
object Summary2: TLabel
Left = 175
Height = 15
Top = 80
Width = 46
Caption = 'Location'
ParentColor = False
end
object Summary3: TLabel
Left = 180
Height = 15
Top = 112
Width = 24
Caption = 'Start'
ParentColor = False
end
object Summary4: TLabel
Left = 184
Height = 15
Top = 144
Width = 20
Caption = 'End'
ParentColor = False
end
end
object TabSheet7: TTabSheet
Caption = 'Calendar'
ClientHeight = 322
ClientWidth = 1103
object btGetAppointments: TButton
Left = 8
Height = 25
Top = 8
Width = 168
Caption = 'Get all appointments'
OnClick = btGetAppointmentsClick
TabOrder = 0
end
object StringGrid1: TStringGrid
Left = 10
Height = 264
Top = 48
Width = 1083
Align = alBottom
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Around = 10
TabOrder = 1
OnDblClick = StringGrid1DblClick
end
object Edit1: TEdit
Left = 665
Height = 23
Top = 8
Width = 428
Anchors = [akTop, akRight]
Enabled = False
TabOrder = 2
Text = 'Edit1'
end
object Label4: TLabel
Left = 633
Height = 15
Top = 12
Width = 26
Anchors = [akTop, akRight]
Caption = 'Filter'
ParentColor = False
end
end
end
end
object TabSheet3: TTabSheet
Caption = 'Drive'
ClientHeight = 370
ClientWidth = 1131
object PageControl5: TPageControl
Left = 0
Height = 323
Top = 0
Width = 1128
ActivePage = TabSheet13
Align = alCustom
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Around = 10
TabIndex = 1
TabOrder = 0
object TabSheet12: TTabSheet
Caption = 'Upload'
ClientHeight = 295
ClientWidth = 1120
OnShow = TabSheet12Show
object btnSimpleUpload: TButton
Left = 8
Height = 25
Top = 8
Width = 134
Caption = 'btnSimpleUpload'
Enabled = False
OnClick = btnSimpleUploadClick
TabOrder = 0
end
object btnUploadWithResume: TButton
Left = 152
Height = 25
Top = 8
Width = 134
Caption = 'btnUploadWithResume'
OnClick = btnUploadWithResumeClick
TabOrder = 1
end
object Edit3: TEdit
Left = 448
Height = 23
Top = 10
Width = 659
Anchors = [akTop, akLeft, akRight]
TabOrder = 2
end
object Label6: TLabel
Left = 376
Height = 15
Top = 10
Width = 60
Caption = 'Description'
ParentColor = False
end
object ListBox1: TListBox
Left = 8
Height = 244
Top = 48
Width = 1099
Anchors = [akTop, akLeft, akRight, akBottom]
ItemHeight = 0
TabOrder = 3
end
end
object TabSheet13: TTabSheet
Caption = 'Files in Drive'
ClientHeight = 295
ClientWidth = 1120
object btGetFileList: TButton
Left = 8
Height = 25
Top = 8
Width = 168
Caption = 'Get all Filelist'
OnClick = btGetFileListClick
TabOrder = 0
end
object StringGrid3: TStringGrid
Left = 10
Height = 237
Top = 48
Width = 1100
Align = alBottom
Anchors = [akTop, akLeft, akRight, akBottom]
AutoFillColumns = True
BorderSpacing.Around = 10
TabOrder = 1
OnDblClick = StringGrid1DblClick
OnKeyDown = StringGrid3KeyDown
ColWidths = (
64
254
254
254
253
)
end
object Edit2: TEdit
Left = 682
Height = 23
Top = 8
Width = 428
Anchors = [akTop, akRight]
Enabled = False
TabOrder = 2
Text = 'Edit1'
end
object Label5: TLabel
Left = 650
Height = 15
Top = 12
Width = 26
Anchors = [akTop, akRight]
Caption = 'Filter'
ParentColor = False
end
object ckHideFolders: TCheckBox
Left = 192
Height = 19
Top = 8
Width = 84
Caption = 'Hide Folders'
OnClick = ckHideFoldersClick
TabOrder = 3
end
object Button2: TButton
Left = 320
Height = 25
Top = 8
Width = 67
Caption = 'List 2'
Enabled = False
OnClick = Button2Click
TabOrder = 4
end
end
object TabSheet16: TTabSheet
Caption = 'Revisions in File'
ClientHeight = 295
ClientWidth = 1120
object StringGrid4: TStringGrid
Left = 10
Height = 237
Top = 48
Width = 1100
Align = alBottom
Anchors = [akTop, akLeft, akRight, akBottom]
AutoFillColumns = True
BorderSpacing.Around = 10
TabOrder = 0
OnDblClick = StringGrid4DblClick
OnKeyDown = StringGrid3KeyDown
ColWidths = (
64
254
254
254
253
)
end
object Button3: TButton
Left = 8
Height = 25
Top = 10
Width = 179
Caption = 'Delete selected'
OnClick = Button3Click
TabOrder = 1
end
object Button4: TButton
Left = 201
Height = 25
Top = 10
Width = 163
Caption = 'Upload a revision'
OnClick = Button4Click
TabOrder = 2
end
end
end
object ProgressBar1: TProgressBar
Left = 24
Height = 20
Top = 340
Width = 1082
Anchors = [akLeft, akRight, akBottom]
TabOrder = 1
end
end
object TabSheet8: TTabSheet
Caption = 'Debug'
ClientHeight = 370
ClientWidth = 1131
object Memo2: TMemo
Left = 10
Height = 315
Top = 45
Width = 1111
Align = alClient
BorderSpacing.Around = 10
Lines.Strings = (
'Memo2'
)
ScrollBars = ssAutoVertical
TabOrder = 0
end
object btClearDebug: TButton
Left = 10
Height = 25
Top = 10
Width = 1111
Align = alTop
BorderSpacing.Around = 10
Caption = 'Clear debugscreen'
OnClick = btClearDebugClick
TabOrder = 1
end
end
end
end
object TabSheet15: TTabSheet
Caption = 'Google Drive'
ClientHeight = 668
ClientWidth = 1139
object TreeView1: TTreeView
Left = 0
Height = 577
Top = 48
Width = 209
Align = alLeft
RowSelect = True
TabOrder = 0
OnClick = TreeView1Click
OnSelectionChanged = TreeView1SelectionChanged
Options = [tvoAutoItemHeight, tvoHideSelection, tvoKeepCollapsedNodes, tvoRowSelect, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips, tvoThemedDraw]
end
object Panel2: TPanel
Left = 0
Height = 48
Top = 0
Width = 1139
Align = alTop
Caption = 'Panel2'
ClientHeight = 48
ClientWidth = 1139
TabOrder = 1
object Button1: TButton
Left = 8
Height = 25
Top = 8
Width = 75
Caption = 'Connect'
OnClick = Button1Click
TabOrder = 0
end
object Edit4: TEdit
Left = 890
Height = 23
Top = 10
Width = 236
Anchors = [akTop, akRight]
Enabled = False
TabOrder = 1
Text = 'Edit1'
end
object Label7: TLabel
Left = 858
Height = 15
Top = 14
Width = 26
Anchors = [akTop, akRight]
Caption = 'Filter'
ParentColor = False
end
object listmthd: TCheckBox
Left = 112
Height = 19
Top = 13
Width = 87
Caption = 'list method 2'
Checked = True
State = cbChecked
TabOrder = 2
end
object Button6: TButton
Left = 239
Height = 25
Top = 8
Width = 115
Caption = 'Pause / Cancel'
OnClick = Button6Click
TabOrder = 3
end
end
object StatusBar1: TStatusBar
Left = 0
Height = 23
Top = 645
Width = 1139
Panels = <>
end
object Splitter1: TSplitter
Left = 209
Height = 577
Top = 48
Width = 15
end
object ProgressBar2: TProgressBar
Left = 0
Height = 20
Top = 625
Width = 1139
Align = alBottom
TabOrder = 4
end
object Panel3: TPanel
Left = 224
Height = 577
Top = 48
Width = 915
Align = alClient
Caption = 'Loading ... please wait'
ClientHeight = 577
ClientWidth = 915
TabOrder = 5
object ListView1: TListView
Left = 0
Height = 431
Top = 8
Width = 914
Align = alCustom
Anchors = [akTop, akLeft, akRight, akBottom]
Columns = <
item
Caption = 'Name'
Width = 400
end
item
AutoSize = True
Caption = 'Date modified'
Width = 90
end
item
AutoSize = True
Caption = 'Type'
Width = 40
end
item
AutoSize = True
Caption = 'Size'
Width = 35
end
item
AutoSize = True
Caption = 'Original filename'
Width = 106
end>
MultiSelect = True
PopupMenu = PopupMenu1
ReadOnly = True
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
OnClick = ListView1Click
OnDblClick = ListView1DblClick
end
object ListView2: TListView
Left = 1
Height = 137
Top = 439
Width = 913
Align = alBottom
Columns = <
item
AutoSize = True
Caption = 'Revision'
Width = 59
end
item
AutoSize = True
Caption = 'Date modified'
Width = 90
end
item
AutoSize = True
Caption = 'Original filename'
Width = 106
end
item
AutoSize = True
Caption = 'Mimetype'
Width = 69
end>
MultiSelect = True
ReadOnly = True
RowSelect = True
TabOrder = 1
ViewStyle = vsReport
OnDblClick = ListView2DblClick
end
end
end
end
object ImageList1: TImageList
Left = 365
Top = 205
end
object PopupMenu1: TPopupMenu
Left = 278
Top = 40
object MenuItem1: TMenuItem
Caption = 'Download File'
OnClick = MenuItem1Click
end
object exportmenu: TMenuItem
Tag = 1
Caption = 'Export'
object MenuItem3: TMenuItem
Tag = 2
Caption = 'export'
end
end
object MenuItem4: TMenuItem
Caption = 'Delete File'
OnClick = MenuItem4Click
end
object MenuItem2: TMenuItem
Caption = '(test) show parent'
OnClick = MenuItem2Click
end
end
end