forked from g4ixt/QtTinySA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QtTinySpectrum.py
1127 lines (1120 loc) · 55.9 KB
/
QtTinySpectrum.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 'QtTinySpectrum.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# 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.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1024, 598)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(10)
MainWindow.setFont(font)
MainWindow.setIconSize(QtCore.QSize(25, 25))
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_5 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_5.setObjectName("gridLayout_5")
self.stackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
self.stackedWidget.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(10)
self.stackedWidget.setFont(font)
self.stackedWidget.setAutoFillBackground(False)
self.stackedWidget.setObjectName("stackedWidget")
self.ViewNormal = QtWidgets.QWidget()
self.ViewNormal.setObjectName("ViewNormal")
self.gridLayout = QtWidgets.QGridLayout(self.ViewNormal)
self.gridLayout.setObjectName("gridLayout")
self.gridLayout_2 = QtWidgets.QGridLayout()
self.gridLayout_2.setObjectName("gridLayout_2")
self.mkr_centre = QtWidgets.QToolButton(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.mkr_centre.setFont(font)
self.mkr_centre.setToolTipDuration(1)
self.mkr_centre.setArrowType(QtCore.Qt.UpArrow)
self.mkr_centre.setObjectName("mkr_centre")
self.gridLayout_2.addWidget(self.mkr_centre, 2, 5, 1, 1)
self.presetLabel = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.presetLabel.setFont(font)
self.presetLabel.setTristate(True)
self.presetLabel.setObjectName("presetLabel")
self.gridLayout_2.addWidget(self.presetLabel, 2, 10, 1, 1)
self.m2_type = QtWidgets.QComboBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.m2_type.sizePolicy().hasHeightForWidth())
self.m2_type.setSizePolicy(sizePolicy)
self.m2_type.setMaximumSize(QtCore.QSize(55, 16777215))
font = QtGui.QFont()
font.setPointSize(9)
self.m2_type.setFont(font)
self.m2_type.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContentsOnFirstShow)
self.m2_type.setMinimumContentsLength(0)
self.m2_type.setIconSize(QtCore.QSize(16, 16))
self.m2_type.setPlaceholderText("")
self.m2_type.setObjectName("m2_type")
self.gridLayout_2.addWidget(self.m2_type, 2, 7, 1, 1)
self.m1_type = QtWidgets.QComboBox(self.ViewNormal)
self.m1_type.setMaximumSize(QtCore.QSize(55, 16777215))
font = QtGui.QFont()
font.setFamily("Sans Serif")
font.setPointSize(9)
self.m1_type.setFont(font)
self.m1_type.setObjectName("m1_type")
self.gridLayout_2.addWidget(self.m1_type, 2, 6, 1, 1)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_2.addItem(spacerItem, 1, 11, 1, 1)
self.band_box = QtWidgets.QComboBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.band_box.sizePolicy().hasHeightForWidth())
self.band_box.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.band_box.setFont(font)
self.band_box.setEditable(False)
self.band_box.setCurrentText("")
self.band_box.setInsertPolicy(QtWidgets.QComboBox.InsertAtBottom)
self.band_box.setObjectName("band_box")
self.gridLayout_2.addWidget(self.band_box, 1, 1, 1, 1)
self.mToBand = QtWidgets.QToolButton(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.mToBand.setFont(font)
self.mToBand.setObjectName("mToBand")
self.gridLayout_2.addWidget(self.mToBand, 1, 0, 1, 1)
self.marker4 = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.marker4.setFont(font)
self.marker4.setObjectName("marker4")
self.gridLayout_2.addWidget(self.marker4, 1, 9, 1, 1)
self.setRange = QtWidgets.QToolButton(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.setRange.setFont(font)
self.setRange.setObjectName("setRange")
self.gridLayout_2.addWidget(self.setRange, 1, 3, 1, 1)
self.mkr_start = QtWidgets.QToolButton(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.mkr_start.setFont(font)
self.mkr_start.setArrowType(QtCore.Qt.LeftArrow)
self.mkr_start.setObjectName("mkr_start")
self.gridLayout_2.addWidget(self.mkr_start, 1, 5, 1, 1)
self.presetMarker = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.presetMarker.setFont(font)
self.presetMarker.setObjectName("presetMarker")
self.gridLayout_2.addWidget(self.presetMarker, 1, 10, 1, 1)
self.m3_type = QtWidgets.QComboBox(self.ViewNormal)
self.m3_type.setMaximumSize(QtCore.QSize(55, 16777215))
font = QtGui.QFont()
font.setPointSize(9)
self.m3_type.setFont(font)
self.m3_type.setObjectName("m3_type")
self.gridLayout_2.addWidget(self.m3_type, 2, 8, 1, 1)
self.timeSpectrum = QtWidgets.QToolButton(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.timeSpectrum.setFont(font)
self.timeSpectrum.setLayoutDirection(QtCore.Qt.LeftToRight)
self.timeSpectrum.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
self.timeSpectrum.setArrowType(QtCore.Qt.RightArrow)
self.timeSpectrum.setObjectName("timeSpectrum")
self.gridLayout_2.addWidget(self.timeSpectrum, 1, 13, 1, 1)
self.filterBox = QtWidgets.QComboBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.filterBox.sizePolicy().hasHeightForWidth())
self.filterBox.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.filterBox.setFont(font)
self.filterBox.setObjectName("filterBox")
self.gridLayout_2.addWidget(self.filterBox, 2, 1, 1, 1)
self.stop_freq = QtWidgets.QDoubleSpinBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.stop_freq.sizePolicy().hasHeightForWidth())
self.stop_freq.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.stop_freq.setFont(font)
self.stop_freq.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.stop_freq.setCorrectionMode(QtWidgets.QAbstractSpinBox.CorrectToNearestValue)
self.stop_freq.setPrefix("")
self.stop_freq.setSuffix("")
self.stop_freq.setDecimals(6)
self.stop_freq.setMinimum(0.1)
self.stop_freq.setMaximum(6000.0)
self.stop_freq.setSingleStep(1.0)
self.stop_freq.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.stop_freq.setProperty("value", 108.0)
self.stop_freq.setObjectName("stop_freq")
self.gridLayout_2.addWidget(self.stop_freq, 1, 12, 1, 1)
self.start_freq = QtWidgets.QDoubleSpinBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.start_freq.sizePolicy().hasHeightForWidth())
self.start_freq.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.start_freq.setFont(font)
self.start_freq.setFrame(True)
self.start_freq.setCorrectionMode(QtWidgets.QAbstractSpinBox.CorrectToNearestValue)
self.start_freq.setPrefix("")
self.start_freq.setSuffix("")
self.start_freq.setDecimals(6)
self.start_freq.setMinimum(0.1)
self.start_freq.setMaximum(6000.0)
self.start_freq.setSingleStep(1.0)
self.start_freq.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.start_freq.setProperty("value", 87.5)
self.start_freq.setObjectName("start_freq")
self.gridLayout_2.addWidget(self.start_freq, 1, 2, 1, 1)
self.scan_button = QtWidgets.QPushButton(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scan_button.sizePolicy().hasHeightForWidth())
self.scan_button.setSizePolicy(sizePolicy)
self.scan_button.setMinimumSize(QtCore.QSize(40, 0))
font = QtGui.QFont()
font.setPointSize(9)
self.scan_button.setFont(font)
self.scan_button.setToolTip("")
self.scan_button.setIconSize(QtCore.QSize(16, 16))
self.scan_button.setCheckable(False)
self.scan_button.setObjectName("scan_button")
self.gridLayout_2.addWidget(self.scan_button, 1, 14, 1, 1)
self.marker1 = QtWidgets.QCheckBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.marker1.sizePolicy().hasHeightForWidth())
self.marker1.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.marker1.setFont(font)
self.marker1.setIconSize(QtCore.QSize(16, 16))
self.marker1.setObjectName("marker1")
self.gridLayout_2.addWidget(self.marker1, 1, 6, 1, 1)
self.m4_type = QtWidgets.QComboBox(self.ViewNormal)
self.m4_type.setMaximumSize(QtCore.QSize(55, 16777215))
font = QtGui.QFont()
font.setPointSize(9)
self.m4_type.setFont(font)
self.m4_type.setObjectName("m4_type")
self.gridLayout_2.addWidget(self.m4_type, 2, 9, 1, 1)
self.avgBox = QtWidgets.QSpinBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.avgBox.setFont(font)
self.avgBox.setMinimum(1)
self.avgBox.setMaximum(101)
self.avgBox.setProperty("value", 10)
self.avgBox.setObjectName("avgBox")
self.gridLayout_2.addWidget(self.avgBox, 1, 4, 1, 1)
self.centre_freq = QtWidgets.QDoubleSpinBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.centre_freq.setFont(font)
self.centre_freq.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.centre_freq.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
self.centre_freq.setCorrectionMode(QtWidgets.QAbstractSpinBox.CorrectToNearestValue)
self.centre_freq.setPrefix("")
self.centre_freq.setSuffix("")
self.centre_freq.setDecimals(3)
self.centre_freq.setMinimum(0.1)
self.centre_freq.setMaximum(6000.0)
self.centre_freq.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.centre_freq.setProperty("value", 98.0)
self.centre_freq.setObjectName("centre_freq")
self.gridLayout_2.addWidget(self.centre_freq, 2, 2, 1, 1)
self.marker2 = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.marker2.setFont(font)
self.marker2.setAutoFillBackground(False)
self.marker2.setObjectName("marker2")
self.gridLayout_2.addWidget(self.marker2, 1, 7, 1, 1)
self.marker3 = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.marker3.setFont(font)
self.marker3.setObjectName("marker3")
self.gridLayout_2.addWidget(self.marker3, 1, 8, 1, 1)
self.span_freq = QtWidgets.QDoubleSpinBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.span_freq.setFont(font)
self.span_freq.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.span_freq.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
self.span_freq.setCorrectionMode(QtWidgets.QAbstractSpinBox.CorrectToNearestValue)
self.span_freq.setPrefix("")
self.span_freq.setSuffix("")
self.span_freq.setDecimals(3)
self.span_freq.setMaximum(100000.0)
self.span_freq.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.span_freq.setProperty("value", 20.0)
self.span_freq.setObjectName("span_freq")
self.gridLayout_2.addWidget(self.span_freq, 2, 12, 1, 1)
self.graphWidget = PlotWidget(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.graphWidget.sizePolicy().hasHeightForWidth())
self.graphWidget.setSizePolicy(sizePolicy)
self.graphWidget.setAutoFillBackground(False)
self.graphWidget.setStyleSheet("")
self.graphWidget.setObjectName("graphWidget")
self.gridLayout_2.addWidget(self.graphWidget, 0, 0, 1, 15)
self.gridLayout.addLayout(self.gridLayout_2, 0, 1, 1, 1)
self.gridLayout_3 = QtWidgets.QGridLayout()
self.gridLayout_3.setObjectName("gridLayout_3")
spacerItem1 = QtWidgets.QSpacerItem(17, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_3.addItem(spacerItem1, 15, 1, 1, 1)
self.atten_box = QtWidgets.QSpinBox(self.ViewNormal)
self.atten_box.setEnabled(False)
font = QtGui.QFont()
font.setPointSize(9)
self.atten_box.setFont(font)
self.atten_box.setReadOnly(False)
self.atten_box.setMinimum(0)
self.atten_box.setMaximum(31)
self.atten_box.setProperty("value", 0)
self.atten_box.setObjectName("atten_box")
self.gridLayout_3.addWidget(self.atten_box, 4, 1, 1, 1)
self.label_5 = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.label_5.setFont(font)
self.label_5.setObjectName("label_5")
self.gridLayout_3.addWidget(self.label_5, 5, 0, 1, 2)
self.trace3 = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.trace3.setFont(font)
self.trace3.setText("")
self.trace3.setObjectName("trace3")
self.gridLayout_3.addWidget(self.trace3, 13, 0, 1, 1)
self.label_9 = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(7)
self.label_9.setFont(font)
self.label_9.setObjectName("label_9")
self.gridLayout_3.addWidget(self.label_9, 16, 1, 1, 1)
self.label_2 = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.gridLayout_3.addWidget(self.label_2, 1, 1, 1, 1)
self.version = QtWidgets.QLabel(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.version.sizePolicy().hasHeightForWidth())
self.version.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(7)
self.version.setFont(font)
self.version.setObjectName("version")
self.gridLayout_3.addWidget(self.version, 17, 0, 1, 2)
self.updates = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(7)
self.updates.setFont(font)
self.updates.setAlignment(QtCore.Qt.AlignCenter)
self.updates.setObjectName("updates")
self.gridLayout_3.addWidget(self.updates, 16, 0, 1, 1)
self.sampleRepeat = QtWidgets.QSpinBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.sampleRepeat.setFont(font)
self.sampleRepeat.setMinimum(1)
self.sampleRepeat.setMaximum(10000)
self.sampleRepeat.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.sampleRepeat.setObjectName("sampleRepeat")
self.gridLayout_3.addWidget(self.sampleRepeat, 9, 1, 1, 1)
self.trace2 = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.trace2.setFont(font)
self.trace2.setText("")
self.trace2.setTristate(False)
self.trace2.setObjectName("trace2")
self.gridLayout_3.addWidget(self.trace2, 12, 0, 1, 1)
self.label_6 = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.label_6.setFont(font)
self.label_6.setObjectName("label_6")
self.gridLayout_3.addWidget(self.label_6, 7, 0, 1, 2)
self.lna_box = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(False)
font.setWeight(50)
self.lna_box.setFont(font)
self.lna_box.setText("")
self.lna_box.setObjectName("lna_box")
self.gridLayout_3.addWidget(self.lna_box, 1, 0, 1, 1)
self.t4_type = QtWidgets.QComboBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.t4_type.sizePolicy().hasHeightForWidth())
self.t4_type.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.t4_type.setFont(font)
self.t4_type.setObjectName("t4_type")
self.gridLayout_3.addWidget(self.t4_type, 14, 1, 1, 1)
self.t1_type = QtWidgets.QComboBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.t1_type.sizePolicy().hasHeightForWidth())
self.t1_type.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.t1_type.setFont(font)
self.t1_type.setModelColumn(0)
self.t1_type.setObjectName("t1_type")
self.gridLayout_3.addWidget(self.t1_type, 11, 1, 1, 1)
self.mixerMode = QtWidgets.QLabel(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mixerMode.sizePolicy().hasHeightForWidth())
self.mixerMode.setSizePolicy(sizePolicy)
self.mixerMode.setBaseSize(QtCore.QSize(0, 0))
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.mixerMode.setFont(font)
self.mixerMode.setAutoFillBackground(False)
self.mixerMode.setStyleSheet("background-color:lightGreen")
self.mixerMode.setFrameShape(QtWidgets.QFrame.NoFrame)
self.mixerMode.setFrameShadow(QtWidgets.QFrame.Plain)
self.mixerMode.setMidLineWidth(0)
self.mixerMode.setScaledContents(False)
self.mixerMode.setAlignment(QtCore.Qt.AlignCenter)
self.mixerMode.setObjectName("mixerMode")
self.gridLayout_3.addWidget(self.mixerMode, 19, 0, 1, 2)
self.label_7 = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.label_7.setFont(font)
self.label_7.setObjectName("label_7")
self.gridLayout_3.addWidget(self.label_7, 10, 0, 1, 2)
self.points_auto = QtWidgets.QCheckBox(self.ViewNormal)
self.points_auto.setEnabled(True)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.points_auto.setFont(font)
self.points_auto.setText("")
self.points_auto.setChecked(True)
self.points_auto.setObjectName("points_auto")
self.gridLayout_3.addWidget(self.points_auto, 8, 0, 1, 1)
self.rbw_box = QtWidgets.QComboBox(self.ViewNormal)
self.rbw_box.setEnabled(True)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rbw_box.sizePolicy().hasHeightForWidth())
self.rbw_box.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.rbw_box.setFont(font)
self.rbw_box.setEditable(True)
self.rbw_box.setObjectName("rbw_box")
self.gridLayout_3.addWidget(self.rbw_box, 6, 1, 1, 1)
self.t2_type = QtWidgets.QComboBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.t2_type.sizePolicy().hasHeightForWidth())
self.t2_type.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.t2_type.setFont(font)
self.t2_type.setObjectName("t2_type")
self.gridLayout_3.addWidget(self.t2_type, 12, 1, 1, 1)
self.atten_auto = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.atten_auto.setFont(font)
self.atten_auto.setText("")
self.atten_auto.setChecked(True)
self.atten_auto.setObjectName("atten_auto")
self.gridLayout_3.addWidget(self.atten_auto, 4, 0, 1, 1)
self.spur_label = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.spur_label.setFont(font)
self.spur_label.setObjectName("spur_label")
self.gridLayout_3.addWidget(self.spur_label, 2, 1, 1, 1)
self.points_box = QtWidgets.QSpinBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.points_box.setFont(font)
self.points_box.setSuffix("")
self.points_box.setMinimum(1)
self.points_box.setMaximum(30000)
self.points_box.setSingleStep(100)
self.points_box.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.points_box.setProperty("value", 400)
self.points_box.setObjectName("points_box")
self.gridLayout_3.addWidget(self.points_box, 8, 1, 1, 1)
self.battery = QtWidgets.QLabel(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.battery.sizePolicy().hasHeightForWidth())
self.battery.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(7)
self.battery.setFont(font)
self.battery.setObjectName("battery")
self.gridLayout_3.addWidget(self.battery, 18, 0, 1, 2)
self.trace4 = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.trace4.setFont(font)
self.trace4.setText("")
self.trace4.setObjectName("trace4")
self.gridLayout_3.addWidget(self.trace4, 14, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.gridLayout_3.addWidget(self.label_3, 3, 0, 1, 2)
self.spur_box = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
self.spur_box.setFont(font)
self.spur_box.setText("")
self.spur_box.setChecked(True)
self.spur_box.setTristate(True)
self.spur_box.setObjectName("spur_box")
self.gridLayout_3.addWidget(self.spur_box, 2, 0, 1, 1)
self.t3_type = QtWidgets.QComboBox(self.ViewNormal)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.t3_type.sizePolicy().hasHeightForWidth())
self.t3_type.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.t3_type.setFont(font)
self.t3_type.setObjectName("t3_type")
self.gridLayout_3.addWidget(self.t3_type, 13, 1, 1, 1)
self.rbw_auto = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.rbw_auto.setFont(font)
self.rbw_auto.setText("")
self.rbw_auto.setObjectName("rbw_auto")
self.gridLayout_3.addWidget(self.rbw_auto, 6, 0, 1, 1)
self.trace1 = QtWidgets.QCheckBox(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.trace1.setFont(font)
self.trace1.setAcceptDrops(False)
self.trace1.setText("")
self.trace1.setChecked(True)
self.trace1.setTristate(False)
self.trace1.setObjectName("trace1")
self.gridLayout_3.addWidget(self.trace1, 11, 0, 1, 1)
self.label_8 = QtWidgets.QLabel(self.ViewNormal)
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.label_8.setFont(font)
self.label_8.setObjectName("label_8")
self.gridLayout_3.addWidget(self.label_8, 0, 0, 1, 2)
self.gridLayout.addLayout(self.gridLayout_3, 0, 0, 1, 1)
self.stackedWidget.addWidget(self.ViewNormal)
self.View3D = QtWidgets.QWidget()
self.View3D.setObjectName("View3D")
self.gridLayout_6 = QtWidgets.QGridLayout(self.View3D)
self.gridLayout_6.setObjectName("gridLayout_6")
self.gridLayout_4 = QtWidgets.QGridLayout()
self.gridLayout_4.setObjectName("gridLayout_4")
self.rExponent = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rExponent.sizePolicy().hasHeightForWidth())
self.rExponent.setSizePolicy(sizePolicy)
self.rExponent.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.rExponent.setFont(font)
self.rExponent.setMinimum(-10.0)
self.rExponent.setMaximum(10.0)
self.rExponent.setSingleStep(0.1)
self.rExponent.setProperty("value", 0.6)
self.rExponent.setObjectName("rExponent")
self.gridLayout_4.addWidget(self.rExponent, 11, 0, 1, 1)
self.rConst = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rConst.sizePolicy().hasHeightForWidth())
self.rConst.setSizePolicy(sizePolicy)
self.rConst.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.rConst.setFont(font)
self.rConst.setDecimals(3)
self.rConst.setSingleStep(0.01)
self.rConst.setObjectName("rConst")
self.gridLayout_4.addWidget(self.rConst, 9, 0, 1, 1)
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_4.addItem(spacerItem2, 14, 0, 1, 1)
self.orbitD = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.orbitD.setFont(font)
self.orbitD.setArrowType(QtCore.Qt.DownArrow)
self.orbitD.setObjectName("orbitD")
self.gridLayout_4.addWidget(self.orbitD, 15, 9, 1, 1)
self.label_11 = QtWidgets.QLabel(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
self.label_11.setSizePolicy(sizePolicy)
self.label_11.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.label_11.setFont(font)
self.label_11.setObjectName("label_11")
self.gridLayout_4.addWidget(self.label_11, 2, 0, 1, 1)
self.grid = QtWidgets.QCheckBox(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.grid.setFont(font)
self.grid.setLayoutDirection(QtCore.Qt.LeftToRight)
self.grid.setChecked(True)
self.grid.setObjectName("grid")
self.gridLayout_4.addWidget(self.grid, 15, 14, 1, 2)
self.signalUp = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.signalUp.setFont(font)
self.signalUp.setArrowType(QtCore.Qt.NoArrow)
self.signalUp.setObjectName("signalUp")
self.gridLayout_4.addWidget(self.signalUp, 16, 8, 1, 1)
self.glSmooth = QtWidgets.QCheckBox(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.glSmooth.setFont(font)
self.glSmooth.setLayoutDirection(QtCore.Qt.LeftToRight)
self.glSmooth.setObjectName("glSmooth")
self.gridLayout_4.addWidget(self.glSmooth, 16, 0, 1, 1)
self.openGLWidget = GLViewWidget(self.View3D)
self.openGLWidget.setEnabled(True)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.openGLWidget.sizePolicy().hasHeightForWidth())
self.openGLWidget.setSizePolicy(sizePolicy)
self.openGLWidget.setObjectName("openGLWidget")
self.gridLayout_4.addWidget(self.openGLWidget, 0, 2, 15, 17)
self.label_17 = QtWidgets.QLabel(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.label_17.setFont(font)
self.label_17.setObjectName("label_17")
self.gridLayout_4.addWidget(self.label_17, 15, 4, 1, 1)
self.rotateBy = QtWidgets.QSpinBox(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.rotateBy.setFont(font)
self.rotateBy.setMaximum(90)
self.rotateBy.setSingleStep(5)
self.rotateBy.setProperty("value", 5)
self.rotateBy.setObjectName("rotateBy")
self.gridLayout_4.addWidget(self.rotateBy, 15, 5, 1, 1)
self.gConst = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.gConst.sizePolicy().hasHeightForWidth())
self.gConst.setSizePolicy(sizePolicy)
self.gConst.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.gConst.setFont(font)
self.gConst.setDecimals(3)
self.gConst.setSingleStep(0.01)
self.gConst.setObjectName("gConst")
self.gridLayout_4.addWidget(self.gConst, 8, 0, 1, 1)
self.gExponent = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.gExponent.sizePolicy().hasHeightForWidth())
self.gExponent.setSizePolicy(sizePolicy)
self.gExponent.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.gExponent.setFont(font)
self.gExponent.setMinimum(-10.0)
self.gExponent.setMaximum(10.0)
self.gExponent.setSingleStep(0.1)
self.gExponent.setProperty("value", 2.0)
self.gExponent.setObjectName("gExponent")
self.gridLayout_4.addWidget(self.gExponent, 12, 0, 1, 1)
self.orbitL = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.orbitL.setFont(font)
self.orbitL.setArrowType(QtCore.Qt.LeftArrow)
self.orbitL.setObjectName("orbitL")
self.gridLayout_4.addWidget(self.orbitL, 15, 6, 1, 1)
self.label_13 = QtWidgets.QLabel(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
self.label_13.setSizePolicy(sizePolicy)
self.label_13.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.label_13.setFont(font)
self.label_13.setObjectName("label_13")
self.gridLayout_4.addWidget(self.label_13, 10, 0, 1, 1)
self.timeR = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.timeR.setFont(font)
self.timeR.setArrowType(QtCore.Qt.NoArrow)
self.timeR.setObjectName("timeR")
self.gridLayout_4.addWidget(self.timeR, 16, 7, 1, 1)
self.signalDown = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.signalDown.setFont(font)
self.signalDown.setArrowType(QtCore.Qt.NoArrow)
self.signalDown.setObjectName("signalDown")
self.gridLayout_4.addWidget(self.signalDown, 16, 9, 1, 1)
self.bMulti = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.bMulti.sizePolicy().hasHeightForWidth())
self.bMulti.setSizePolicy(sizePolicy)
self.bMulti.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.bMulti.setFont(font)
self.bMulti.setDecimals(3)
self.bMulti.setMinimum(0.4)
self.bMulti.setSingleStep(0.001)
self.bMulti.setProperty("value", 0.4)
self.bMulti.setObjectName("bMulti")
self.gridLayout_4.addWidget(self.bMulti, 5, 0, 1, 1)
self.label_12 = QtWidgets.QLabel(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth())
self.label_12.setSizePolicy(sizePolicy)
self.label_12.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.label_12.setFont(font)
self.label_12.setObjectName("label_12")
self.gridLayout_4.addWidget(self.label_12, 6, 0, 1, 1)
self.freqL = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.freqL.setFont(font)
self.freqL.setArrowType(QtCore.Qt.NoArrow)
self.freqL.setObjectName("freqL")
self.gridLayout_4.addWidget(self.freqL, 16, 11, 1, 1)
self.bConst = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.bConst.sizePolicy().hasHeightForWidth())
self.bConst.setSizePolicy(sizePolicy)
self.bConst.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.bConst.setFont(font)
self.bConst.setDecimals(3)
self.bConst.setSingleStep(0.01)
self.bConst.setObjectName("bConst")
self.gridLayout_4.addWidget(self.bConst, 7, 0, 1, 1)
self.reset3D = QtWidgets.QPushButton(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(2)
sizePolicy.setHeightForWidth(self.reset3D.sizePolicy().hasHeightForWidth())
self.reset3D.setSizePolicy(sizePolicy)
self.reset3D.setMinimumSize(QtCore.QSize(5, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.reset3D.setFont(font)
self.reset3D.setIconSize(QtCore.QSize(10, 16))
self.reset3D.setObjectName("reset3D")
self.gridLayout_4.addWidget(self.reset3D, 16, 18, 1, 1)
self.freqR = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.freqR.setFont(font)
self.freqR.setArrowType(QtCore.Qt.NoArrow)
self.freqR.setObjectName("freqR")
self.gridLayout_4.addWidget(self.freqR, 16, 10, 1, 1)
self.gridR = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.gridR.setFont(font)
self.gridR.setArrowType(QtCore.Qt.UpArrow)
self.gridR.setObjectName("gridR")
self.gridLayout_4.addWidget(self.gridR, 16, 15, 1, 1)
self.orbitR = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.orbitR.setFont(font)
self.orbitR.setArrowType(QtCore.Qt.RightArrow)
self.orbitR.setObjectName("orbitR")
self.gridLayout_4.addWidget(self.orbitR, 15, 7, 1, 1)
self.bExponent = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.bExponent.sizePolicy().hasHeightForWidth())
self.bExponent.setSizePolicy(sizePolicy)
self.bExponent.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.bExponent.setFont(font)
self.bExponent.setMinimum(-10.0)
self.bExponent.setMaximum(10.0)
self.bExponent.setSingleStep(0.1)
self.bExponent.setProperty("value", -0.3)
self.bExponent.setObjectName("bExponent")
self.gridLayout_4.addWidget(self.bExponent, 13, 0, 1, 1)
self.gMulti = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.gMulti.sizePolicy().hasHeightForWidth())
self.gMulti.setSizePolicy(sizePolicy)
self.gMulti.setMinimumSize(QtCore.QSize(16, 0))
font = QtGui.QFont()
font.setPointSize(7)
self.gMulti.setFont(font)
self.gMulti.setDecimals(3)
self.gMulti.setMinimum(0.001)
self.gMulti.setSingleStep(0.001)
self.gMulti.setProperty("value", 0.01)
self.gMulti.setObjectName("gMulti")
self.gridLayout_4.addWidget(self.gMulti, 4, 0, 1, 1)
self.label_4 = QtWidgets.QLabel(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.gridLayout_4.addWidget(self.label_4, 1, 0, 1, 2)
self.panBy = QtWidgets.QSpinBox(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.panBy.setFont(font)
self.panBy.setMaximum(10)
self.panBy.setSingleStep(1)
self.panBy.setProperty("value", 1)
self.panBy.setObjectName("panBy")
self.gridLayout_4.addWidget(self.panBy, 16, 5, 1, 1)
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_4.addItem(spacerItem3, 15, 2, 1, 1)
self.glNormals = QtWidgets.QCheckBox(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.glNormals.setFont(font)
self.glNormals.setLayoutDirection(QtCore.Qt.LeftToRight)
self.glNormals.setObjectName("glNormals")
self.gridLayout_4.addWidget(self.glNormals, 15, 0, 1, 1)
self.run3D = QtWidgets.QPushButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.run3D.setFont(font)
self.run3D.setObjectName("run3D")
self.gridLayout_4.addWidget(self.run3D, 15, 18, 1, 1)
self.timeF = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.timeF.setFont(font)
self.timeF.setArrowType(QtCore.Qt.NoArrow)
self.timeF.setObjectName("timeF")
self.gridLayout_4.addWidget(self.timeF, 16, 6, 1, 1)
self.rMulti = QtWidgets.QDoubleSpinBox(self.View3D)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rMulti.sizePolicy().hasHeightForWidth())
self.rMulti.setSizePolicy(sizePolicy)
self.rMulti.setMinimumSize(QtCore.QSize(0, 0))
self.rMulti.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setPointSize(7)
self.rMulti.setFont(font)
self.rMulti.setDecimals(3)
self.rMulti.setMinimum(0.001)
self.rMulti.setSingleStep(0.001)
self.rMulti.setProperty("value", 0.01)
self.rMulti.setObjectName("rMulti")
self.gridLayout_4.addWidget(self.rMulti, 3, 0, 1, 1)
self.analyser = QtWidgets.QToolButton(self.View3D)
self.analyser.setArrowType(QtCore.Qt.LeftArrow)
self.analyser.setObjectName("analyser")
self.gridLayout_4.addWidget(self.analyser, 15, 17, 1, 1)
self.label_18 = QtWidgets.QLabel(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.label_18.setFont(font)
self.label_18.setObjectName("label_18")
self.gridLayout_4.addWidget(self.label_18, 16, 4, 1, 1)
self.gridF = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.gridF.setFont(font)
self.gridF.setArrowType(QtCore.Qt.DownArrow)
self.gridF.setObjectName("gridF")
self.gridLayout_4.addWidget(self.gridF, 16, 14, 1, 1)
self.zoom = QtWidgets.QSlider(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.zoom.setFont(font)
self.zoom.setMaximum(200)
self.zoom.setProperty("value", 40)
self.zoom.setSliderPosition(40)
self.zoom.setOrientation(QtCore.Qt.Horizontal)
self.zoom.setInvertedAppearance(True)
self.zoom.setInvertedControls(False)
self.zoom.setObjectName("zoom")
self.gridLayout_4.addWidget(self.zoom, 15, 10, 1, 3)
self.orbitU = QtWidgets.QToolButton(self.View3D)
font = QtGui.QFont()
font.setPointSize(7)
self.orbitU.setFont(font)
self.orbitU.setArrowType(QtCore.Qt.UpArrow)
self.orbitU.setObjectName("orbitU")
self.gridLayout_4.addWidget(self.orbitU, 15, 8, 1, 1)
self.memBox = QtWidgets.QSpinBox(self.View3D)
font = QtGui.QFont()
font.setPointSize(8)
self.memBox.setFont(font)
self.memBox.setMinimum(1)
self.memBox.setMaximum(200)
self.memBox.setProperty("value", 50)
self.memBox.setObjectName("memBox")
self.gridLayout_4.addWidget(self.memBox, 15, 3, 1, 1)
self.gridLayout_6.addLayout(self.gridLayout_4, 0, 0, 1, 1)
self.stackedWidget.addWidget(self.View3D)
self.gridLayout_5.addWidget(self.stackedWidget, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.menuBar = QtWidgets.QMenuBar(MainWindow)
self.menuBar.setGeometry(QtCore.QRect(0, 0, 1024, 25))
self.menuBar.setObjectName("menuBar")
self.menu_Help = QtWidgets.QMenu(self.menuBar)
self.menu_Help.setObjectName("menu_Help")
self.menuSettings = QtWidgets.QMenu(self.menuBar)
self.menuSettings.setObjectName("menuSettings")
self.menuFile = QtWidgets.QMenu(self.menuBar)
self.menuFile.setObjectName("menuFile")
MainWindow.setMenuBar(self.menuBar)
self.actionsetting = QtWidgets.QAction(MainWindow)
self.actionsetting.setObjectName("actionsetting")
self.actionlevel = QtWidgets.QAction(MainWindow)
self.actionlevel.setObjectName("actionlevel")
self.actionAbout_QtTinySA = QtWidgets.QAction(MainWindow)
self.actionAbout_QtTinySA.setObjectName("actionAbout_QtTinySA")
self.actionPreferences = QtWidgets.QAction(MainWindow)
self.actionPreferences.setObjectName("actionPreferences")
self.actionSweeps = QtWidgets.QAction(MainWindow)