forked from osdag-admin/Osdag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_OsdagMainPage.py
1000 lines (992 loc) · 48.1 KB
/
ui_OsdagMainPage.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'OsdagMainPage.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setWindowModality(QtCore.Qt.NonModal)
MainWindow.resize(1265, 909)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/newPrefix/images/Osdag.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
MainWindow.setStyleSheet("QWidget::showMaximised()")
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.formLayout = QtWidgets.QFormLayout(self.centralwidget)
self.formLayout.setObjectName("formLayout")
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setObjectName("gridLayout")
self.comboBox_help = QtWidgets.QComboBox(self.centralwidget)
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.HighlightedText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.HighlightedText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(146, 90, 91))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 120, 215))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.HighlightedText, brush)
self.comboBox_help.setPalette(palette)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
font.setKerning(True)
self.comboBox_help.setFont(font)
self.comboBox_help.setFocusPolicy(QtCore.Qt.StrongFocus)
self.comboBox_help.setAutoFillBackground(False)
self.comboBox_help.setStyleSheet("QComboBox::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QComboBox\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}\n"
"\n"
"")
self.comboBox_help.setFrame(True)
self.comboBox_help.setObjectName("comboBox_help")
self.comboBox_help.addItem("")
self.comboBox_help.addItem("")
self.comboBox_help.addItem("")
self.comboBox_help.addItem("")
self.comboBox_help.addItem("")
self.gridLayout.addWidget(self.comboBox_help, 1, 0, 1, 1)
self.myListWidget = QtWidgets.QListWidget(self.centralwidget)
self.myListWidget.setMinimumSize(QtCore.QSize(300, 0))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 84, 69))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 84, 69))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
brush = QtGui.QBrush(QtGui.QColor(171, 194, 80))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
self.myListWidget.setPalette(palette)
self.myListWidget.setFocusPolicy(QtCore.Qt.NoFocus)
self.myListWidget.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
self.myListWidget.setStyleSheet("QListWidget\n"
"{\n"
"background-color: #abc250 ;\n"
"}")
self.myListWidget.setFrameShape(QtWidgets.QFrame.Panel)
self.myListWidget.setFrameShadow(QtWidgets.QFrame.Sunken)
self.myListWidget.setLineWidth(4)
self.myListWidget.setMidLineWidth(2)
self.myListWidget.setObjectName("myListWidget")
self.gridLayout.addWidget(self.myListWidget, 0, 0, 1, 1)
self.formLayout.setLayout(0, QtWidgets.QFormLayout.LabelRole, self.gridLayout)
self.myStackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(13)
font.setBold(False)
font.setItalic(False)
font.setWeight(50)
self.myStackedWidget.setFont(font)
self.myStackedWidget.setFrameShape(QtWidgets.QFrame.NoFrame)
self.myStackedWidget.setFrameShadow(QtWidgets.QFrame.Plain)
self.myStackedWidget.setObjectName("myStackedWidget")
self.Osdagpage = QtWidgets.QWidget()
self.Osdagpage.setObjectName("Osdagpage")
self.gridLayout_2 = QtWidgets.QGridLayout(self.Osdagpage)
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.gridLayout_2.setObjectName("gridLayout_2")
spacerItem = QtWidgets.QSpacerItem(20, 646, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_2.addItem(spacerItem, 2, 0, 1, 1)
self.lbl_OsdagHeader = QtWidgets.QLabel(self.Osdagpage)
self.lbl_OsdagHeader.setMinimumSize(QtCore.QSize(800, 200))
self.lbl_OsdagHeader.setMaximumSize(QtCore.QSize(800, 200))
self.lbl_OsdagHeader.setText("")
self.lbl_OsdagHeader.setPixmap(QtGui.QPixmap(":/newPrefix/images/Osdag_header.png"))
self.lbl_OsdagHeader.setScaledContents(True)
self.lbl_OsdagHeader.setObjectName("lbl_OsdagHeader")
self.gridLayout_2.addWidget(self.lbl_OsdagHeader, 0, 0, 2, 2)
spacerItem1 = QtWidgets.QSpacerItem(532, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_2.addItem(spacerItem1, 3, 1, 1, 1)
self.lbl_iitblogo = QtWidgets.QLabel(self.Osdagpage)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lbl_iitblogo.sizePolicy().hasHeightForWidth())
self.lbl_iitblogo.setSizePolicy(sizePolicy)
self.lbl_iitblogo.setMinimumSize(QtCore.QSize(100, 100))
self.lbl_iitblogo.setText("")
self.lbl_iitblogo.setPixmap(QtGui.QPixmap(":/newPrefix/images/logoiitb.png"))
self.lbl_iitblogo.setScaledContents(False)
self.lbl_iitblogo.setObjectName("lbl_iitblogo")
self.gridLayout_2.addWidget(self.lbl_iitblogo, 3, 2, 1, 1)
spacerItem2 = QtWidgets.QSpacerItem(20, 738, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_2.addItem(spacerItem2, 1, 2, 2, 1)
self.lbl_fosseelogo = QtWidgets.QLabel(self.Osdagpage)
self.lbl_fosseelogo.setMinimumSize(QtCore.QSize(250, 92))
self.lbl_fosseelogo.setMaximumSize(QtCore.QSize(250, 92))
self.lbl_fosseelogo.setText("")
self.lbl_fosseelogo.setPixmap(QtGui.QPixmap(":/newPrefix/images/Fossee_logo.png"))
self.lbl_fosseelogo.setScaledContents(True)
self.lbl_fosseelogo.setObjectName("lbl_fosseelogo")
self.gridLayout_2.addWidget(self.lbl_fosseelogo, 3, 0, 1, 1)
self.myStackedWidget.addWidget(self.Osdagpage)
self.Connectionpage = QtWidgets.QWidget()
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Connectionpage.sizePolicy().hasHeightForWidth())
self.Connectionpage.setSizePolicy(sizePolicy)
self.Connectionpage.setObjectName("Connectionpage")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.Connectionpage)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.mytabWidget = QtWidgets.QTabWidget(self.Connectionpage)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mytabWidget.sizePolicy().hasHeightForWidth())
self.mytabWidget.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.mytabWidget.setFont(font)
self.mytabWidget.setFocusPolicy(QtCore.Qt.ClickFocus)
self.mytabWidget.setStyleSheet("QTabBar::tab {\n"
" margin-right: 10;\n"
" }\n"
"\n"
"QTabBar::tab::selected{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QTabBar::tab::hover{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QTabBar::tab{\n"
"height: 40px;\n"
"width: 200px;\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}\n"
"\n"
"QTabBar::tab{\n"
"border-top-left-radius: 2px ;\n"
"border-top-right-radius: 2px ;\n"
"border-bottom-left-radius: 0px ;\n"
"border-bottom-right-radius: 0px ;\n"
"}\n"
" ")
self.mytabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
self.mytabWidget.setDocumentMode(True)
self.mytabWidget.setTabsClosable(False)
self.mytabWidget.setMovable(False)
self.mytabWidget.setObjectName("mytabWidget")
self.tab1_shearconnection = QtWidgets.QWidget()
font = QtGui.QFont()
font.setItalic(True)
self.tab1_shearconnection.setFont(font)
self.tab1_shearconnection.setObjectName("tab1_shearconnection")
self.gridLayout_3 = QtWidgets.QGridLayout(self.tab1_shearconnection)
self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
self.gridLayout_3.setObjectName("gridLayout_3")
spacerItem3 = QtWidgets.QSpacerItem(20, 102, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_3.addItem(spacerItem3, 0, 2, 1, 1)
spacerItem4 = QtWidgets.QSpacerItem(20, 102, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_3.addItem(spacerItem4, 0, 6, 1, 1)
spacerItem5 = QtWidgets.QSpacerItem(87, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem5, 1, 0, 1, 1)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.label_2 = QtWidgets.QLabel(self.tab1_shearconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.verticalLayout.addWidget(self.label_2)
self.rdbtn_finplate = QtWidgets.QRadioButton(self.tab1_shearconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
font.setStrikeOut(False)
self.rdbtn_finplate.setFont(font)
self.rdbtn_finplate.setFocusPolicy(QtCore.Qt.TabFocus)
self.rdbtn_finplate.setLayoutDirection(QtCore.Qt.LeftToRight)
self.rdbtn_finplate.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("ResourceFiles/images/finplate.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rdbtn_finplate.setIcon(icon1)
self.rdbtn_finplate.setIconSize(QtCore.QSize(300, 300))
self.rdbtn_finplate.setCheckable(True)
self.rdbtn_finplate.setObjectName("rdbtn_finplate")
self.verticalLayout.addWidget(self.rdbtn_finplate)
self.gridLayout_3.addLayout(self.verticalLayout, 1, 1, 1, 3)
spacerItem6 = QtWidgets.QSpacerItem(175, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem6, 1, 4, 1, 1)
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.label_3 = QtWidgets.QLabel(self.tab1_shearconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.verticalLayout_2.addWidget(self.label_3)
self.rdbtn_cleat = QtWidgets.QRadioButton(self.tab1_shearconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
font.setUnderline(False)
font.setWeight(75)
font.setStrikeOut(False)
self.rdbtn_cleat.setFont(font)
self.rdbtn_cleat.setFocusPolicy(QtCore.Qt.TabFocus)
self.rdbtn_cleat.setLayoutDirection(QtCore.Qt.LeftToRight)
self.rdbtn_cleat.setStyleSheet("QRadioButton ")
self.rdbtn_cleat.setText("")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap("ResourceFiles/images/cleatAngle.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rdbtn_cleat.setIcon(icon2)
self.rdbtn_cleat.setIconSize(QtCore.QSize(300, 300))
self.rdbtn_cleat.setObjectName("rdbtn_cleat")
self.verticalLayout_2.addWidget(self.rdbtn_cleat)
self.gridLayout_3.addLayout(self.verticalLayout_2, 1, 5, 1, 3)
spacerItem7 = QtWidgets.QSpacerItem(87, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem7, 1, 8, 1, 1)
spacerItem8 = QtWidgets.QSpacerItem(87, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem8, 2, 0, 1, 1)
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.label_4 = QtWidgets.QLabel(self.tab1_shearconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.verticalLayout_3.addWidget(self.label_4)
self.rdbtn_endplate = QtWidgets.QRadioButton(self.tab1_shearconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.rdbtn_endplate.setFont(font)
self.rdbtn_endplate.setFocusPolicy(QtCore.Qt.TabFocus)
self.rdbtn_endplate.setLayoutDirection(QtCore.Qt.LeftToRight)
self.rdbtn_endplate.setText("")
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap("ResourceFiles/images/endplate.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rdbtn_endplate.setIcon(icon3)
self.rdbtn_endplate.setIconSize(QtCore.QSize(300, 300))
self.rdbtn_endplate.setObjectName("rdbtn_endplate")
self.verticalLayout_3.addWidget(self.rdbtn_endplate)
self.gridLayout_3.addLayout(self.verticalLayout_3, 2, 1, 1, 3)
spacerItem9 = QtWidgets.QSpacerItem(175, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem9, 2, 4, 1, 1)
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.label_5 = QtWidgets.QLabel(self.tab1_shearconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_5.setFont(font)
self.label_5.setObjectName("label_5")
self.verticalLayout_4.addWidget(self.label_5)
self.rdbtn_seat = QtWidgets.QRadioButton(self.tab1_shearconnection)
self.rdbtn_seat.setFocusPolicy(QtCore.Qt.TabFocus)
self.rdbtn_seat.setText("")
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/newPrefix/images/seatedAngle1.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rdbtn_seat.setIcon(icon4)
self.rdbtn_seat.setIconSize(QtCore.QSize(300, 300))
self.rdbtn_seat.setObjectName("rdbtn_seat")
self.verticalLayout_4.addWidget(self.rdbtn_seat)
self.gridLayout_3.addLayout(self.verticalLayout_4, 2, 5, 1, 3)
spacerItem10 = QtWidgets.QSpacerItem(87, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem10, 2, 8, 1, 1)
spacerItem11 = QtWidgets.QSpacerItem(20, 102, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_3.addItem(spacerItem11, 3, 1, 1, 1)
spacerItem12 = QtWidgets.QSpacerItem(20, 102, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_3.addItem(spacerItem12, 3, 7, 1, 1)
spacerItem13 = QtWidgets.QSpacerItem(262, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem13, 4, 3, 1, 1)
self.btn_start = QtWidgets.QPushButton(self.tab1_shearconnection)
self.btn_start.setMinimumSize(QtCore.QSize(190, 30))
self.btn_start.setMaximumSize(QtCore.QSize(190, 30))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_start.setFont(font)
self.btn_start.setFocusPolicy(QtCore.Qt.TabFocus)
self.btn_start.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_start.setCheckable(False)
self.btn_start.setAutoExclusive(False)
self.btn_start.setAutoDefault(True)
self.btn_start.setObjectName("btn_start")
self.gridLayout_3.addWidget(self.btn_start, 4, 4, 1, 1)
spacerItem14 = QtWidgets.QSpacerItem(262, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_3.addItem(spacerItem14, 4, 5, 1, 1)
self.mytabWidget.addTab(self.tab1_shearconnection, "")
self.tab2_momentconnection = QtWidgets.QWidget()
self.tab2_momentconnection.setLayoutDirection(QtCore.Qt.RightToLeft)
self.tab2_momentconnection.setObjectName("tab2_momentconnection")
self.gridLayout_7 = QtWidgets.QGridLayout(self.tab2_momentconnection)
self.gridLayout_7.setContentsMargins(0, 0, 0, 0)
self.gridLayout_7.setObjectName("gridLayout_7")
self.rdbtn_beamcolumn = QtWidgets.QRadioButton(self.tab2_momentconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.rdbtn_beamcolumn.setFont(font)
self.rdbtn_beamcolumn.setLayoutDirection(QtCore.Qt.LeftToRight)
self.rdbtn_beamcolumn.setObjectName("rdbtn_beamcolumn")
self.gridLayout_7.addWidget(self.rdbtn_beamcolumn, 1, 1, 1, 1)
spacerItem15 = QtWidgets.QSpacerItem(156, 152, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_7.addItem(spacerItem15, 2, 1, 1, 1)
spacerItem16 = QtWidgets.QSpacerItem(328, 152, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_7.addItem(spacerItem16, 2, 3, 1, 1)
spacerItem17 = QtWidgets.QSpacerItem(349, 301, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_7.addItem(spacerItem17, 1, 2, 1, 1)
spacerItem18 = QtWidgets.QSpacerItem(349, 25, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_7.addItem(spacerItem18, 3, 2, 1, 1)
self.rdbtn_peb = QtWidgets.QRadioButton(self.tab2_momentconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.rdbtn_peb.setFont(font)
self.rdbtn_peb.setLayoutDirection(QtCore.Qt.LeftToRight)
self.rdbtn_peb.setObjectName("rdbtn_peb")
self.gridLayout_7.addWidget(self.rdbtn_peb, 3, 1, 1, 1)
spacerItem19 = QtWidgets.QSpacerItem(156, 163, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_7.addItem(spacerItem19, 4, 1, 1, 1)
self.rdbtn_colcol = QtWidgets.QRadioButton(self.tab2_momentconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.rdbtn_colcol.setFont(font)
self.rdbtn_colcol.setLayoutDirection(QtCore.Qt.LeftToRight)
self.rdbtn_colcol.setObjectName("rdbtn_colcol")
self.gridLayout_7.addWidget(self.rdbtn_colcol, 3, 3, 1, 1)
spacerItem20 = QtWidgets.QSpacerItem(328, 163, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_7.addItem(spacerItem20, 4, 3, 1, 1)
spacerItem21 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_7.addItem(spacerItem21, 1, 4, 1, 1)
spacerItem22 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_7.addItem(spacerItem22, 1, 0, 1, 1)
self.gridLayout_4 = QtWidgets.QGridLayout()
self.gridLayout_4.setObjectName("gridLayout_4")
self.label_8 = QtWidgets.QLabel(self.tab2_momentconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_8.setFont(font)
self.label_8.setObjectName("label_8")
self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1)
self.rdbtn_beamtobeam = QtWidgets.QRadioButton(self.tab2_momentconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
self.rdbtn_beamtobeam.setFont(font)
self.rdbtn_beamtobeam.setLayoutDirection(QtCore.Qt.LeftToRight)
self.rdbtn_beamtobeam.setText("")
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/newPrefix/images/1.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rdbtn_beamtobeam.setIcon(icon5)
self.rdbtn_beamtobeam.setIconSize(QtCore.QSize(300, 300))
self.rdbtn_beamtobeam.setObjectName("rdbtn_beamtobeam")
self.gridLayout_4.addWidget(self.rdbtn_beamtobeam, 1, 0, 1, 1)
self.gridLayout_7.addLayout(self.gridLayout_4, 1, 3, 1, 1)
spacerItem23 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_7.addItem(spacerItem23, 0, 3, 1, 1)
self.mytabWidget.addTab(self.tab2_momentconnection, "")
self.tab3_trussconnection = QtWidgets.QWidget()
self.tab3_trussconnection.setObjectName("tab3_trussconnection")
self.gridLayout_6 = QtWidgets.QGridLayout(self.tab3_trussconnection)
self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
self.gridLayout_6.setObjectName("gridLayout_6")
spacerItem24 = QtWidgets.QSpacerItem(218, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_6.addItem(spacerItem24, 0, 0, 1, 1)
self.label_6 = QtWidgets.QLabel(self.tab3_trussconnection)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
self.label_6.setFont(font)
self.label_6.setObjectName("label_6")
self.gridLayout_6.addWidget(self.label_6, 0, 1, 1, 1)
spacerItem25 = QtWidgets.QSpacerItem(218, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_6.addItem(spacerItem25, 0, 2, 1, 1)
self.mytabWidget.addTab(self.tab3_trussconnection, "")
self.horizontalLayout.addWidget(self.mytabWidget)
self.myStackedWidget.addWidget(self.Connectionpage)
self.beamtobeampage = QtWidgets.QWidget()
self.beamtobeampage.setObjectName("beamtobeampage")
self.gridLayout_5 = QtWidgets.QGridLayout(self.beamtobeampage)
self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
self.gridLayout_5.setObjectName("gridLayout_5")
self.label_7 = QtWidgets.QLabel(self.beamtobeampage)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_7.setFont(font)
self.label_7.setObjectName("label_7")
self.gridLayout_5.addWidget(self.label_7, 1, 3, 1, 1)
spacerItem26 = QtWidgets.QSpacerItem(143, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_5.addItem(spacerItem26, 2, 2, 1, 1)
spacerItem27 = QtWidgets.QSpacerItem(20, 358, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_5.addItem(spacerItem27, 4, 2, 1, 1)
spacerItem28 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_5.addItem(spacerItem28, 2, 4, 1, 1)
spacerItem29 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_5.addItem(spacerItem29, 3, 1, 1, 1)
spacerItem30 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_5.addItem(spacerItem30, 3, 3, 1, 1)
self.rdbtn_coverplate = QtWidgets.QRadioButton(self.beamtobeampage)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
self.rdbtn_coverplate.setFont(font)
self.rdbtn_coverplate.setText("")
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/newPrefix/images/coverplate.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rdbtn_coverplate.setIcon(icon6)
self.rdbtn_coverplate.setIconSize(QtCore.QSize(300, 300))
self.rdbtn_coverplate.setObjectName("rdbtn_coverplate")
self.gridLayout_5.addWidget(self.rdbtn_coverplate, 2, 1, 1, 1)
spacerItem31 = QtWidgets.QSpacerItem(382, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_5.addItem(spacerItem31, 5, 0, 1, 2)
self.rdbtn_endplate_ext = QtWidgets.QRadioButton(self.beamtobeampage)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
self.rdbtn_endplate_ext.setFont(font)
self.rdbtn_endplate_ext.setText("")
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/newPrefix/images/extended.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rdbtn_endplate_ext.setIcon(icon7)
self.rdbtn_endplate_ext.setIconSize(QtCore.QSize(300, 300))
self.rdbtn_endplate_ext.setObjectName("rdbtn_endplate_ext")
self.gridLayout_5.addWidget(self.rdbtn_endplate_ext, 2, 3, 1, 1)
spacerItem32 = QtWidgets.QSpacerItem(364, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_5.addItem(spacerItem32, 5, 3, 1, 2)
spacerItem33 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_5.addItem(spacerItem33, 2, 0, 1, 1)
spacerItem34 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_5.addItem(spacerItem34, 6, 2, 1, 1)
self.btn_start_2 = QtWidgets.QPushButton(self.beamtobeampage)
self.btn_start_2.setMinimumSize(QtCore.QSize(190, 30))
self.btn_start_2.setMaximumSize(QtCore.QSize(190, 30))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_start_2.setFont(font)
self.btn_start_2.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_start_2.setObjectName("btn_start_2")
self.gridLayout_5.addWidget(self.btn_start_2, 5, 2, 1, 1)
self.label = QtWidgets.QLabel(self.beamtobeampage)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setObjectName("label")
self.gridLayout_5.addWidget(self.label, 1, 1, 1, 1)
spacerItem35 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_5.addItem(spacerItem35, 0, 1, 1, 1)
self.myStackedWidget.addWidget(self.beamtobeampage)
self.page = QtWidgets.QWidget()
self.page.setObjectName("page")
self.myStackedWidget.addWidget(self.page)
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.myStackedWidget)
self.btn_connection = QtWidgets.QPushButton(self.centralwidget)
self.btn_connection.setGeometry(QtCore.QRect(60, 97, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_connection.setFont(font)
self.btn_connection.setMouseTracking(False)
self.btn_connection.setFocusPolicy(QtCore.Qt.StrongFocus)
self.btn_connection.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
self.btn_connection.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}\n"
"")
self.btn_connection.setAutoDefault(True)
self.btn_connection.setDefault(False)
self.btn_connection.setObjectName("btn_connection")
self.btn_tension = QtWidgets.QPushButton(self.centralwidget)
self.btn_tension.setGeometry(QtCore.QRect(60, 144, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_tension.setFont(font)
self.btn_tension.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}\n"
"")
self.btn_tension.setAutoDefault(True)
self.btn_tension.setObjectName("btn_tension")
self.btn_compression = QtWidgets.QPushButton(self.centralwidget)
self.btn_compression.setGeometry(QtCore.QRect(60, 191, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_compression.setFont(font)
self.btn_compression.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}\n"
"")
self.btn_compression.setAutoDefault(True)
self.btn_compression.setObjectName("btn_compression")
self.btn_flexural = QtWidgets.QPushButton(self.centralwidget)
self.btn_flexural.setGeometry(QtCore.QRect(60, 238, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_flexural.setFont(font)
self.btn_flexural.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_flexural.setAutoDefault(True)
self.btn_flexural.setObjectName("btn_flexural")
self.btn_beamCol = QtWidgets.QPushButton(self.centralwidget)
self.btn_beamCol.setGeometry(QtCore.QRect(60, 285, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_beamCol.setFont(font)
self.btn_beamCol.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_beamCol.setAutoDefault(True)
self.btn_beamCol.setObjectName("btn_beamCol")
self.btn_plate = QtWidgets.QPushButton(self.centralwidget)
self.btn_plate.setGeometry(QtCore.QRect(60, 332, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_plate.setFont(font)
self.btn_plate.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_plate.setAutoDefault(True)
self.btn_plate.setObjectName("btn_plate")
self.btn_truss = QtWidgets.QPushButton(self.centralwidget)
self.btn_truss.setGeometry(QtCore.QRect(60, 379, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_truss.setFont(font)
self.btn_truss.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_truss.setAutoDefault(True)
self.btn_truss.setObjectName("btn_truss")
self.btn_2dframe = QtWidgets.QPushButton(self.centralwidget)
self.btn_2dframe.setGeometry(QtCore.QRect(60, 426, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_2dframe.setFont(font)
self.btn_2dframe.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_2dframe.setAutoDefault(True)
self.btn_2dframe.setObjectName("btn_2dframe")
self.btn_3dframe = QtWidgets.QPushButton(self.centralwidget)
self.btn_3dframe.setGeometry(QtCore.QRect(60, 473, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_3dframe.setFont(font)
self.btn_3dframe.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_3dframe.setAutoDefault(True)
self.btn_3dframe.setObjectName("btn_3dframe")
self.btn_groupdesign = QtWidgets.QPushButton(self.centralwidget)
self.btn_groupdesign.setGeometry(QtCore.QRect(60, 520, 200, 32))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.btn_groupdesign.setFont(font)
self.btn_groupdesign.setStyleSheet("QPushButton::hover\n"
"{\n"
" background-color: #d97f7f;\n"
" color:#000000 ;\n"
"}\n"
"\n"
"QPushButton\n"
"{\n"
"background-color: #925a5b;\n"
"color:#ffffff;\n"
"}")
self.btn_groupdesign.setAutoDefault(True)
self.btn_groupdesign.setObjectName("btn_groupdesign")
self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget.setGeometry(QtCore.QRect(11, 11, 2, 2))
self.layoutWidget.setObjectName("layoutWidget")
self.formLayout_2 = QtWidgets.QFormLayout(self.layoutWidget)
self.formLayout_2.setContentsMargins(0, 0, 0, 0)
self.formLayout_2.setObjectName("formLayout_2")
self.layoutWidget.raise_()
self.myStackedWidget.raise_()
self.btn_beamCol.raise_()
self.btn_compression.raise_()
self.btn_truss.raise_()
self.btn_2dframe.raise_()
self.btn_3dframe.raise_()
self.btn_groupdesign.raise_()
self.btn_plate.raise_()
self.btn_tension.raise_()
self.btn_connection.raise_()
self.btn_flexural.raise_()
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1265, 26))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.retranslateUi(MainWindow)
self.comboBox_help.setCurrentIndex(0)
self.myStackedWidget.setCurrentIndex(0)
self.mytabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
MainWindow.setTabOrder(self.btn_connection, self.btn_tension)
MainWindow.setTabOrder(self.btn_tension, self.btn_compression)
MainWindow.setTabOrder(self.btn_compression, self.btn_flexural)
MainWindow.setTabOrder(self.btn_flexural, self.btn_beamCol)
MainWindow.setTabOrder(self.btn_beamCol, self.btn_plate)
MainWindow.setTabOrder(self.btn_plate, self.btn_truss)
MainWindow.setTabOrder(self.btn_truss, self.btn_2dframe)
MainWindow.setTabOrder(self.btn_2dframe, self.btn_3dframe)
MainWindow.setTabOrder(self.btn_3dframe, self.btn_groupdesign)
MainWindow.setTabOrder(self.btn_groupdesign, self.comboBox_help)
MainWindow.setTabOrder(self.comboBox_help, self.rdbtn_finplate)
MainWindow.setTabOrder(self.rdbtn_finplate, self.rdbtn_cleat)
MainWindow.setTabOrder(self.rdbtn_cleat, self.rdbtn_endplate)
MainWindow.setTabOrder(self.rdbtn_endplate, self.rdbtn_seat)
MainWindow.setTabOrder(self.rdbtn_seat, self.btn_start)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "Osdag"))
self.comboBox_help.setItemText(0, _translate("MainWindow", "Help"))
self.comboBox_help.setItemText(1, _translate("MainWindow", "Video Tutorials"))
self.comboBox_help.setItemText(2, _translate("MainWindow", "Design Examples"))
self.comboBox_help.setItemText(3, _translate("MainWindow", "Ask Us a Question"))
self.comboBox_help.setItemText(4, _translate("MainWindow", "About Osdag"))
self.label_2.setToolTip(_translate("MainWindow", "Shift+F"))
self.label_2.setText(_translate("MainWindow", "Fin Plate"))
self.rdbtn_finplate.setShortcut(_translate("MainWindow", "Shift+F"))
self.label_3.setToolTip(_translate("MainWindow", "Shift+C"))
self.label_3.setText(_translate("MainWindow", "Cleat Angle"))
self.rdbtn_cleat.setShortcut(_translate("MainWindow", "Shift+C"))
self.label_4.setToolTip(_translate("MainWindow", "Shift+E"))
self.label_4.setText(_translate("MainWindow", "End Plate"))
self.rdbtn_endplate.setShortcut(_translate("MainWindow", "Shift+E"))
self.label_5.setToolTip(_translate("MainWindow", "Shift+S"))
self.label_5.setText(_translate("MainWindow", "Seated Angle"))
self.rdbtn_seat.setShortcut(_translate("MainWindow", "Shift+S"))
self.btn_start.setToolTip(_translate("MainWindow", "Enter"))
self.btn_start.setText(_translate("MainWindow", "Start"))
self.btn_start.setShortcut(_translate("MainWindow", "Return"))
self.mytabWidget.setTabText(self.mytabWidget.indexOf(self.tab1_shearconnection), _translate("MainWindow", "Shear Connection"))
self.rdbtn_beamcolumn.setText(_translate("MainWindow", "Beam-Column"))
self.rdbtn_peb.setText(_translate("MainWindow", "PEB"))
self.rdbtn_colcol.setText(_translate("MainWindow", "Coulmn-Column"))
self.label_8.setText(_translate("MainWindow", "Beam-Beam"))
self.mytabWidget.setTabText(self.mytabWidget.indexOf(self.tab2_momentconnection), _translate("MainWindow", "Moment Connection"))
self.label_6.setText(_translate("MainWindow", "This module is not available in the current version."))
self.mytabWidget.setTabText(self.mytabWidget.indexOf(self.tab3_trussconnection), _translate("MainWindow", "Truss Connection"))
self.label_7.setText(_translate("MainWindow", "End Plate Connection"))
self.btn_start_2.setText(_translate("MainWindow", "Start"))
self.btn_start_2.setShortcut(_translate("MainWindow", "Return"))
self.label.setText(_translate("MainWindow", "Cover Plate Connection"))
self.btn_connection.setToolTip(_translate("MainWindow", "Ctrl+Shift+C"))
self.btn_connection.setText(_translate("MainWindow", "Connection"))
self.btn_connection.setShortcut(_translate("MainWindow", "Ctrl+Shift+C"))
self.btn_tension.setToolTip(_translate("MainWindow", "Ctrl+Shift+T"))
self.btn_tension.setText(_translate("MainWindow", "Tension Member"))
self.btn_tension.setShortcut(_translate("MainWindow", "Ctrl+Shift+T"))
self.btn_compression.setToolTip(_translate("MainWindow", "Ctrl+Shift+M"))
self.btn_compression.setText(_translate("MainWindow", "Compression Member"))
self.btn_compression.setShortcut(_translate("MainWindow", "Ctrl+Shift+M"))
self.btn_flexural.setToolTip(_translate("MainWindow", "Ctrl+Shift+F"))
self.btn_flexural.setText(_translate("MainWindow", "Flexural Member"))
self.btn_flexural.setShortcut(_translate("MainWindow", "Ctrl+Shift+F"))
self.btn_beamCol.setToolTip(_translate("MainWindow", "Ctrl+Shift+B"))
self.btn_beamCol.setText(_translate("MainWindow", "Beam-Column"))
self.btn_beamCol.setShortcut(_translate("MainWindow", "Ctrl+Shift+B"))
self.btn_plate.setToolTip(_translate("MainWindow", "Ctrl+Shift+P"))
self.btn_plate.setText(_translate("MainWindow", "Plate Girder"))
self.btn_plate.setShortcut(_translate("MainWindow", "Ctrl+Shift+P"))
self.btn_truss.setToolTip(_translate("MainWindow", "Ctrl+Shift+R"))
self.btn_truss.setText(_translate("MainWindow", "Truss"))
self.btn_truss.setShortcut(_translate("MainWindow", "Ctrl+Shift+R"))
self.btn_2dframe.setToolTip(_translate("MainWindow", "Ctrl+2"))
self.btn_2dframe.setText(_translate("MainWindow", "2D Frame"))
self.btn_2dframe.setShortcut(_translate("MainWindow", "Ctrl+2"))
self.btn_3dframe.setToolTip(_translate("MainWindow", "Ctrl+3"))
self.btn_3dframe.setText(_translate("MainWindow", "3D Frame"))
self.btn_3dframe.setShortcut(_translate("MainWindow", "Ctrl+3"))
self.btn_groupdesign.setToolTip(_translate("MainWindow", "Ctrl+Shift+D"))
self.btn_groupdesign.setText(_translate("MainWindow", "Group Design"))
self.btn_groupdesign.setShortcut(_translate("MainWindow", "Ctrl+Shift+D"))
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar"))
import osdagMainPageIcons_rc
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())