-
Notifications
You must be signed in to change notification settings - Fork 1
/
Logm.py
1136 lines (1128 loc) · 58.6 KB
/
Logm.py
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
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'log.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import QDate
import sqlite3
conn=sqlite3.connect('VSQ-Logger.db')
c = conn.cursor()
c.execute("select * from Logs")
results = c.fetchall()
QSOCounts = len(results)
'''print(QSOCounts)'''
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(1370, 769)
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
self.buttonBox.setGeometry(QtCore.QRect(1080, 701, 231, 51))
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.label = QtWidgets.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(10, 10, 141, 41))
self.label.setObjectName("label")
self.QSO_DATE = QtWidgets.QDateEdit(Dialog)
self.QSO_DATE.setGeometry(QtCore.QRect(150, 11, 171, 41))
self.QSO_DATE.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.QSO_DATE.setObjectName("QSO_DATE")
self.QSO_DATE.setDate(QDate.currentDate())
self.QSO_DATE.setCalendarPopup(True)
self.label_2 = QtWidgets.QLabel(Dialog)
self.label_2.setGeometry(QtCore.QRect(330, 10, 141, 41))
self.label_2.setObjectName("label_2")
self.QSO_DATE_OFF = QtWidgets.QDateEdit(Dialog)
self.QSO_DATE_OFF.setGeometry(QtCore.QRect(150, 61, 171, 41))
self.QSO_DATE_OFF.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.QSO_DATE_OFF.setObjectName("QSO_DATE_OFF")
self.QSO_DATE_OFF.setDate(QDate.currentDate())
self.QSO_DATE_OFF.setCalendarPopup(True)
self.label_3 = QtWidgets.QLabel(Dialog)
self.label_3.setGeometry(QtCore.QRect(10, 60, 141, 41))
self.label_3.setObjectName("label_3")
self.label_4 = QtWidgets.QLabel(Dialog)
self.label_4.setGeometry(QtCore.QRect(330, 60, 141, 41))
self.label_4.setObjectName("label_4")
self.TIME_OFF = QtWidgets.QTimeEdit(Dialog)
self.TIME_OFF.setGeometry(QtCore.QRect(470, 60, 171, 41))
self.TIME_OFF.setObjectName("TIME_OFF")
self.TIME_ON = QtWidgets.QTimeEdit(Dialog)
self.TIME_ON.setGeometry(QtCore.QRect(470, 10, 171, 41))
self.TIME_ON.setObjectName("TIME_ON")
self.CALL = QtWidgets.QTextEdit(Dialog)
self.CALL.setGeometry(QtCore.QRect(190, 110, 171, 41))
self.CALL.setObjectName("CALL")
self.station_callsign = QtWidgets.QTextEdit(Dialog)
self.station_callsign.setGeometry(QtCore.QRect(550, 110, 171, 41))
self.station_callsign.setObjectName("station_callsign")
self.label_5 = QtWidgets.QLabel(Dialog)
self.label_5.setGeometry(QtCore.QRect(370, 110, 181, 41))
self.label_5.setObjectName("label_5")
self.label_6 = QtWidgets.QLabel(Dialog)
self.label_6.setGeometry(QtCore.QRect(10, 110, 181, 41))
self.label_6.setObjectName("label_6")
self.RST_SENT = QtWidgets.QTextEdit(Dialog)
self.RST_SENT.setGeometry(QtCore.QRect(550, 160, 171, 41))
self.RST_SENT.setObjectName("RST_SENT")
self.RST_RCVD = QtWidgets.QTextEdit(Dialog)
self.RST_RCVD.setGeometry(QtCore.QRect(190, 160, 171, 41))
self.RST_RCVD.setObjectName("RST_RCVD")
self.label_7 = QtWidgets.QLabel(Dialog)
self.label_7.setGeometry(QtCore.QRect(10, 160, 181, 41))
self.label_7.setObjectName("label_7")
self.label_8 = QtWidgets.QLabel(Dialog)
self.label_8.setGeometry(QtCore.QRect(370, 160, 181, 41))
self.label_8.setObjectName("label_8")
self.label_9 = QtWidgets.QLabel(Dialog)
self.label_9.setGeometry(QtCore.QRect(10, 220, 111, 41))
self.label_9.setObjectName("label_9")
self.FREQ = QtWidgets.QTextEdit(Dialog)
self.FREQ.setGeometry(QtCore.QRect(120, 220, 171, 41))
self.FREQ.setObjectName("FREQ")
self.label_11 = QtWidgets.QLabel(Dialog)
self.label_11.setGeometry(QtCore.QRect(300, 220, 61, 41))
self.label_11.setObjectName("label_11")
self.label_14 = QtWidgets.QLabel(Dialog)
self.label_14.setGeometry(QtCore.QRect(360, 220, 111, 41))
self.label_14.setObjectName("label_14")
self.label_15 = QtWidgets.QLabel(Dialog)
self.label_15.setGeometry(QtCore.QRect(360, 270, 111, 41))
self.label_15.setObjectName("label_15")
self.label_10 = QtWidgets.QLabel(Dialog)
self.label_10.setGeometry(QtCore.QRect(10, 270, 111, 41))
self.label_10.setObjectName("label_10")
self.FREQ_RX = QtWidgets.QTextEdit(Dialog)
self.FREQ_RX.setGeometry(QtCore.QRect(120, 270, 171, 41))
self.FREQ_RX.setObjectName("FREQ_RX")
self.label_12 = QtWidgets.QLabel(Dialog)
self.label_12.setGeometry(QtCore.QRect(300, 270, 61, 41))
self.label_12.setObjectName("label_12")
self.BAND = QtWidgets.QComboBox(Dialog)
self.BAND.setGeometry(QtCore.QRect(470, 220, 421, 41))
self.BAND.setObjectName("BAND")
self.BAND.addItem("")
self.BAND.setItemText(0, "")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND.addItem("")
self.BAND_RX = QtWidgets.QComboBox(Dialog)
self.BAND_RX.setGeometry(QtCore.QRect(470, 270, 421, 41))
self.BAND_RX.setObjectName("BAND_RX")
self.BAND_RX.addItem("")
self.BAND_RX.setItemText(0, "")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.BAND_RX.addItem("")
self.RX_PWR = QtWidgets.QTextEdit(Dialog)
self.RX_PWR.setGeometry(QtCore.QRect(430, 330, 171, 41))
self.RX_PWR.setObjectName("RX_PWR")
self.TX_PWR = QtWidgets.QTextEdit(Dialog)
self.TX_PWR.setGeometry(QtCore.QRect(130, 330, 171, 41))
self.TX_PWR.setObjectName("TX_PWR")
self.label_13 = QtWidgets.QLabel(Dialog)
self.label_13.setGeometry(QtCore.QRect(10, 330, 121, 41))
self.label_13.setObjectName("label_13")
self.label_16 = QtWidgets.QLabel(Dialog)
self.label_16.setGeometry(QtCore.QRect(310, 330, 121, 41))
self.label_16.setObjectName("label_16")
self.GRIDSQUARE = QtWidgets.QTextEdit(Dialog)
self.GRIDSQUARE.setGeometry(QtCore.QRect(430, 380, 171, 41))
self.GRIDSQUARE.setObjectName("GRIDSQUARE")
self.label_17 = QtWidgets.QLabel(Dialog)
self.label_17.setGeometry(QtCore.QRect(310, 380, 121, 41))
self.label_17.setObjectName("label_17")
self.QTH = QtWidgets.QTextEdit(Dialog)
self.QTH.setGeometry(QtCore.QRect(130, 380, 171, 41))
self.QTH.setObjectName("QTH")
self.label_18 = QtWidgets.QLabel(Dialog)
self.label_18.setGeometry(QtCore.QRect(10, 380, 121, 41))
self.label_18.setObjectName("label_18")
self.DISTANCE = QtWidgets.QTextEdit(Dialog)
self.DISTANCE.setGeometry(QtCore.QRect(670, 380, 171, 41))
self.DISTANCE.setObjectName("DISTANCE")
self.label_19 = QtWidgets.QLabel(Dialog)
self.label_19.setGeometry(QtCore.QRect(610, 380, 61, 41))
self.label_19.setObjectName("label_19")
self.label_20 = QtWidgets.QLabel(Dialog)
self.label_20.setGeometry(QtCore.QRect(850, 380, 71, 41))
self.label_20.setObjectName("label_20")
self.CONTEST_ID = QtWidgets.QTextEdit(Dialog)
self.CONTEST_ID.setGeometry(QtCore.QRect(670, 330, 171, 41))
self.CONTEST_ID.setObjectName("CONTEST_ID")
self.label_21 = QtWidgets.QLabel(Dialog)
self.label_21.setGeometry(QtCore.QRect(610, 330, 61, 41))
self.label_21.setObjectName("label_21")
self.label_22 = QtWidgets.QLabel(Dialog)
self.label_22.setGeometry(QtCore.QRect(910, 380, 101, 41))
self.label_22.setObjectName("label_22")
self.QSL_VIA = QtWidgets.QComboBox(Dialog)
self.QSL_VIA.setGeometry(QtCore.QRect(1010, 380, 171, 41))
self.QSL_VIA.setObjectName("QSL_VIA")
self.QSL_VIA.addItem("")
self.QSL_VIA.setItemText(0, "")
self.QSL_VIA.addItem("")
self.QSL_VIA.addItem("")
self.QSL_VIA.addItem("")
self.QSL_VIA.addItem("")
self.QSLRDATE = QtWidgets.QDateEdit(Dialog)
self.QSLRDATE.setGeometry(QtCore.QRect(160, 440, 171, 41))
self.QSLRDATE.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.QSLRDATE.setObjectName("QSLRDATE")
self.QSLRDATE.setDate(QDate.currentDate())
self.QSLRDATE.setCalendarPopup(True)
self.label_23 = QtWidgets.QLabel(Dialog)
self.label_23.setGeometry(QtCore.QRect(10, 439, 151, 41))
self.label_23.setObjectName("label_23")
self.label_24 = QtWidgets.QLabel(Dialog)
self.label_24.setGeometry(QtCore.QRect(10, 489, 151, 41))
self.label_24.setObjectName("label_24")
self.eQSLRDATE = QtWidgets.QDateEdit(Dialog)
self.eQSLRDATE.setGeometry(QtCore.QRect(160, 490, 171, 41))
self.eQSLRDATE.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.eQSLRDATE.setObjectName("eQSLRDATE")
self.eQSLRDATE.setDate(QDate.currentDate())
self.eQSLRDATE.setCalendarPopup(True)
self.QSLSDATE = QtWidgets.QDateEdit(Dialog)
self.QSLSDATE.setGeometry(QtCore.QRect(500, 441, 171, 41))
self.QSLSDATE.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.QSLSDATE.setObjectName("QSLSDATE")
self.QSLSDATE.setDate(QDate.currentDate())
self.QSLSDATE.setCalendarPopup(True)
self.eQSLSDATE = QtWidgets.QDateEdit(Dialog)
self.eQSLSDATE.setGeometry(QtCore.QRect(500, 491, 171, 41))
self.eQSLSDATE.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.eQSLSDATE.setObjectName("eQSLSDATE")
self.eQSLSDATE.setDate(QDate.currentDate())
self.eQSLSDATE.setCalendarPopup(True)
self.label_25 = QtWidgets.QLabel(Dialog)
self.label_25.setGeometry(QtCore.QRect(340, 440, 151, 41))
self.label_25.setObjectName("label_25")
self.label_26 = QtWidgets.QLabel(Dialog)
self.label_26.setGeometry(QtCore.QRect(340, 490, 151, 41))
self.label_26.setObjectName("label_26")
self.LotwRDATE = QtWidgets.QDateEdit(Dialog)
self.LotwRDATE.setGeometry(QtCore.QRect(160, 541, 171, 41))
self.LotwRDATE.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.LotwRDATE.setObjectName("LotwRDATE")
self.LotwRDATE.setDate(QDate.currentDate())
self.LotwRDATE.setCalendarPopup(True)
self.label_27 = QtWidgets.QLabel(Dialog)
self.label_27.setGeometry(QtCore.QRect(340, 541, 151, 41))
self.label_27.setObjectName("label_27")
self.LotwSDATE = QtWidgets.QDateEdit(Dialog)
self.LotwSDATE.setGeometry(QtCore.QRect(500, 542, 171, 41))
self.LotwSDATE.setDateTime(QtCore.QDateTime(QtCore.QDate(0, 0, 0), QtCore.QTime(0, 0, 0)))
self.LotwSDATE.setObjectName("LotwSDATE")
self.LotwSDATE.setDate(QDate.currentDate())
self.LotwSDATE.setCalendarPopup(True)
self.label_28 = QtWidgets.QLabel(Dialog)
self.label_28.setGeometry(QtCore.QRect(10, 540, 151, 41))
self.label_28.setObjectName("label_28")
self.label_29 = QtWidgets.QLabel(Dialog)
self.label_29.setGeometry(QtCore.QRect(1020, 438, 151, 41))
self.label_29.setObjectName("label_29")
self.label_30 = QtWidgets.QLabel(Dialog)
self.label_30.setGeometry(QtCore.QRect(1020, 488, 151, 41))
self.label_30.setObjectName("label_30")
self.label_31 = QtWidgets.QLabel(Dialog)
self.label_31.setGeometry(QtCore.QRect(680, 437, 151, 41))
self.label_31.setObjectName("label_31")
self.label_32 = QtWidgets.QLabel(Dialog)
self.label_32.setGeometry(QtCore.QRect(680, 487, 151, 41))
self.label_32.setObjectName("label_32")
self.label_33 = QtWidgets.QLabel(Dialog)
self.label_33.setGeometry(QtCore.QRect(680, 538, 151, 41))
self.label_33.setObjectName("label_33")
self.label_34 = QtWidgets.QLabel(Dialog)
self.label_34.setGeometry(QtCore.QRect(1020, 539, 151, 41))
self.label_34.setObjectName("label_34")
self.QSL_RCVD = QtWidgets.QComboBox(Dialog)
self.QSL_RCVD.setGeometry(QtCore.QRect(840, 440, 171, 41))
self.QSL_RCVD.setObjectName("QSL_RCVD")
self.QSL_RCVD.addItem("")
self.QSL_RCVD.setItemText(0, "")
self.QSL_RCVD.addItem("")
self.QSL_RCVD.addItem("")
self.eQSL_QSL_RCVD = QtWidgets.QComboBox(Dialog)
self.eQSL_QSL_RCVD.setGeometry(QtCore.QRect(840, 490, 171, 41))
self.eQSL_QSL_RCVD.setObjectName("eQSL_QSL_RCVD")
self.eQSL_QSL_RCVD.addItem("")
self.eQSL_QSL_RCVD.setItemText(0, "")
self.eQSL_QSL_RCVD.addItem("")
self.eQSL_QSL_RCVD.addItem("")
self.Lotw_QSL_RCVD = QtWidgets.QComboBox(Dialog)
self.Lotw_QSL_RCVD.setGeometry(QtCore.QRect(840, 540, 171, 41))
self.Lotw_QSL_RCVD.setObjectName("Lotw_QSL_RCVD")
self.Lotw_QSL_RCVD.addItem("")
self.Lotw_QSL_RCVD.setItemText(0, "")
self.Lotw_QSL_RCVD.addItem("")
self.Lotw_QSL_RCVD.addItem("")
self.QSL_SENT = QtWidgets.QComboBox(Dialog)
self.QSL_SENT.setGeometry(QtCore.QRect(1180, 440, 171, 41))
self.QSL_SENT.setObjectName("QSL_SENT")
self.QSL_SENT.addItem("")
self.QSL_SENT.setItemText(0, "")
self.QSL_SENT.addItem("")
self.QSL_SENT.addItem("")
self.eQSL_QSL_SENT = QtWidgets.QComboBox(Dialog)
self.eQSL_QSL_SENT.setGeometry(QtCore.QRect(1180, 490, 171, 41))
self.eQSL_QSL_SENT.setObjectName("eQSL_QSL_SENT")
self.eQSL_QSL_SENT.addItem("")
self.eQSL_QSL_SENT.setItemText(0, "")
self.eQSL_QSL_SENT.addItem("")
self.eQSL_QSL_SENT.addItem("")
self.Lotw_QSL_SENT = QtWidgets.QComboBox(Dialog)
self.Lotw_QSL_SENT.setGeometry(QtCore.QRect(1180, 540, 171, 41))
self.Lotw_QSL_SENT.setObjectName("Lotw_QSL_SENT")
self.Lotw_QSL_SENT.addItem("")
self.Lotw_QSL_SENT.setItemText(0, "")
self.Lotw_QSL_SENT.addItem("")
self.Lotw_QSL_SENT.addItem("")
self.label_35 = QtWidgets.QLabel(Dialog)
self.label_35.setGeometry(QtCore.QRect(340, 660, 121, 41))
self.label_35.setObjectName("label_35")
self.SOTA_REF = QtWidgets.QTextEdit(Dialog)
self.SOTA_REF.setGeometry(QtCore.QRect(460, 660, 171, 41))
self.SOTA_REF.setObjectName("SOTA_REF")
self.CQZ = QtWidgets.QTextEdit(Dialog)
self.CQZ.setGeometry(QtCore.QRect(460, 610, 171, 41))
self.CQZ.setObjectName("CQZ")
self.POTA = QtWidgets.QTextEdit(Dialog)
self.POTA.setGeometry(QtCore.QRect(700, 660, 171, 41))
self.POTA.setObjectName("POTA")
self.label_36 = QtWidgets.QLabel(Dialog)
self.label_36.setGeometry(QtCore.QRect(40, 660, 121, 41))
self.label_36.setObjectName("label_36")
self.label_37 = QtWidgets.QLabel(Dialog)
self.label_37.setGeometry(QtCore.QRect(640, 660, 61, 41))
self.label_37.setObjectName("label_37")
self.label_38 = QtWidgets.QLabel(Dialog)
self.label_38.setGeometry(QtCore.QRect(340, 610, 121, 41))
self.label_38.setObjectName("label_38")
self.label_39 = QtWidgets.QLabel(Dialog)
self.label_39.setGeometry(QtCore.QRect(40, 610, 121, 41))
self.label_39.setObjectName("label_39")
self.DXCC = QtWidgets.QTextEdit(Dialog)
self.DXCC.setGeometry(QtCore.QRect(160, 610, 171, 41))
self.DXCC.setObjectName("DXCC")
self.IOTA = QtWidgets.QTextEdit(Dialog)
self.IOTA.setGeometry(QtCore.QRect(160, 660, 171, 41))
self.IOTA.setObjectName("IOTA")
self.label_40 = QtWidgets.QLabel(Dialog)
self.label_40.setGeometry(QtCore.QRect(640, 610, 61, 41))
self.label_40.setObjectName("label_40")
self.ITUZ = QtWidgets.QTextEdit(Dialog)
self.ITUZ.setGeometry(QtCore.QRect(700, 610, 171, 41))
self.ITUZ.setObjectName("ITUZ")
self.Age = QtWidgets.QTextEdit(Dialog)
self.Age.setGeometry(QtCore.QRect(940, 610, 171, 41))
self.Age.setObjectName("Age")
self.label_41 = QtWidgets.QLabel(Dialog)
self.label_41.setGeometry(QtCore.QRect(880, 610, 61, 41))
self.label_41.setObjectName("label_41")
self.label_42 = QtWidgets.QLabel(Dialog)
self.label_42.setGeometry(QtCore.QRect(730, 7, 151, 41))
self.label_42.setObjectName("label_42")
self.MODE = QtWidgets.QComboBox(Dialog)
self.MODE.setGeometry(QtCore.QRect(890, 60, 461, 41))
self.MODE.setObjectName("MODE")
self.MODE.addItem("")
self.MODE.setItemText(0, "")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.MODE.addItem("")
self.comboBox_11 = QtWidgets.QComboBox(Dialog)
self.comboBox_11.setGeometry(QtCore.QRect(890, 10, 461, 41))
self.comboBox_11.setObjectName("comboBox_11")
self.comboBox_11.addItem("")
self.comboBox_11.setItemText(0, "")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.comboBox_11.addItem("")
self.label_43 = QtWidgets.QLabel(Dialog)
self.label_43.setGeometry(QtCore.QRect(730, 57, 151, 41))
self.label_43.setObjectName("label_43")
self.label_44 = QtWidgets.QLabel(Dialog)
self.label_44.setGeometry(QtCore.QRect(730, 108, 151, 41))
self.label_44.setObjectName("label_44")
self.SAT = QtWidgets.QComboBox(Dialog)
self.SAT.setGeometry(QtCore.QRect(890, 110, 461, 41))
self.SAT.setObjectName("SAT")
self.SAT.addItem("")
self.SAT.setItemText(0, "")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT.addItem("")
self.SAT_MODE = QtWidgets.QComboBox(Dialog)
self.SAT_MODE.setGeometry(QtCore.QRect(890, 162, 461, 41))
self.SAT_MODE.setObjectName("SAT_MODE")
self.SAT_MODE.addItem("")
self.SAT_MODE.setItemText(0, "")
self.SAT_MODE.addItem("")
self.SAT_MODE.addItem("")
self.SAT_MODE.addItem("")
self.SAT_MODE.addItem("")
self.label_45 = QtWidgets.QLabel(Dialog)
self.label_45.setGeometry(QtCore.QRect(730, 160, 151, 41))
self.label_45.setObjectName("label_45")
self.QSO_NUMBER = QtWidgets.QLabel(Dialog)
self.QSO_NUMBER.setGeometry(QtCore.QRect(980, 280, 121, 41))
self.QSO_NUMBER.setObjectName("QSO_NUMBER")
self.of = QtWidgets.QLabel(Dialog)
self.of.setGeometry(QtCore.QRect(1100, 280, 51, 41))
self.of.setObjectName("of")
self.QSO_COUNT = QtWidgets.QLabel(Dialog)
self.QSO_COUNT.setGeometry(QtCore.QRect(1150, 280, 151, 41))
self.QSO_COUNT.setObjectName("QSO_COUNT")
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(self.accept)
self.buttonBox.rejected.connect(self.reject)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def accept(self):
if self.QSL_RCVD.currentText() == "Yes":
QSL_RCVD_R = 1
else:
QSL_RCVD_R = 0
if self.QSL_SENT.currentText() == "Yes":
QSL_SENT_R = 1
else:
QSL_SENT_R = 0
if self.eQSL_QSL_SENT.currentText() == "Yes":
EQSL_SENT_R = 1
else:
EQSL_SENT_R = 0
if self.eQSL_QSL_RCVD.currentText() == "Yes":
EQSL_RCVD_R = 1
else:
EQSL_RCVD_R = 0
if self.Lotw_QSL_SENT.currentText() == "Yes":
Lotw_SENT_R = 1
else:
Lotw_SENT_R = 0
if self.Lotw_QSL_RCVD.currentText() == "Yes":
Lotw_RCVD_R = 1
else:
Lotw_RCVD_R = 0
qsoDATE = self.QSO_DATE.dateTime().toString('yyyyMMdd')
qsoOFFDATE = self.QSO_DATE_OFF.dateTime().toString('yyyyMMdd')
'''print(self.TIME_ON.time().toString('HHmmss'))
print(self.TIME_OFF.time().toString('HHmmss'))'''
if len(self.SAT.currentText()) == 0:
SAT = " "
else:
SAT = self.SAT.currentText().split('[')[1].split(']')[0]
c.execute("INSERT INTO Logs (QSO_NUMBER,QSO_DATE,QSO_DATE_OFF,TIME_ON,TIME_OFF,CALL,station_callsign,DISTANCE,GRIDSQUARE,QTH,MODE,FREQ,BAND,FREQ_RX,BAND_RX,RST_RCVD,RST_SENT,RX_PWR,TX_PWR,QSL_RCVD,QSL_SENT,QSLRDATE,QSLSDATE,QSL_VIA,eQSL_QSL_SENT,eQSL_QSL_RCVD,LOTW_QSL_SENT,LOTW_QSL_RCVD,eQSLRDATE,eQSLSDATE,LotwRDATE,LotwSDATE,SAT_MODE,SAT_NAME,DXCC,CQZ,ITUZ,IOTA,SOTA_REF,POTA,CONTEST_ID,Age,Spread_Method) \
VALUES(NULL,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
(self.QSO_DATE.date().toString('yyyyMMdd'), self.QSO_DATE_OFF.date().toString('yyyyMMdd'),
self.TIME_ON.time().toString('HHmmss'), self.TIME_OFF.time().toString('HHmmss'), self.CALL.toPlainText(),
self.station_callsign.toPlainText(), self.DISTANCE.toPlainText(), self.GRIDSQUARE.toPlainText(),
self.QTH.toPlainText(), self.MODE.currentText(), self.FREQ.toPlainText(),
self.BAND.currentText(), self.FREQ_RX.toPlainText(), self.BAND_RX.currentText(),
self.RST_RCVD.toPlainText(), self.RST_SENT.toPlainText(), self.RX_PWR.toPlainText(),
self.TX_PWR.toPlainText(), QSL_RCVD_R, QSL_SENT_R, self.QSLRDATE.date().toString('yyyyMMdd'), self.QSLSDATE.date().toString('yyyyMMdd'),
self.QSL_VIA.currentText(), EQSL_SENT_R, EQSL_RCVD_R, Lotw_SENT_R, Lotw_RCVD_R,
self.eQSLRDATE.date().toString('yyyyMMdd'), self.eQSLSDATE.date().toString('yyyyMMdd'), self.LotwRDATE.date().toString('yyyyMMdd'), self.LotwSDATE.date().toString('yyyyMMdd'),
self.SAT_MODE.currentText(), SAT, self.DXCC.toPlainText(), self.CQZ.toPlainText(),
self.ITUZ.toPlainText(), self.IOTA.toPlainText(), self.SOTA_REF.toPlainText(),
self.POTA.toPlainText(), self.CONTEST_ID.toPlainText(), self.Age.toPlainText(),
self.comboBox_11.currentText()))
conn.commit()
conn.close()
"Dialog = QtWidgets.QDialog()"
Dialog.close()
def reject(self):
"Dialog = QtWidgets.QDialog()"
Dialog.close()
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "NewLog"))
self.label.setText(_translate("Dialog", "QSO日期"))
self.label_2.setText(_translate("Dialog", "QSO时间"))
self.label_3.setText(_translate("Dialog", "QSO结束日期"))
self.label_4.setText(_translate("Dialog", "QSO结束时间"))
self.label_5.setText(_translate("Dialog", "己方呼号"))
self.label_6.setText(_translate("Dialog", "对方呼号"))
self.label_7.setText(_translate("Dialog", "对方信号报告"))
self.label_8.setText(_translate("Dialog", "己方信号报告"))
self.label_9.setText(_translate("Dialog", "频率"))
self.label_11.setText(_translate("Dialog", "MHz"))
self.label_14.setText(_translate("Dialog", "波段"))
self.label_15.setText(_translate("Dialog", "接收波段"))
self.label_10.setText(_translate("Dialog", "接收频率"))
self.label_12.setText(_translate("Dialog", "MHz"))
self.BAND.setItemText(1, _translate("Dialog", "2190M (135-138 kHz)"))
self.BAND.setItemText(2, _translate("Dialog", "630M (472-479 kHz)"))
self.BAND.setItemText(3, _translate("Dialog", "160M (1.8-2 MHz)"))
self.BAND.setItemText(4, _translate("Dialog", "80M (3.5-4 MHz)"))
self.BAND.setItemText(5, _translate("Dialog", "60M (5.25-5.45 MHz)"))
self.BAND.setItemText(6, _translate("Dialog", "40M (7-7.3 MHz)"))
self.BAND.setItemText(7, _translate("Dialog", "30M (10.1-10.15 MHz)"))
self.BAND.setItemText(8, _translate("Dialog", "20M (14-14.35 MHz)"))
self.BAND.setItemText(9, _translate("Dialog", "17M (18.068-18.168 MHz)"))
self.BAND.setItemText(10, _translate("Dialog", "15M (21-21.45 MHz)"))
self.BAND.setItemText(11, _translate("Dialog", "12M (24.89-24.99 MHz)"))
self.BAND.setItemText(12, _translate("Dialog", "10M (28-29.7 MHz)"))
self.BAND.setItemText(13, _translate("Dialog", "6M (50-54 MHz)"))
self.BAND.setItemText(14, _translate("Dialog", "4M (70-71 MHz)"))
self.BAND.setItemText(15, _translate("Dialog", "2M (144-148 MHz)"))
self.BAND.setItemText(16, _translate("Dialog", "1.25M (220-225 MHz)"))
self.BAND.setItemText(17, _translate("Dialog", "70CM (420-450 MHz)"))
self.BAND.setItemText(18, _translate("Dialog", "33CM (902-928 MHz)"))
self.BAND.setItemText(19, _translate("Dialog", "23CM (1.24-1.3 GHz)"))
self.BAND.setItemText(20, _translate("Dialog", "13CM (2.3-2.45 GHz)"))
self.BAND.setItemText(21, _translate("Dialog", "9CM (3.3-3.5 GHz)"))
self.BAND.setItemText(22, _translate("Dialog", "6CM (5.65-5.925 GHz)"))
self.BAND.setItemText(23, _translate("Dialog", "3CM (10-10.5 GHz)"))
self.BAND.setItemText(24, _translate("Dialog", "1.25CM (24-24.25 GHz)"))
self.BAND.setItemText(25, _translate("Dialog", "6MM (47-47.2 GHz)"))
self.BAND.setItemText(26, _translate("Dialog", "4MM (75.5-81 GHz)"))
self.BAND.setItemText(27, _translate("Dialog", "2.5MM (119.98-120.02 GHz)"))
self.BAND.setItemText(28, _translate("Dialog", "2MM (142-149 GHz)"))
self.BAND.setItemText(29, _translate("Dialog", "1MM (241-250 GHz)"))
self.BAND.setItemText(30, _translate("Dialog", "UBMM (300-2e+006 GHz)"))
self.BAND_RX.setItemText(1, _translate("Dialog", "2190M (135-138 kHz)"))
self.BAND_RX.setItemText(2, _translate("Dialog", "630M (472-479 kHz)"))
self.BAND_RX.setItemText(3, _translate("Dialog", "160M (1.8-2 MHz)"))
self.BAND_RX.setItemText(4, _translate("Dialog", "80M (3.5-4 MHz)"))
self.BAND_RX.setItemText(5, _translate("Dialog", "60M (5.25-5.45 MHz)"))
self.BAND_RX.setItemText(6, _translate("Dialog", "40M (7-7.3 MHz)"))
self.BAND_RX.setItemText(7, _translate("Dialog", "30M (10.1-10.15 MHz)"))
self.BAND_RX.setItemText(8, _translate("Dialog", "20M (14-14.35 MHz)"))
self.BAND_RX.setItemText(9, _translate("Dialog", "17M (18.068-18.168 MHz)"))
self.BAND_RX.setItemText(10, _translate("Dialog", "15M (21-21.45 MHz)"))
self.BAND_RX.setItemText(11, _translate("Dialog", "12M (24.89-24.99 MHz)"))
self.BAND_RX.setItemText(12, _translate("Dialog", "10M (28-29.7 MHz)"))
self.BAND_RX.setItemText(13, _translate("Dialog", "6M (50-54 MHz)"))
self.BAND_RX.setItemText(14, _translate("Dialog", "4M (70-71 MHz)"))
self.BAND_RX.setItemText(15, _translate("Dialog", "2M (144-148 MHz)"))
self.BAND_RX.setItemText(16, _translate("Dialog", "1.25M (220-225 MHz)"))
self.BAND_RX.setItemText(17, _translate("Dialog", "70CM (420-450 MHz)"))
self.BAND_RX.setItemText(18, _translate("Dialog", "33CM (902-928 MHz)"))
self.BAND_RX.setItemText(19, _translate("Dialog", "23CM (1.24-1.3 GHz)"))
self.BAND_RX.setItemText(20, _translate("Dialog", "13CM (2.3-2.45 GHz)"))
self.BAND_RX.setItemText(21, _translate("Dialog", "9CM (3.3-3.5 GHz)"))
self.BAND_RX.setItemText(22, _translate("Dialog", "6CM (5.65-5.925 GHz)"))
self.BAND_RX.setItemText(23, _translate("Dialog", "3CM (10-10.5 GHz)"))
self.BAND_RX.setItemText(24, _translate("Dialog", "1.25CM (24-24.25 GHz)"))
self.BAND_RX.setItemText(25, _translate("Dialog", "6MM (47-47.2 GHz)"))
self.BAND_RX.setItemText(26, _translate("Dialog", "4MM (75.5-81 GHz)"))
self.BAND_RX.setItemText(27, _translate("Dialog", "2.5MM (119.98-120.02 GHz)"))
self.BAND_RX.setItemText(28, _translate("Dialog", "2MM (142-149 GHz)"))
self.BAND_RX.setItemText(29, _translate("Dialog", "1MM (241-250 GHz)"))
self.BAND_RX.setItemText(30, _translate("Dialog", "UBMM (300-2e+006 GHz)"))
self.label_13.setText(_translate("Dialog", "发射功率"))
self.label_16.setText(_translate("Dialog", "对方功率"))
self.label_17.setText(_translate("Dialog", "对方网格"))
self.label_18.setText(_translate("Dialog", "己方网格"))
self.label_19.setText(_translate("Dialog", "距离"))
self.label_20.setText(_translate("Dialog", "KM"))
self.label_21.setText(_translate("Dialog", "比赛"))
self.label_22.setText(_translate("Dialog", "QSL方式"))
self.QSL_VIA.setItemText(1, _translate("Dialog", "Direct"))
self.QSL_VIA.setItemText(2, _translate("Dialog", "eqsl"))
self.QSL_VIA.setItemText(3, _translate("Dialog", "Lotw"))
self.QSL_VIA.setItemText(4, _translate("Dialog", "Buro"))
self.label_23.setText(_translate("Dialog", "QSL接收日期"))
self.label_24.setText(_translate("Dialog", "eQSL接收日期"))
self.label_25.setText(_translate("Dialog", "QSL发送日期"))
self.label_26.setText(_translate("Dialog", "eQSL发送日期"))
self.label_27.setText(_translate("Dialog", "Lotw发送日期"))
self.label_28.setText(_translate("Dialog", "Lotw接收日期"))
self.label_29.setText(_translate("Dialog", "QSL发送状态"))
self.label_30.setText(_translate("Dialog", "eQSL发送状态"))
self.label_31.setText(_translate("Dialog", "QSL接收状态"))
self.label_32.setText(_translate("Dialog", "eQSL接收状态"))
self.label_33.setText(_translate("Dialog", "Lotw接收状态"))
self.label_34.setText(_translate("Dialog", "Lotw发送状态"))
self.QSL_RCVD.setItemText(1, _translate("Dialog", "Yes"))
self.QSL_RCVD.setItemText(2, _translate("Dialog", "No"))
self.eQSL_QSL_RCVD.setItemText(1, _translate("Dialog", "Yes"))
self.eQSL_QSL_RCVD.setItemText(2, _translate("Dialog", "No"))
self.Lotw_QSL_RCVD.setItemText(1, _translate("Dialog", "Yes"))
self.Lotw_QSL_RCVD.setItemText(2, _translate("Dialog", "No"))
self.QSL_SENT.setItemText(1, _translate("Dialog", "Yes"))
self.QSL_SENT.setItemText(2, _translate("Dialog", "No"))
self.eQSL_QSL_SENT.setItemText(1, _translate("Dialog", "Yes"))
self.eQSL_QSL_SENT.setItemText(2, _translate("Dialog", "No"))
self.Lotw_QSL_SENT.setItemText(1, _translate("Dialog", "Yes"))
self.Lotw_QSL_SENT.setItemText(2, _translate("Dialog", "No"))
self.label_35.setText(_translate("Dialog", "SOTA"))
self.label_36.setText(_translate("Dialog", "IOTA"))
self.label_37.setText(_translate("Dialog", "POTA"))
self.label_38.setText(_translate("Dialog", "CQ"))
self.label_39.setText(_translate("Dialog", "DXCC"))
self.label_40.setText(_translate("Dialog", "ITU"))
self.label_41.setText(_translate("Dialog", "年龄"))
self.label_42.setText(_translate("Dialog", "传播方式"))
self.MODE.setItemText(1, _translate("Dialog", "AM"))
self.MODE.setItemText(2, _translate("Dialog", "AMTORFEC"))
self.MODE.setItemText(3, _translate("Dialog", "ARDOP"))
self.MODE.setItemText(4, _translate("Dialog", "ASCI"))
self.MODE.setItemText(5, _translate("Dialog", "ATV"))
self.MODE.setItemText(6, _translate("Dialog", "BPSK125"))
self.MODE.setItemText(7, _translate("Dialog", "BPSK31"))
self.MODE.setItemText(8, _translate("Dialog", "BPSK63"))
self.MODE.setItemText(9, _translate("Dialog", "C4FM"))
self.MODE.setItemText(10, _translate("Dialog", "CHIP"))
self.MODE.setItemText(11, _translate("Dialog", "CHIP128"))
self.MODE.setItemText(12, _translate("Dialog", "CHIP64"))
self.MODE.setItemText(13, _translate("Dialog", "CLO"))
self.MODE.setItemText(14, _translate("Dialog", "CONTESTI"))
self.MODE.setItemText(15, _translate("Dialog", "CW"))
self.MODE.setItemText(16, _translate("Dialog", "DIGITALVOICE"))
self.MODE.setItemText(17, _translate("Dialog", "DOMINO"))
self.MODE.setItemText(18, _translate("Dialog", "DOMINOEX"))
self.MODE.setItemText(19, _translate("Dialog", "DOMINOF"))
self.MODE.setItemText(20, _translate("Dialog", "DSTAR"))
self.MODE.setItemText(21, _translate("Dialog", "FAX"))
self.MODE.setItemText(22, _translate("Dialog", "FM"))
self.MODE.setItemText(23, _translate("Dialog", "FMHELL"))
self.MODE.setItemText(24, _translate("Dialog", "FSK31"))
self.MODE.setItemText(25, _translate("Dialog", "FSK441"))
self.MODE.setItemText(26, _translate("Dialog", "FSKHELL"))
self.MODE.setItemText(27, _translate("Dialog", "FSQCALL"))
self.MODE.setItemText(28, _translate("Dialog", "FST4"))
self.MODE.setItemText(29, _translate("Dialog", "FT4"))
self.MODE.setItemText(30, _translate("Dialog", "FT8"))
self.MODE.setItemText(31, _translate("Dialog", "GTOR"))
self.MODE.setItemText(32, _translate("Dialog", "HELL"))
self.MODE.setItemText(33, _translate("Dialog", "HELL80"))
self.MODE.setItemText(34, _translate("Dialog", "HFSK"))
self.MODE.setItemText(35, _translate("Dialog", "ISCAT"))
self.MODE.setItemText(36, _translate("Dialog", "ISCAT-A"))
self.MODE.setItemText(37, _translate("Dialog", "ISCAT-B"))
self.MODE.setItemText(38, _translate("Dialog", "JS8"))
self.MODE.setItemText(39, _translate("Dialog", "JT4"))
self.MODE.setItemText(40, _translate("Dialog", "JT4A"))
self.MODE.setItemText(41, _translate("Dialog", "JT4B"))
self.MODE.setItemText(42, _translate("Dialog", "JT4C"))
self.MODE.setItemText(43, _translate("Dialog", "JT4D"))
self.MODE.setItemText(44, _translate("Dialog", "JT4E"))
self.MODE.setItemText(45, _translate("Dialog", "JT4F"))
self.MODE.setItemText(46, _translate("Dialog", "JT4G"))
self.MODE.setItemText(47, _translate("Dialog", "JT65"))
self.MODE.setItemText(48, _translate("Dialog", "JT65A"))
self.MODE.setItemText(49, _translate("Dialog", "JT65B"))
self.MODE.setItemText(50, _translate("Dialog", "JT65B2"))
self.MODE.setItemText(51, _translate("Dialog", "JT65C"))
self.MODE.setItemText(52, _translate("Dialog", "JT65C2"))
self.MODE.setItemText(53, _translate("Dialog", "JT6M"))
self.MODE.setItemText(54, _translate("Dialog", "JT9"))
self.MODE.setItemText(55, _translate("Dialog", "JT9-1"))
self.MODE.setItemText(56, _translate("Dialog", "JT9-10"))
self.MODE.setItemText(57, _translate("Dialog", "JT9-2"))
self.MODE.setItemText(58, _translate("Dialog", "JT9-30"))
self.MODE.setItemText(59, _translate("Dialog", "JT9-5"))
self.MODE.setItemText(60, _translate("Dialog", "JT9A"))
self.MODE.setItemText(61, _translate("Dialog", "JT9B"))
self.MODE.setItemText(62, _translate("Dialog", "JT9C"))
self.MODE.setItemText(63, _translate("Dialog", "JT9D"))
self.MODE.setItemText(64, _translate("Dialog", "JT9E"))
self.MODE.setItemText(65, _translate("Dialog", "JT9E FAST"))
self.MODE.setItemText(66, _translate("Dialog", "JT9F"))
self.MODE.setItemText(67, _translate("Dialog", "JT9F FAST"))
self.MODE.setItemText(68, _translate("Dialog", "JT9G"))
self.MODE.setItemText(69, _translate("Dialog", "JT9G FAST"))
self.MODE.setItemText(70, _translate("Dialog", "JT9H"))
self.MODE.setItemText(71, _translate("Dialog", "JT9H FAST"))
self.MODE.setItemText(72, _translate("Dialog", "LSB"))
self.MODE.setItemText(73, _translate("Dialog", "MFSK"))
self.MODE.setItemText(74, _translate("Dialog", "MFSK11"))
self.MODE.setItemText(75, _translate("Dialog", "MFSK128"))
self.MODE.setItemText(76, _translate("Dialog", "MFSK16"))
self.MODE.setItemText(77, _translate("Dialog", "MFSK22"))
self.MODE.setItemText(78, _translate("Dialog", "MFSK31"))
self.MODE.setItemText(79, _translate("Dialog", "MFSK32"))
self.MODE.setItemText(80, _translate("Dialog", "MFSK4"))
self.MODE.setItemText(81, _translate("Dialog", "MFSK64"))
self.MODE.setItemText(82, _translate("Dialog", "MFSK8"))
self.MODE.setItemText(83, _translate("Dialog", "MFSK144"))
self.MODE.setItemText(84, _translate("Dialog", "MT63"))
self.MODE.setItemText(85, _translate("Dialog", "OLIVIA"))
self.MODE.setItemText(86, _translate("Dialog", "OLIVIA 16/1000"))
self.MODE.setItemText(87, _translate("Dialog", "OLIVIA 16/500"))
self.MODE.setItemText(88, _translate("Dialog", "OLIVIA 32/1000"))
self.MODE.setItemText(89, _translate("Dialog", "OLIVIA 4/125"))
self.MODE.setItemText(90, _translate("Dialog", "OLIVIA 4/250"))
self.MODE.setItemText(91, _translate("Dialog", "OLIVIA 8/250"))
self.MODE.setItemText(92, _translate("Dialog", "OLIVIA 8/500"))
self.MODE.setItemText(93, _translate("Dialog", "OPERA"))
self.MODE.setItemText(94, _translate("Dialog", "OPERA-BEACON"))
self.MODE.setItemText(95, _translate("Dialog", "OPERA-QSO"))
self.MODE.setItemText(96, _translate("Dialog", "PAC"))
self.MODE.setItemText(97, _translate("Dialog", "PAC2"))
self.MODE.setItemText(98, _translate("Dialog", "PAC3"))
self.MODE.setItemText(99, _translate("Dialog", "PAC4"))
self.MODE.setItemText(100, _translate("Dialog", "PAX"))
self.MODE.setItemText(101, _translate("Dialog", "PAX2"))
self.MODE.setItemText(102, _translate("Dialog", "PCW"))
self.MODE.setItemText(103, _translate("Dialog", "PKT"))
self.MODE.setItemText(104, _translate("Dialog", "PSK"))
self.MODE.setItemText(105, _translate("Dialog", "PSK10"))
self.MODE.setItemText(106, _translate("Dialog", "PSK1000"))
self.MODE.setItemText(107, _translate("Dialog", "PSK125"))
self.MODE.setItemText(108, _translate("Dialog", "PSK250"))
self.MODE.setItemText(109, _translate("Dialog", "PSK2K"))
self.MODE.setItemText(110, _translate("Dialog", "PSK31"))
self.MODE.setItemText(111, _translate("Dialog", "PSK500"))
self.MODE.setItemText(112, _translate("Dialog", "PSK63"))
self.MODE.setItemText(113, _translate("Dialog", "PSK63F"))
self.MODE.setItemText(114, _translate("Dialog", "PSKAM10"))
self.MODE.setItemText(115, _translate("Dialog", "PSKAM31"))
self.MODE.setItemText(116, _translate("Dialog", "PSKAM50"))
self.MODE.setItemText(117, _translate("Dialog", "PSKFEC31"))
self.MODE.setItemText(118, _translate("Dialog", "PSKHELL"))
self.MODE.setItemText(119, _translate("Dialog", "Q15"))
self.MODE.setItemText(120, _translate("Dialog", "Q65"))
self.MODE.setItemText(121, _translate("Dialog", "QPSK125"))
self.MODE.setItemText(122, _translate("Dialog", "QPSK250"))
self.MODE.setItemText(123, _translate("Dialog", "QPSK31"))
self.MODE.setItemText(124, _translate("Dialog", "QPSK500"))
self.MODE.setItemText(125, _translate("Dialog", "QPSK63"))
self.MODE.setItemText(126, _translate("Dialog", "QRA64"))
self.MODE.setItemText(127, _translate("Dialog", "QRA64A"))
self.MODE.setItemText(128, _translate("Dialog", "QRA64B"))
self.MODE.setItemText(129, _translate("Dialog", "QRA64C"))
self.MODE.setItemText(130, _translate("Dialog", "QRA64D"))
self.MODE.setItemText(131, _translate("Dialog", "QRA64E"))
self.MODE.setItemText(132, _translate("Dialog", "ROS"))
self.MODE.setItemText(133, _translate("Dialog", "ROS-EME"))
self.MODE.setItemText(134, _translate("Dialog", "ROS-HF"))
self.MODE.setItemText(135, _translate("Dialog", "ROS-MF"))
self.MODE.setItemText(136, _translate("Dialog", "RTTY"))