-
Notifications
You must be signed in to change notification settings - Fork 0
/
motion.py
5562 lines (5421 loc) · 265 KB
/
motion.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 'motion.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from API import motors
import thread, time
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(800, 600)
MainWindow.setMinimumSize(QtCore.QSize(800, 600))
MainWindow.setMaximumSize(QtCore.QSize(800, 647))
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setMinimumSize(QtCore.QSize(800, 600))
self.centralwidget.setMaximumSize(QtCore.QSize(800, 600))
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.stackedWidget = QtGui.QStackedWidget(self.centralwidget)
self.stackedWidget.setGeometry(QtCore.QRect(0, 0, 800, 560))
self.stackedWidget.setMinimumSize(QtCore.QSize(800, 560))
self.stackedWidget.setMaximumSize(QtCore.QSize(800, 560))
self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
self.mainPage = QtGui.QWidget()
self.mainPage.setMinimumSize(QtCore.QSize(800, 600))
self.mainPage.setMaximumSize(QtCore.QSize(800, 600))
self.mainPage.setObjectName(_fromUtf8("mainPage"))
self.mPageMFrame = QtGui.QFrame(self.mainPage)
self.mPageMFrame.setGeometry(QtCore.QRect(10, 20, 541, 531))
self.mPageMFrame.setStyleSheet(_fromUtf8("border : 1px solid rgb(113, 0, 0);\n"
""))
self.mPageMFrame.setFrameShape(QtGui.QFrame.StyledPanel)
self.mPageMFrame.setFrameShadow(QtGui.QFrame.Raised)
self.mPageMFrame.setObjectName(_fromUtf8("mPageMFrame"))
self.mId = QtGui.QLabel(self.mPageMFrame)
self.mId.setGeometry(QtCore.QRect(30, 20, 31, 21))
self.mId.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.mId.setObjectName(_fromUtf8("mId"))
self.mAngle = QtGui.QLabel(self.mPageMFrame)
self.mAngle.setGeometry(QtCore.QRect(90, 20, 61, 21))
self.mAngle.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
"\n"
""))
self.mAngle.setObjectName(_fromUtf8("mAngle"))
self.mPos = QtGui.QLabel(self.mPageMFrame)
self.mPos.setGeometry(QtCore.QRect(180, 20, 81, 21))
self.mPos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
"\n"
""))
self.mPos.setObjectName(_fromUtf8("mPos"))
self.m1Frame = QtGui.QFrame(self.mPageMFrame)
self.m1Frame.setGeometry(QtCore.QRect(20, 50, 501, 31))
self.m1Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m1Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m1Frame.setObjectName(_fromUtf8("m1Frame"))
self.m1 = QtGui.QLabel(self.m1Frame)
self.m1.setGeometry(QtCore.QRect(10, 0, 16, 31))
self.m1.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m1.setObjectName(_fromUtf8("m1"))
self.m1Ang = QtGui.QLabel(self.m1Frame)
self.m1Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m1Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m1Ang.setObjectName(_fromUtf8("m1Ang"))
self.m1Pos = QtGui.QLabel(self.m1Frame)
self.m1Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m1Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m1Pos.setObjectName(_fromUtf8("m1Pos"))
self.m10 = QtGui.QLabel(self.m1Frame)
self.m10.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m10.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m10.setObjectName(_fromUtf8("m10"))
self.m10Ang = QtGui.QLabel(self.m1Frame)
self.m10Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m10Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m10Ang.setObjectName(_fromUtf8("m10Ang"))
self.m10Pos = QtGui.QLabel(self.m1Frame)
self.m10Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m10Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m10Pos.setObjectName(_fromUtf8("m10Pos"))
self.m2Frame = QtGui.QFrame(self.mPageMFrame)
self.m2Frame.setGeometry(QtCore.QRect(20, 100, 501, 31))
self.m2Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m2Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m2Frame.setObjectName(_fromUtf8("m2Frame"))
self.m2 = QtGui.QLabel(self.m2Frame)
self.m2.setGeometry(QtCore.QRect(10, 0, 16, 31))
self.m2.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m2.setObjectName(_fromUtf8("m2"))
self.m2Ang = QtGui.QLabel(self.m2Frame)
self.m2Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m2Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m2Ang.setObjectName(_fromUtf8("m2Ang"))
self.label_4 = QtGui.QLabel(self.m2Frame)
self.label_4.setGeometry(QtCore.QRect(250, 30, 51, 17))
self.label_4.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.label_4.setObjectName(_fromUtf8("label_4"))
self.m2Pos = QtGui.QLabel(self.m2Frame)
self.m2Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m2Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m2Pos.setObjectName(_fromUtf8("m2Pos"))
self.m11 = QtGui.QLabel(self.m2Frame)
self.m11.setGeometry(QtCore.QRect(270, 0, 21, 31))
self.m11.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m11.setObjectName(_fromUtf8("m11"))
self.m11Pos = QtGui.QLabel(self.m2Frame)
self.m11Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m11Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m11Pos.setObjectName(_fromUtf8("m11Pos"))
self.m11Ang = QtGui.QLabel(self.m2Frame)
self.m11Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m11Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m11Ang.setObjectName(_fromUtf8("m11Ang"))
self.m3Frame = QtGui.QFrame(self.mPageMFrame)
self.m3Frame.setGeometry(QtCore.QRect(20, 150, 501, 31))
self.m3Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m3Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m3Frame.setObjectName(_fromUtf8("m3Frame"))
self.m3Ang = QtGui.QLabel(self.m3Frame)
self.m3Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m3Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m3Ang.setObjectName(_fromUtf8("m3Ang"))
self.m3Pos = QtGui.QLabel(self.m3Frame)
self.m3Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m3Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m3Pos.setObjectName(_fromUtf8("m3Pos"))
self.label_8 = QtGui.QLabel(self.m3Frame)
self.label_8.setGeometry(QtCore.QRect(270, 50, 51, 17))
self.label_8.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.label_8.setObjectName(_fromUtf8("label_8"))
self.m3 = QtGui.QLabel(self.m3Frame)
self.m3.setGeometry(QtCore.QRect(10, 0, 21, 31))
self.m3.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m3.setObjectName(_fromUtf8("m3"))
self.m12 = QtGui.QLabel(self.m3Frame)
self.m12.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m12.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m12.setObjectName(_fromUtf8("m12"))
self.m12Pos = QtGui.QLabel(self.m3Frame)
self.m12Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m12Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m12Pos.setObjectName(_fromUtf8("m12Pos"))
self.m12Ang = QtGui.QLabel(self.m3Frame)
self.m12Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m12Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m12Ang.setObjectName(_fromUtf8("m12Ang"))
self.m4Frame = QtGui.QFrame(self.mPageMFrame)
self.m4Frame.setGeometry(QtCore.QRect(20, 200, 501, 31))
self.m4Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m4Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m4Frame.setObjectName(_fromUtf8("m4Frame"))
self.m4Ang = QtGui.QLabel(self.m4Frame)
self.m4Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m4Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m4Ang.setObjectName(_fromUtf8("m4Ang"))
self.m4Pos = QtGui.QLabel(self.m4Frame)
self.m4Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m4Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m4Pos.setObjectName(_fromUtf8("m4Pos"))
self.m4 = QtGui.QLabel(self.m4Frame)
self.m4.setGeometry(QtCore.QRect(10, 0, 21, 31))
self.m4.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m4.setObjectName(_fromUtf8("m4"))
self.m13 = QtGui.QLabel(self.m4Frame)
self.m13.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m13.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m13.setObjectName(_fromUtf8("m13"))
self.m13Pos = QtGui.QLabel(self.m4Frame)
self.m13Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m13Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m13Pos.setObjectName(_fromUtf8("m13Pos"))
self.m13Ang = QtGui.QLabel(self.m4Frame)
self.m13Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m13Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m13Ang.setObjectName(_fromUtf8("m13Ang"))
self.m5Frame = QtGui.QFrame(self.mPageMFrame)
self.m5Frame.setGeometry(QtCore.QRect(20, 250, 501, 31))
self.m5Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m5Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m5Frame.setObjectName(_fromUtf8("m5Frame"))
self.m5 = QtGui.QLabel(self.m5Frame)
self.m5.setGeometry(QtCore.QRect(10, 0, 16, 31))
self.m5.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m5.setObjectName(_fromUtf8("m5"))
self.m5Ang = QtGui.QLabel(self.m5Frame)
self.m5Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m5Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m5Ang.setObjectName(_fromUtf8("m5Ang"))
self.m5Pos = QtGui.QLabel(self.m5Frame)
self.m5Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m5Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m5Pos.setObjectName(_fromUtf8("m5Pos"))
self.m14 = QtGui.QLabel(self.m5Frame)
self.m14.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m14.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m14.setObjectName(_fromUtf8("m14"))
self.m14Pos = QtGui.QLabel(self.m5Frame)
self.m14Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m14Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m14Pos.setObjectName(_fromUtf8("m14Pos"))
self.m14Ang = QtGui.QLabel(self.m5Frame)
self.m14Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m14Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m14Ang.setObjectName(_fromUtf8("m14Ang"))
self.m6Frame = QtGui.QFrame(self.mPageMFrame)
self.m6Frame.setGeometry(QtCore.QRect(20, 300, 501, 31))
self.m6Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m6Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m6Frame.setObjectName(_fromUtf8("m6Frame"))
self.m6 = QtGui.QLabel(self.m6Frame)
self.m6.setGeometry(QtCore.QRect(10, 0, 21, 31))
self.m6.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m6.setObjectName(_fromUtf8("m6"))
self.m6Ang = QtGui.QLabel(self.m6Frame)
self.m6Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m6Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m6Ang.setObjectName(_fromUtf8("m6Ang"))
self.m6Pos = QtGui.QLabel(self.m6Frame)
self.m6Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m6Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m6Pos.setObjectName(_fromUtf8("m6Pos"))
self.m15 = QtGui.QLabel(self.m6Frame)
self.m15.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m15.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m15.setObjectName(_fromUtf8("m15"))
self.m15Pos = QtGui.QLabel(self.m6Frame)
self.m15Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m15Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m15Pos.setObjectName(_fromUtf8("m15Pos"))
self.m15Ang = QtGui.QLabel(self.m6Frame)
self.m15Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m15Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m15Ang.setObjectName(_fromUtf8("m15Ang"))
self.m7Frame = QtGui.QFrame(self.mPageMFrame)
self.m7Frame.setGeometry(QtCore.QRect(20, 350, 501, 31))
self.m7Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m7Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m7Frame.setObjectName(_fromUtf8("m7Frame"))
self.m7 = QtGui.QLabel(self.m7Frame)
self.m7.setGeometry(QtCore.QRect(10, 0, 16, 31))
self.m7.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m7.setObjectName(_fromUtf8("m7"))
self.m7Ang = QtGui.QLabel(self.m7Frame)
self.m7Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m7Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m7Ang.setObjectName(_fromUtf8("m7Ang"))
self.m7Pos = QtGui.QLabel(self.m7Frame)
self.m7Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m7Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m7Pos.setObjectName(_fromUtf8("m7Pos"))
self.m16 = QtGui.QLabel(self.m7Frame)
self.m16.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m16.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m16.setObjectName(_fromUtf8("m16"))
self.m16Pos = QtGui.QLabel(self.m7Frame)
self.m16Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m16Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m16Pos.setObjectName(_fromUtf8("m16Pos"))
self.m16Ang = QtGui.QLabel(self.m7Frame)
self.m16Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m16Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m16Ang.setObjectName(_fromUtf8("m16Ang"))
self.m8Frame = QtGui.QFrame(self.mPageMFrame)
self.m8Frame.setGeometry(QtCore.QRect(20, 400, 501, 31))
self.m8Frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m8Frame.setFrameShadow(QtGui.QFrame.Raised)
self.m8Frame.setObjectName(_fromUtf8("m8Frame"))
self.m8 = QtGui.QLabel(self.m8Frame)
self.m8.setGeometry(QtCore.QRect(10, 0, 21, 31))
self.m8.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m8.setObjectName(_fromUtf8("m8"))
self.m8Ang = QtGui.QLabel(self.m8Frame)
self.m8Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m8Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m8Ang.setObjectName(_fromUtf8("m8Ang"))
self.m8Pos = QtGui.QLabel(self.m8Frame)
self.m8Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m8Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m8Pos.setObjectName(_fromUtf8("m8Pos"))
self.m17 = QtGui.QLabel(self.m8Frame)
self.m17.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m17.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m17.setObjectName(_fromUtf8("m17"))
self.m17Pos = QtGui.QLabel(self.m8Frame)
self.m17Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m17Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m17Pos.setObjectName(_fromUtf8("m17Pos"))
self.m17Ang = QtGui.QLabel(self.m8Frame)
self.m17Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m17Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m17Ang.setObjectName(_fromUtf8("m17Ang"))
self.recSavedLabel = QtGui.QLabel(self.mPageMFrame)
self.recSavedLabel.setGeometry(QtCore.QRect(280, 500, 151, 20))
self.recSavedLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
"\n"
""))
self.recSavedLabel.setObjectName(_fromUtf8("recSavedLabel"))
self.recNumLabel = QtGui.QLabel(self.mPageMFrame)
self.recNumLabel.setGeometry(QtCore.QRect(450, 500, 16, 31))
self.recNumLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.recNumLabel.setObjectName(_fromUtf8("recNumLabel"))
self.mUpdateBtn = QtGui.QPushButton(self.mPageMFrame)
self.mUpdateBtn.setGeometry(QtCore.QRect(20, 490, 171, 31))
self.mUpdateBtn.setAutoFillBackground(False)
self.mUpdateBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.mUpdateBtn.setAutoDefault(False)
self.mUpdateBtn.setDefault(False)
self.mUpdateBtn.setFlat(False)
self.mUpdateBtn.setObjectName(_fromUtf8("mUpdateBtn"))
self.m8Frame_2 = QtGui.QFrame(self.mPageMFrame)
self.m8Frame_2.setGeometry(QtCore.QRect(20, 450, 501, 31))
self.m8Frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
self.m8Frame_2.setFrameShadow(QtGui.QFrame.Raised)
self.m8Frame_2.setObjectName(_fromUtf8("m8Frame_2"))
self.m9 = QtGui.QLabel(self.m8Frame_2)
self.m9.setGeometry(QtCore.QRect(10, 0, 21, 31))
self.m9.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m9.setObjectName(_fromUtf8("m9"))
self.m9Ang = QtGui.QLabel(self.m8Frame_2)
self.m9Ang.setGeometry(QtCore.QRect(70, 10, 51, 17))
self.m9Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m9Ang.setObjectName(_fromUtf8("m9Ang"))
self.m9Pos = QtGui.QLabel(self.m8Frame_2)
self.m9Pos.setGeometry(QtCore.QRect(170, 10, 51, 17))
self.m9Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m9Pos.setObjectName(_fromUtf8("m9Pos"))
self.m18 = QtGui.QLabel(self.m8Frame_2)
self.m18.setGeometry(QtCore.QRect(270, 0, 31, 31))
self.m18.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.m18.setObjectName(_fromUtf8("m18"))
self.m18Pos = QtGui.QLabel(self.m8Frame_2)
self.m18Pos.setGeometry(QtCore.QRect(430, 10, 51, 17))
self.m18Pos.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m18Pos.setObjectName(_fromUtf8("m18Pos"))
self.m18Ang = QtGui.QLabel(self.m8Frame_2)
self.m18Ang.setGeometry(QtCore.QRect(340, 10, 51, 17))
self.m18Ang.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
" "))
self.m18Ang.setObjectName(_fromUtf8("m18Ang"))
self.mId_2 = QtGui.QLabel(self.mPageMFrame)
self.mId_2.setGeometry(QtCore.QRect(290, 20, 31, 21))
self.mId_2.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
""))
self.mId_2.setObjectName(_fromUtf8("mId_2"))
self.mAngle_2 = QtGui.QLabel(self.mPageMFrame)
self.mAngle_2.setGeometry(QtCore.QRect(360, 20, 61, 21))
self.mAngle_2.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
"\n"
""))
self.mAngle_2.setObjectName(_fromUtf8("mAngle_2"))
self.mPos_2 = QtGui.QLabel(self.mPageMFrame)
self.mPos_2.setGeometry(QtCore.QRect(440, 20, 81, 21))
self.mPos_2.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
"\n"
""))
self.mPos_2.setObjectName(_fromUtf8("mPos_2"))
self.mPageSFrame = QtGui.QFrame(self.mainPage)
self.mPageSFrame.setGeometry(QtCore.QRect(560, 20, 231, 531))
self.mPageSFrame.setStyleSheet(_fromUtf8("border : 1px solid rgb(113, 0, 0);\n"
""))
self.mPageSFrame.setFrameShape(QtGui.QFrame.StyledPanel)
self.mPageSFrame.setFrameShadow(QtGui.QFrame.Raised)
self.mPageSFrame.setObjectName(_fromUtf8("mPageSFrame"))
self.inRecBtn = QtGui.QPushButton(self.mPageSFrame)
self.inRecBtn.setGeometry(QtCore.QRect(30, 20, 171, 61))
self.inRecBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.inRecBtn.setObjectName(_fromUtf8("inRecBtn"))
self.saveRecBtn = QtGui.QPushButton(self.mPageSFrame)
self.saveRecBtn.setGeometry(QtCore.QRect(30, 150, 171, 61))
self.saveRecBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.saveRecBtn.setObjectName(_fromUtf8("saveRecBtn"))
self.recNameInput = QtGui.QLineEdit(self.mPageSFrame)
self.recNameInput.setGeometry(QtCore.QRect(30, 110, 171, 27))
self.recNameInput.setObjectName(_fromUtf8("recNameInput"))
self.saveStatusLabel = QtGui.QLabel(self.mPageSFrame)
self.saveStatusLabel.setGeometry(QtCore.QRect(70, 230, 101, 21))
self.saveStatusLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;\n"
"\n"
""))
self.saveStatusLabel.setObjectName(_fromUtf8("saveStatusLabel"))
self.newRecBtn = QtGui.QPushButton(self.mPageSFrame)
self.newRecBtn.setGeometry(QtCore.QRect(30, 430, 171, 61))
self.newRecBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.newRecBtn.setObjectName(_fromUtf8("newRecBtn"))
self.mSelect = QtGui.QComboBox(self.mPageSFrame)
self.mSelect.setGeometry(QtCore.QRect(30, 280, 171, 27))
self.mSelect.setObjectName(_fromUtf8("mSelect"))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mSelect.addItem(_fromUtf8(""))
self.mGoBtn = QtGui.QPushButton(self.mPageSFrame)
self.mGoBtn.setGeometry(QtCore.QRect(30, 320, 171, 31))
self.mGoBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.mGoBtn.setObjectName(_fromUtf8("mGoBtn"))
self.stackedWidget.addWidget(self.mainPage)
self.m1Page = QtGui.QWidget()
self.m1Page.setObjectName(_fromUtf8("m1Page"))
self.m1Label = QtGui.QLabel(self.m1Page)
self.m1Label.setGeometry(QtCore.QRect(340, 10, 91, 21))
self.m1Label.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1Label.setObjectName(_fromUtf8("m1Label"))
self.m1SFrame = QtGui.QFrame(self.m1Page)
self.m1SFrame.setGeometry(QtCore.QRect(10, 40, 561, 501))
self.m1SFrame.setStyleSheet(_fromUtf8("border : 1px solid rgb(113, 0, 0);\n"
""))
self.m1SFrame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m1SFrame.setFrameShadow(QtGui.QFrame.Raised)
self.m1SFrame.setObjectName(_fromUtf8("m1SFrame"))
self.m1AngLabel = QtGui.QLabel(self.m1SFrame)
self.m1AngLabel.setGeometry(QtCore.QRect(120, 40, 61, 21))
self.m1AngLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1AngLabel.setObjectName(_fromUtf8("m1AngLabel"))
self.m1PosLabel = QtGui.QLabel(self.m1SFrame)
self.m1PosLabel.setGeometry(QtCore.QRect(390, 40, 91, 21))
self.m1PosLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1PosLabel.setObjectName(_fromUtf8("m1PosLabel"))
self.m1TorqueLabel = QtGui.QLabel(self.m1SFrame)
self.m1TorqueLabel.setGeometry(QtCore.QRect(80, 270, 141, 21))
self.m1TorqueLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1TorqueLabel.setObjectName(_fromUtf8("m1TorqueLabel"))
self.m1TempLabel = QtGui.QLabel(self.m1SFrame)
self.m1TempLabel.setGeometry(QtCore.QRect(370, 270, 131, 21))
self.m1TempLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1TempLabel.setObjectName(_fromUtf8("m1TempLabel"))
self.m1ErrLabel = QtGui.QLabel(self.m1SFrame)
self.m1ErrLabel.setGeometry(QtCore.QRect(260, 390, 61, 21))
self.m1ErrLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1ErrLabel.setObjectName(_fromUtf8("m1ErrLabel"))
self.m1AngDial = QtGui.QDial(self.m1SFrame)
self.m1AngDial.setGeometry(QtCore.QRect(100, 80, 91, 81))
self.m1AngDial.setMinimum(-150)
self.m1AngDial.setMaximum(150)
self.m1AngDial.setTracking(True)
self.m1AngDial.setWrapping(False)
self.m1AngDial.setNotchTarget(50.0)
self.m1AngDial.setNotchesVisible(True)
self.m1AngDial.setObjectName(_fromUtf8("m1AngDial"))
self.m1PosDial = QtGui.QDial(self.m1SFrame)
self.m1PosDial.setGeometry(QtCore.QRect(380, 80, 91, 81))
self.m1PosDial.setMinimum(0)
self.m1PosDial.setMaximum(1023)
self.m1PosDial.setTracking(True)
self.m1PosDial.setWrapping(False)
self.m1PosDial.setNotchTarget(100.0)
self.m1PosDial.setNotchesVisible(True)
self.m1PosDial.setObjectName(_fromUtf8("m1PosDial"))
self.m1AngNum = QtGui.QLabel(self.m1SFrame)
self.m1AngNum.setGeometry(QtCore.QRect(120, 200, 61, 21))
self.m1AngNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1AngNum.setObjectName(_fromUtf8("m1AngNum"))
self.m1PosNum = QtGui.QLabel(self.m1SFrame)
self.m1PosNum.setGeometry(QtCore.QRect(400, 200, 61, 21))
self.m1PosNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1PosNum.setObjectName(_fromUtf8("m1PosNum"))
self.m1TorqueNum = QtGui.QLabel(self.m1SFrame)
self.m1TorqueNum.setGeometry(QtCore.QRect(120, 320, 61, 21))
self.m1TorqueNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1TorqueNum.setObjectName(_fromUtf8("m1TorqueNum"))
self.m1ErrNum = QtGui.QLabel(self.m1SFrame)
self.m1ErrNum.setGeometry(QtCore.QRect(260, 440, 61, 21))
self.m1ErrNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1ErrNum.setObjectName(_fromUtf8("m1ErrNum"))
self.m1TempNum = QtGui.QLabel(self.m1SFrame)
self.m1TempNum.setGeometry(QtCore.QRect(400, 320, 61, 21))
self.m1TempNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m1TempNum.setObjectName(_fromUtf8("m1TempNum"))
self.m1CFrame = QtGui.QFrame(self.m1Page)
self.m1CFrame.setGeometry(QtCore.QRect(580, 40, 211, 501))
self.m1CFrame.setStyleSheet(_fromUtf8("border : 1px solid rgb(113, 0, 0);\n"
""))
self.m1CFrame.setObjectName(_fromUtf8("m1CFrame"))
self.m1GoalTSpin = QtGui.QSpinBox(self.m1CFrame)
self.m1GoalTSpin.setGeometry(QtCore.QRect(30, 40, 151, 21))
self.m1GoalTSpin.setStyleSheet(_fromUtf8("font: 63 13pt \"KacstArt\";"))
self.m1GoalTSpin.setWrapping(False)
self.m1GoalTSpin.setAccelerated(False)
self.m1GoalTSpin.setObjectName(_fromUtf8("m1GoalTSpin"))
self.m1GoalTLabel = QtGui.QLabel(self.m1CFrame)
self.m1GoalTLabel.setGeometry(QtCore.QRect(60, 10, 111, 21))
self.m1GoalTLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;"))
self.m1GoalTLabel.setObjectName(_fromUtf8("m1GoalTLabel"))
self.m1UpdateBtn = QtGui.QPushButton(self.m1CFrame)
self.m1UpdateBtn.setGeometry(QtCore.QRect(20, 290, 171, 41))
self.m1UpdateBtn.setAutoFillBackground(False)
self.m1UpdateBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m1UpdateBtn.setAutoDefault(False)
self.m1UpdateBtn.setDefault(False)
self.m1UpdateBtn.setFlat(False)
self.m1UpdateBtn.setObjectName(_fromUtf8("m1UpdateBtn"))
self.m1AngleLabel = QtGui.QLabel(self.m1CFrame)
self.m1AngleLabel.setGeometry(QtCore.QRect(80, 70, 61, 21))
self.m1AngleLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;"))
self.m1AngleLabel.setObjectName(_fromUtf8("m1AngleLabel"))
self.m1AngleSpin = QtGui.QSpinBox(self.m1CFrame)
self.m1AngleSpin.setGeometry(QtCore.QRect(30, 100, 151, 21))
self.m1AngleSpin.setStyleSheet(_fromUtf8("font: 63 13pt \"KacstArt\";"))
self.m1AngleSpin.setWrapping(False)
self.m1AngleSpin.setAccelerated(False)
self.m1AngleSpin.setMinimum(-150)
self.m1AngleSpin.setMaximum(150)
self.m1AngleSpin.setObjectName(_fromUtf8("m1AngleSpin"))
self.m1PositionSpin = QtGui.QSpinBox(self.m1CFrame)
self.m1PositionSpin.setGeometry(QtCore.QRect(30, 190, 151, 21))
self.m1PositionSpin.setStyleSheet(_fromUtf8("font: 63 13pt \"KacstArt\";"))
self.m1PositionSpin.setWrapping(False)
self.m1PositionSpin.setAccelerated(False)
self.m1PositionSpin.setMaximum(1023)
self.m1PositionSpin.setObjectName(_fromUtf8("m1PositionSpin"))
self.m1PositionLabel = QtGui.QLabel(self.m1CFrame)
self.m1PositionLabel.setGeometry(QtCore.QRect(70, 170, 81, 21))
self.m1PositionLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;"))
self.m1PositionLabel.setObjectName(_fromUtf8("m1PositionLabel"))
self.m1AngleBtn = QtGui.QPushButton(self.m1CFrame)
self.m1AngleBtn.setGeometry(QtCore.QRect(30, 130, 151, 21))
self.m1AngleBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 12pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m1AngleBtn.setObjectName(_fromUtf8("m1AngleBtn"))
self.m1PositionBtn = QtGui.QPushButton(self.m1CFrame)
self.m1PositionBtn.setGeometry(QtCore.QRect(30, 220, 151, 21))
self.m1PositionBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 12pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m1PositionBtn.setObjectName(_fromUtf8("m1PositionBtn"))
self.m1HomeBtn = QtGui.QPushButton(self.m1CFrame)
self.m1HomeBtn.setGeometry(QtCore.QRect(20, 370, 171, 61))
self.m1HomeBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m1HomeBtn.setObjectName(_fromUtf8("m1HomeBtn"))
self.stackedWidget.addWidget(self.m1Page)
self.m2Page = QtGui.QWidget()
self.m2Page.setObjectName(_fromUtf8("m2Page"))
self.m2SFrame = QtGui.QFrame(self.m2Page)
self.m2SFrame.setGeometry(QtCore.QRect(10, 40, 561, 501))
self.m2SFrame.setStyleSheet(_fromUtf8("border : 1px solid rgb(113, 0, 0);\n"
""))
self.m2SFrame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m2SFrame.setFrameShadow(QtGui.QFrame.Raised)
self.m2SFrame.setObjectName(_fromUtf8("m2SFrame"))
self.m2AngLabel = QtGui.QLabel(self.m2SFrame)
self.m2AngLabel.setGeometry(QtCore.QRect(120, 40, 61, 21))
self.m2AngLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2AngLabel.setObjectName(_fromUtf8("m2AngLabel"))
self.m2PosLabel = QtGui.QLabel(self.m2SFrame)
self.m2PosLabel.setGeometry(QtCore.QRect(390, 40, 91, 21))
self.m2PosLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2PosLabel.setObjectName(_fromUtf8("m2PosLabel"))
self.m2TorqueLabel = QtGui.QLabel(self.m2SFrame)
self.m2TorqueLabel.setGeometry(QtCore.QRect(80, 270, 141, 21))
self.m2TorqueLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2TorqueLabel.setObjectName(_fromUtf8("m2TorqueLabel"))
self.m2TempLabel = QtGui.QLabel(self.m2SFrame)
self.m2TempLabel.setGeometry(QtCore.QRect(370, 270, 131, 21))
self.m2TempLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2TempLabel.setObjectName(_fromUtf8("m2TempLabel"))
self.m2ErrLabel = QtGui.QLabel(self.m2SFrame)
self.m2ErrLabel.setGeometry(QtCore.QRect(260, 390, 61, 21))
self.m2ErrLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2ErrLabel.setObjectName(_fromUtf8("m2ErrLabel"))
self.m2AngDial = QtGui.QDial(self.m2SFrame)
self.m2AngDial.setGeometry(QtCore.QRect(100, 80, 91, 81))
self.m2AngDial.setMinimum(-150)
self.m2AngDial.setMaximum(150)
self.m2AngDial.setTracking(True)
self.m2AngDial.setWrapping(False)
self.m2AngDial.setNotchTarget(50.0)
self.m2AngDial.setNotchesVisible(True)
self.m2AngDial.setObjectName(_fromUtf8("m2AngDial"))
self.m2PosDial = QtGui.QDial(self.m2SFrame)
self.m2PosDial.setGeometry(QtCore.QRect(380, 80, 91, 81))
self.m2PosDial.setMinimum(0)
self.m2PosDial.setMaximum(1023)
self.m2PosDial.setTracking(True)
self.m2PosDial.setWrapping(False)
self.m2PosDial.setNotchTarget(100.0)
self.m2PosDial.setNotchesVisible(True)
self.m2PosDial.setObjectName(_fromUtf8("m2PosDial"))
self.m2AngNum = QtGui.QLabel(self.m2SFrame)
self.m2AngNum.setGeometry(QtCore.QRect(120, 200, 61, 21))
self.m2AngNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2AngNum.setObjectName(_fromUtf8("m2AngNum"))
self.m2PosNum = QtGui.QLabel(self.m2SFrame)
self.m2PosNum.setGeometry(QtCore.QRect(400, 200, 61, 21))
self.m2PosNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2PosNum.setObjectName(_fromUtf8("m2PosNum"))
self.m2TorqueNum = QtGui.QLabel(self.m2SFrame)
self.m2TorqueNum.setGeometry(QtCore.QRect(120, 320, 61, 21))
self.m2TorqueNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2TorqueNum.setObjectName(_fromUtf8("m2TorqueNum"))
self.m2ErrNum = QtGui.QLabel(self.m2SFrame)
self.m2ErrNum.setGeometry(QtCore.QRect(260, 440, 61, 21))
self.m2ErrNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2ErrNum.setObjectName(_fromUtf8("m2ErrNum"))
self.m2TempNum = QtGui.QLabel(self.m2SFrame)
self.m2TempNum.setGeometry(QtCore.QRect(400, 320, 61, 21))
self.m2TempNum.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2TempNum.setObjectName(_fromUtf8("m2TempNum"))
self.m2CFrame = QtGui.QFrame(self.m2Page)
self.m2CFrame.setGeometry(QtCore.QRect(580, 40, 211, 501))
self.m2CFrame.setStyleSheet(_fromUtf8("border : 1px solid rgb(113, 0, 0);\n"
""))
self.m2CFrame.setObjectName(_fromUtf8("m2CFrame"))
self.m2GoalTSpin = QtGui.QSpinBox(self.m2CFrame)
self.m2GoalTSpin.setGeometry(QtCore.QRect(30, 40, 151, 21))
self.m2GoalTSpin.setStyleSheet(_fromUtf8("font: 63 13pt \"KacstArt\";"))
self.m2GoalTSpin.setWrapping(False)
self.m2GoalTSpin.setAccelerated(False)
self.m2GoalTSpin.setObjectName(_fromUtf8("m2GoalTSpin"))
self.m2GoalTLabel = QtGui.QLabel(self.m2CFrame)
self.m2GoalTLabel.setGeometry(QtCore.QRect(60, 10, 111, 21))
self.m2GoalTLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;"))
self.m2GoalTLabel.setObjectName(_fromUtf8("m2GoalTLabel"))
self.m2UpdateBtn = QtGui.QPushButton(self.m2CFrame)
self.m2UpdateBtn.setGeometry(QtCore.QRect(20, 290, 171, 41))
self.m2UpdateBtn.setAutoFillBackground(False)
self.m2UpdateBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m2UpdateBtn.setAutoDefault(False)
self.m2UpdateBtn.setDefault(False)
self.m2UpdateBtn.setFlat(False)
self.m2UpdateBtn.setObjectName(_fromUtf8("m2UpdateBtn"))
self.m2AngleLabel = QtGui.QLabel(self.m2CFrame)
self.m2AngleLabel.setGeometry(QtCore.QRect(80, 70, 61, 21))
self.m2AngleLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;"))
self.m2AngleLabel.setObjectName(_fromUtf8("m2AngleLabel"))
self.m2AngleSpin = QtGui.QSpinBox(self.m2CFrame)
self.m2AngleSpin.setGeometry(QtCore.QRect(30, 100, 151, 21))
self.m2AngleSpin.setStyleSheet(_fromUtf8("font: 63 13pt \"KacstArt\";"))
self.m2AngleSpin.setWrapping(False)
self.m2AngleSpin.setAccelerated(False)
self.m2AngleSpin.setMinimum(-150)
self.m2AngleSpin.setMaximum(150)
self.m2AngleSpin.setObjectName(_fromUtf8("m2AngleSpin"))
self.m2PositionSpin = QtGui.QSpinBox(self.m2CFrame)
self.m2PositionSpin.setGeometry(QtCore.QRect(30, 190, 151, 21))
self.m2PositionSpin.setStyleSheet(_fromUtf8("font: 63 13pt \"KacstArt\";"))
self.m2PositionSpin.setWrapping(False)
self.m2PositionSpin.setAccelerated(False)
self.m2PositionSpin.setMaximum(1023)
self.m2PositionSpin.setObjectName(_fromUtf8("m2PositionSpin"))
self.m2PositionLabel = QtGui.QLabel(self.m2CFrame)
self.m2PositionLabel.setGeometry(QtCore.QRect(70, 170, 81, 21))
self.m2PositionLabel.setStyleSheet(_fromUtf8("font: 63 14pt \"KacstArt\";\n"
"border : none;"))
self.m2PositionLabel.setObjectName(_fromUtf8("m2PositionLabel"))
self.m2AngleBtn = QtGui.QPushButton(self.m2CFrame)
self.m2AngleBtn.setGeometry(QtCore.QRect(30, 130, 151, 21))
self.m2AngleBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 12pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m2AngleBtn.setObjectName(_fromUtf8("m2AngleBtn"))
self.m2PositionBtn = QtGui.QPushButton(self.m2CFrame)
self.m2PositionBtn.setGeometry(QtCore.QRect(30, 220, 151, 21))
self.m2PositionBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 12pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m2PositionBtn.setObjectName(_fromUtf8("m2PositionBtn"))
self.m2HomeBtn = QtGui.QPushButton(self.m2CFrame)
self.m2HomeBtn.setGeometry(QtCore.QRect(20, 370, 171, 61))
self.m2HomeBtn.setStyleSheet(_fromUtf8("QPushButton\n"
"{font: 63 14pt \"KacstArt\";\n"
"border : 2px solid black;\n"
"}\n"
"QPushButton:pressed\n"
"{ \n"
" background-color : rgb(209,209,224);\n"
"}\n"
"\n"
" "))
self.m2HomeBtn.setObjectName(_fromUtf8("m2HomeBtn"))
self.m2Label = QtGui.QLabel(self.m2Page)
self.m2Label.setGeometry(QtCore.QRect(340, 10, 91, 21))
self.m2Label.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m2Label.setObjectName(_fromUtf8("m2Label"))
self.stackedWidget.addWidget(self.m2Page)
self.m3Page = QtGui.QWidget()
self.m3Page.setObjectName(_fromUtf8("m3Page"))
self.m3SFrame = QtGui.QFrame(self.m3Page)
self.m3SFrame.setGeometry(QtCore.QRect(10, 40, 561, 501))
self.m3SFrame.setStyleSheet(_fromUtf8("border : 1px solid rgb(113, 0, 0);\n"
""))
self.m3SFrame.setFrameShape(QtGui.QFrame.StyledPanel)
self.m3SFrame.setFrameShadow(QtGui.QFrame.Raised)
self.m3SFrame.setObjectName(_fromUtf8("m3SFrame"))
self.m3AngLabel = QtGui.QLabel(self.m3SFrame)
self.m3AngLabel.setGeometry(QtCore.QRect(120, 40, 61, 21))
self.m3AngLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m3AngLabel.setObjectName(_fromUtf8("m3AngLabel"))
self.m3PosLabel = QtGui.QLabel(self.m3SFrame)
self.m3PosLabel.setGeometry(QtCore.QRect(390, 40, 91, 21))
self.m3PosLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m3PosLabel.setObjectName(_fromUtf8("m3PosLabel"))
self.m3TorqueLabel = QtGui.QLabel(self.m3SFrame)
self.m3TorqueLabel.setGeometry(QtCore.QRect(80, 270, 141, 21))
self.m3TorqueLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m3TorqueLabel.setObjectName(_fromUtf8("m3TorqueLabel"))
self.m3TempLabel = QtGui.QLabel(self.m3SFrame)
self.m3TempLabel.setGeometry(QtCore.QRect(370, 270, 131, 21))
self.m3TempLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m3TempLabel.setObjectName(_fromUtf8("m3TempLabel"))
self.m3ErrLabel = QtGui.QLabel(self.m3SFrame)
self.m3ErrLabel.setGeometry(QtCore.QRect(260, 390, 61, 21))
self.m3ErrLabel.setStyleSheet(_fromUtf8("font: 63 16pt \"KacstArt\";\n"
"border : none;"))
self.m3ErrLabel.setObjectName(_fromUtf8("m3ErrLabel"))
self.m3AngDial = QtGui.QDial(self.m3SFrame)
self.m3AngDial.setGeometry(QtCore.QRect(100, 80, 91, 81))
self.m3AngDial.setMinimum(-150)
self.m3AngDial.setMaximum(150)
self.m3AngDial.setTracking(True)
self.m3AngDial.setWrapping(False)
self.m3AngDial.setNotchTarget(50.0)
self.m3AngDial.setNotchesVisible(True)
self.m3AngDial.setObjectName(_fromUtf8("m3AngDial"))
self.m3PosDial = QtGui.QDial(self.m3SFrame)
self.m3PosDial.setGeometry(QtCore.QRect(380, 80, 91, 81))
self.m3PosDial.setMinimum(0)
self.m3PosDial.setMaximum(1023)