-
Notifications
You must be signed in to change notification settings - Fork 4
/
ui_mainwindow.py
1276 lines (987 loc) · 66.7 KB
/
ui_mainwindow.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 generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QAbstractItemView, QAbstractSpinBox, QApplication, QCheckBox,
QComboBox, QFormLayout, QFrame, QGridLayout,
QGroupBox, QHBoxLayout, QHeaderView, QLabel,
QLayout, QLineEdit, QMainWindow, QMenuBar,
QPushButton, QSizePolicy, QSlider, QSpacerItem,
QSpinBox, QTabWidget, QTableView, QTableWidget,
QTableWidgetItem, QToolButton, QVBoxLayout, QWidget)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(901, 725)
self.centralwidget = QWidget(MainWindow)
self.centralwidget.setObjectName(u"centralwidget")
self.formLayout = QFormLayout(self.centralwidget)
self.formLayout.setObjectName(u"formLayout")
self.frame = QFrame(self.centralwidget)
self.frame.setObjectName(u"frame")
sizePolicy = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
self.frame.setSizePolicy(sizePolicy)
self.frame.setFrameShape(QFrame.StyledPanel)
self.frame.setFrameShadow(QFrame.Plain)
self.frame.setLineWidth(0)
self.verticalLayout = QVBoxLayout(self.frame)
self.verticalLayout.setSpacing(3)
self.verticalLayout.setObjectName(u"verticalLayout")
self.groupBox_sb_info = QWidget(self.frame)
self.groupBox_sb_info.setObjectName(u"groupBox_sb_info")
self.groupBox_sb_info.setEnabled(False)
self.verticalLayout_3 = QVBoxLayout(self.groupBox_sb_info)
self.verticalLayout_3.setSpacing(4)
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
self.widget = QWidget(self.groupBox_sb_info)
self.widget.setObjectName(u"widget")
self.horizontalLayout_2 = QHBoxLayout(self.widget)
self.horizontalLayout_2.setSpacing(1)
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.tableWidget_boxes = QTableWidget(self.widget)
if (self.tableWidget_boxes.columnCount() < 2):
self.tableWidget_boxes.setColumnCount(2)
__qtablewidgetitem = QTableWidgetItem()
self.tableWidget_boxes.setHorizontalHeaderItem(0, __qtablewidgetitem)
__qtablewidgetitem1 = QTableWidgetItem()
self.tableWidget_boxes.setHorizontalHeaderItem(1, __qtablewidgetitem1)
self.tableWidget_boxes.setObjectName(u"tableWidget_boxes")
self.tableWidget_boxes.setMinimumSize(QSize(0, 100))
self.tableWidget_boxes.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
self.tableWidget_boxes.setEditTriggers(QAbstractItemView.NoEditTriggers)
self.tableWidget_boxes.setTabKeyNavigation(False)
self.tableWidget_boxes.setDragDropOverwriteMode(False)
self.tableWidget_boxes.setSelectionMode(QAbstractItemView.SingleSelection)
self.tableWidget_boxes.setShowGrid(False)
self.tableWidget_boxes.horizontalHeader().setCascadingSectionResizes(True)
self.tableWidget_boxes.verticalHeader().setVisible(False)
self.horizontalLayout_2.addWidget(self.tableWidget_boxes)
self.widget_8 = QWidget(self.widget)
self.widget_8.setObjectName(u"widget_8")
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Preferred)
sizePolicy1.setHorizontalStretch(0)
sizePolicy1.setVerticalStretch(0)
sizePolicy1.setHeightForWidth(self.widget_8.sizePolicy().hasHeightForWidth())
self.widget_8.setSizePolicy(sizePolicy1)
self.gridLayout_4 = QGridLayout(self.widget_8)
self.gridLayout_4.setSpacing(0)
self.gridLayout_4.setObjectName(u"gridLayout_4")
self.gridLayout_4.setSizeConstraint(QLayout.SetMinimumSize)
self.gridLayout_4.setContentsMargins(3, 0, 0, 0)
self.toolButton_addBox = QToolButton(self.widget_8)
self.toolButton_addBox.setObjectName(u"toolButton_addBox")
self.toolButton_addBox.setMinimumSize(QSize(27, 0))
font = QFont()
font.setPointSize(14)
font.setBold(True)
self.toolButton_addBox.setFont(font)
self.gridLayout_4.addWidget(self.toolButton_addBox, 0, 0, 1, 1)
self.toolButton_removeBox = QToolButton(self.widget_8)
self.toolButton_removeBox.setObjectName(u"toolButton_removeBox")
self.toolButton_removeBox.setMinimumSize(QSize(27, 0))
self.toolButton_removeBox.setFont(font)
self.gridLayout_4.addWidget(self.toolButton_removeBox, 1, 0, 1, 1)
self.horizontalLayout_2.addWidget(self.widget_8, 0, Qt.AlignHCenter)
self.verticalLayout_3.addWidget(self.widget)
self.widget_2 = QWidget(self.groupBox_sb_info)
self.widget_2.setObjectName(u"widget_2")
self.horizontalLayout_5 = QHBoxLayout(self.widget_2)
self.horizontalLayout_5.setSpacing(3)
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
self.pushButton_makeBox = QPushButton(self.widget_2)
self.pushButton_makeBox.setObjectName(u"pushButton_makeBox")
self.pushButton_makeBox.setEnabled(False)
self.horizontalLayout_5.addWidget(self.pushButton_makeBox)
self.pushButton_removeBox = QPushButton(self.widget_2)
self.pushButton_removeBox.setObjectName(u"pushButton_removeBox")
self.pushButton_removeBox.setEnabled(False)
self.horizontalLayout_5.addWidget(self.pushButton_removeBox)
self.verticalLayout_3.addWidget(self.widget_2)
self.groupBox_target_settings = QGroupBox(self.groupBox_sb_info)
self.groupBox_target_settings.setObjectName(u"groupBox_target_settings")
self.verticalLayout_5 = QVBoxLayout(self.groupBox_target_settings)
self.verticalLayout_5.setSpacing(2)
self.verticalLayout_5.setObjectName(u"verticalLayout_5")
self.verticalLayout_5.setContentsMargins(3, 0, 3, 3)
self.widget_10 = QWidget(self.groupBox_target_settings)
self.widget_10.setObjectName(u"widget_10")
sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
sizePolicy2.setHorizontalStretch(0)
sizePolicy2.setVerticalStretch(0)
sizePolicy2.setHeightForWidth(self.widget_10.sizePolicy().hasHeightForWidth())
self.widget_10.setSizePolicy(sizePolicy2)
self.horizontalLayout_12 = QHBoxLayout(self.widget_10)
self.horizontalLayout_12.setSpacing(3)
self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
self.horizontalLayout_12.setContentsMargins(0, 0, 0, 0)
self.label_6 = QLabel(self.widget_10)
self.label_6.setObjectName(u"label_6")
self.horizontalLayout_12.addWidget(self.label_6)
self.label_selectedInfo = QLabel(self.widget_10)
self.label_selectedInfo.setObjectName(u"label_selectedInfo")
self.horizontalLayout_12.addWidget(self.label_selectedInfo)
self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_12.addItem(self.horizontalSpacer_3)
self.pushButton_restoreDefaults = QPushButton(self.widget_10)
self.pushButton_restoreDefaults.setObjectName(u"pushButton_restoreDefaults")
self.horizontalLayout_12.addWidget(self.pushButton_restoreDefaults)
self.verticalLayout_5.addWidget(self.widget_10)
self.widget_7 = QWidget(self.groupBox_target_settings)
self.widget_7.setObjectName(u"widget_7")
sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
sizePolicy3.setHorizontalStretch(0)
sizePolicy3.setVerticalStretch(0)
sizePolicy3.setHeightForWidth(self.widget_7.sizePolicy().hasHeightForWidth())
self.widget_7.setSizePolicy(sizePolicy3)
self.horizontalLayout_8 = QHBoxLayout(self.widget_7)
self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
self.label_2 = QLabel(self.widget_7)
self.label_2.setObjectName(u"label_2")
self.horizontalLayout_8.addWidget(self.label_2)
self.lineEdit_format = QLineEdit(self.widget_7)
self.lineEdit_format.setObjectName(u"lineEdit_format")
sizePolicy4 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
sizePolicy4.setHorizontalStretch(0)
sizePolicy4.setVerticalStretch(0)
sizePolicy4.setHeightForWidth(self.lineEdit_format.sizePolicy().hasHeightForWidth())
self.lineEdit_format.setSizePolicy(sizePolicy4)
self.horizontalLayout_8.addWidget(self.lineEdit_format)
self.comboBox_formatPrefix = QComboBox(self.widget_7)
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.addItem("")
self.comboBox_formatPrefix.setObjectName(u"comboBox_formatPrefix")
sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
sizePolicy5.setHorizontalStretch(0)
sizePolicy5.setVerticalStretch(0)
sizePolicy5.setHeightForWidth(self.comboBox_formatPrefix.sizePolicy().hasHeightForWidth())
self.comboBox_formatPrefix.setSizePolicy(sizePolicy5)
self.horizontalLayout_8.addWidget(self.comboBox_formatPrefix)
self.verticalLayout_5.addWidget(self.widget_7)
self.widget_19 = QWidget(self.groupBox_target_settings)
self.widget_19.setObjectName(u"widget_19")
self.horizontalLayout_21 = QHBoxLayout(self.widget_19)
self.horizontalLayout_21.setSpacing(3)
self.horizontalLayout_21.setObjectName(u"horizontalLayout_21")
self.horizontalLayout_21.setContentsMargins(0, 0, 0, 0)
self.label_13 = QLabel(self.widget_19)
self.label_13.setObjectName(u"label_13")
self.horizontalLayout_21.addWidget(self.label_13)
self.comboBox_fieldType = QComboBox(self.widget_19)
self.comboBox_fieldType.addItem("")
self.comboBox_fieldType.addItem("")
self.comboBox_fieldType.addItem("")
self.comboBox_fieldType.setObjectName(u"comboBox_fieldType")
self.horizontalLayout_21.addWidget(self.comboBox_fieldType)
self.verticalLayout_5.addWidget(self.widget_19)
self.widget_14 = QWidget(self.groupBox_target_settings)
self.widget_14.setObjectName(u"widget_14")
sizePolicy2.setHeightForWidth(self.widget_14.sizePolicy().hasHeightForWidth())
self.widget_14.setSizePolicy(sizePolicy2)
self.horizontalLayout_16 = QHBoxLayout(self.widget_14)
self.horizontalLayout_16.setSpacing(3)
self.horizontalLayout_16.setObjectName(u"horizontalLayout_16")
self.horizontalLayout_16.setContentsMargins(0, 0, 0, 0)
self.checkBox_smoothing = QCheckBox(self.widget_14)
self.checkBox_smoothing.setObjectName(u"checkBox_smoothing")
self.horizontalLayout_16.addWidget(self.checkBox_smoothing)
self.checkBox_ordinalIndicator = QCheckBox(self.widget_14)
self.checkBox_ordinalIndicator.setObjectName(u"checkBox_ordinalIndicator")
self.horizontalLayout_16.addWidget(self.checkBox_ordinalIndicator)
self.verticalLayout_5.addWidget(self.widget_14)
self.widget_11 = QWidget(self.groupBox_target_settings)
self.widget_11.setObjectName(u"widget_11")
sizePolicy2.setHeightForWidth(self.widget_11.sizePolicy().hasHeightForWidth())
self.widget_11.setSizePolicy(sizePolicy2)
self.horizontalLayout_13 = QHBoxLayout(self.widget_11)
self.horizontalLayout_13.setSpacing(3)
self.horizontalLayout_13.setObjectName(u"horizontalLayout_13")
self.horizontalLayout_13.setContentsMargins(0, 0, 0, 0)
self.checkBox_skip_empty = QCheckBox(self.widget_11)
self.checkBox_skip_empty.setObjectName(u"checkBox_skip_empty")
self.horizontalLayout_13.addWidget(self.checkBox_skip_empty)
self.checkBox_skip_similar_image = QCheckBox(self.widget_11)
self.checkBox_skip_similar_image.setObjectName(u"checkBox_skip_similar_image")
self.horizontalLayout_13.addWidget(self.checkBox_skip_similar_image)
self.verticalLayout_5.addWidget(self.widget_11)
self.widget_15 = QWidget(self.groupBox_target_settings)
self.widget_15.setObjectName(u"widget_15")
sizePolicy2.setHeightForWidth(self.widget_15.sizePolicy().hasHeightForWidth())
self.widget_15.setSizePolicy(sizePolicy2)
self.horizontalLayout_17 = QHBoxLayout(self.widget_15)
self.horizontalLayout_17.setSpacing(3)
self.horizontalLayout_17.setObjectName(u"horizontalLayout_17")
self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0)
self.checkBox_autocrop = QCheckBox(self.widget_15)
self.checkBox_autocrop.setObjectName(u"checkBox_autocrop")
self.horizontalLayout_17.addWidget(self.checkBox_autocrop)
self.checkBox_invertPatch = QCheckBox(self.widget_15)
self.checkBox_invertPatch.setObjectName(u"checkBox_invertPatch")
self.horizontalLayout_17.addWidget(self.checkBox_invertPatch)
self.verticalLayout_5.addWidget(self.widget_15)
self.widget_22 = QWidget(self.groupBox_target_settings)
self.widget_22.setObjectName(u"widget_22")
self.horizontalLayout_25 = QHBoxLayout(self.widget_22)
self.horizontalLayout_25.setSpacing(3)
self.horizontalLayout_25.setObjectName(u"horizontalLayout_25")
self.horizontalLayout_25.setContentsMargins(0, 0, 0, 0)
self.checkBox_removeLeadingZeros = QCheckBox(self.widget_22)
self.checkBox_removeLeadingZeros.setObjectName(u"checkBox_removeLeadingZeros")
self.horizontalLayout_25.addWidget(self.checkBox_removeLeadingZeros)
self.checkBox_dotDetector = QCheckBox(self.widget_22)
self.checkBox_dotDetector.setObjectName(u"checkBox_dotDetector")
self.horizontalLayout_25.addWidget(self.checkBox_dotDetector)
self.verticalLayout_5.addWidget(self.widget_22)
self.widget_9 = QWidget(self.groupBox_target_settings)
self.widget_9.setObjectName(u"widget_9")
self.horizontalLayout_11 = QHBoxLayout(self.widget_9)
self.horizontalLayout_11.setSpacing(3)
self.horizontalLayout_11.setObjectName(u"horizontalLayout_11")
self.horizontalLayout_11.setContentsMargins(0, 0, 0, 0)
self.checkBox_rescalePatch = QCheckBox(self.widget_9)
self.checkBox_rescalePatch.setObjectName(u"checkBox_rescalePatch")
self.horizontalLayout_11.addWidget(self.checkBox_rescalePatch)
self.checkBox_normWHRatio = QCheckBox(self.widget_9)
self.checkBox_normWHRatio.setObjectName(u"checkBox_normWHRatio")
self.horizontalLayout_11.addWidget(self.checkBox_normWHRatio)
self.verticalLayout_5.addWidget(self.widget_9)
self.widget_20 = QWidget(self.groupBox_target_settings)
self.widget_20.setObjectName(u"widget_20")
self.horizontalLayout_23 = QHBoxLayout(self.widget_20)
self.horizontalLayout_23.setSpacing(3)
self.horizontalLayout_23.setObjectName(u"horizontalLayout_23")
self.horizontalLayout_23.setContentsMargins(0, 0, 0, 0)
self.label_binarizationMethod = QLabel(self.widget_20)
self.label_binarizationMethod.setObjectName(u"label_binarizationMethod")
self.horizontalLayout_23.addWidget(self.label_binarizationMethod)
self.comboBox_binarizationMethod = QComboBox(self.widget_20)
self.comboBox_binarizationMethod.addItem("")
self.comboBox_binarizationMethod.addItem("")
self.comboBox_binarizationMethod.addItem("")
self.comboBox_binarizationMethod.addItem("")
self.comboBox_binarizationMethod.setObjectName(u"comboBox_binarizationMethod")
self.horizontalLayout_23.addWidget(self.comboBox_binarizationMethod)
self.verticalLayout_5.addWidget(self.widget_20)
self.widget_17 = QWidget(self.groupBox_target_settings)
self.widget_17.setObjectName(u"widget_17")
sizePolicy3.setHeightForWidth(self.widget_17.sizePolicy().hasHeightForWidth())
self.widget_17.setSizePolicy(sizePolicy3)
self.horizontalLayout_20 = QHBoxLayout(self.widget_17)
self.horizontalLayout_20.setSpacing(3)
self.horizontalLayout_20.setObjectName(u"horizontalLayout_20")
self.horizontalLayout_20.setContentsMargins(0, 0, 0, 0)
self.label_4 = QLabel(self.widget_17)
self.label_4.setObjectName(u"label_4")
self.horizontalLayout_20.addWidget(self.label_4)
self.horizontalSlider_cleanup = QSlider(self.widget_17)
self.horizontalSlider_cleanup.setObjectName(u"horizontalSlider_cleanup")
self.horizontalSlider_cleanup.setOrientation(Qt.Horizontal)
self.horizontalLayout_20.addWidget(self.horizontalSlider_cleanup)
self.label_15 = QLabel(self.widget_17)
self.label_15.setObjectName(u"label_15")
self.horizontalLayout_20.addWidget(self.label_15)
self.horizontalSlider_vscale = QSlider(self.widget_17)
self.horizontalSlider_vscale.setObjectName(u"horizontalSlider_vscale")
self.horizontalSlider_vscale.setMinimum(1)
self.horizontalSlider_vscale.setMaximum(10)
self.horizontalSlider_vscale.setPageStep(5)
self.horizontalSlider_vscale.setValue(10)
self.horizontalSlider_vscale.setOrientation(Qt.Horizontal)
self.horizontalLayout_20.addWidget(self.horizontalSlider_vscale)
self.verticalLayout_5.addWidget(self.widget_17)
self.widget_13 = QWidget(self.groupBox_target_settings)
self.widget_13.setObjectName(u"widget_13")
sizePolicy2.setHeightForWidth(self.widget_13.sizePolicy().hasHeightForWidth())
self.widget_13.setSizePolicy(sizePolicy2)
self.horizontalLayout_15 = QHBoxLayout(self.widget_13)
self.horizontalLayout_15.setSpacing(3)
self.horizontalLayout_15.setObjectName(u"horizontalLayout_15")
self.horizontalLayout_15.setContentsMargins(0, 0, 0, 0)
self.label_9 = QLabel(self.widget_13)
self.label_9.setObjectName(u"label_9")
self.horizontalLayout_15.addWidget(self.label_9)
self.horizontalSlider_dilate = QSlider(self.widget_13)
self.horizontalSlider_dilate.setObjectName(u"horizontalSlider_dilate")
self.horizontalSlider_dilate.setMaximum(5)
self.horizontalSlider_dilate.setPageStep(1)
self.horizontalSlider_dilate.setOrientation(Qt.Horizontal)
self.horizontalLayout_15.addWidget(self.horizontalSlider_dilate)
self.label_14 = QLabel(self.widget_13)
self.label_14.setObjectName(u"label_14")
self.horizontalLayout_15.addWidget(self.label_14)
self.horizontalSlider_skew = QSlider(self.widget_13)
self.horizontalSlider_skew.setObjectName(u"horizontalSlider_skew")
self.horizontalSlider_skew.setMinimum(-10)
self.horizontalSlider_skew.setMaximum(10)
self.horizontalSlider_skew.setOrientation(Qt.Horizontal)
self.horizontalLayout_15.addWidget(self.horizontalSlider_skew)
self.verticalLayout_5.addWidget(self.widget_13)
self.widget_21 = QWidget(self.groupBox_target_settings)
self.widget_21.setObjectName(u"widget_21")
self.horizontalLayout_24 = QHBoxLayout(self.widget_21)
self.horizontalLayout_24.setSpacing(3)
self.horizontalLayout_24.setObjectName(u"horizontalLayout_24")
self.horizontalLayout_24.setContentsMargins(0, 0, 0, 0)
self.label_3 = QLabel(self.widget_21)
self.label_3.setObjectName(u"label_3")
self.horizontalLayout_24.addWidget(self.label_3)
self.horizontalSlider_conf_thresh = QSlider(self.widget_21)
self.horizontalSlider_conf_thresh.setObjectName(u"horizontalSlider_conf_thresh")
self.horizontalSlider_conf_thresh.setValue(50)
self.horizontalSlider_conf_thresh.setOrientation(Qt.Horizontal)
self.horizontalLayout_24.addWidget(self.horizontalSlider_conf_thresh)
self.verticalLayout_5.addWidget(self.widget_21)
self.verticalLayout_3.addWidget(self.groupBox_target_settings)
self.widget_23 = QWidget(self.groupBox_sb_info)
self.widget_23.setObjectName(u"widget_23")
self.horizontalLayout = QHBoxLayout(self.widget_23)
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.checkBox_templatefield = QCheckBox(self.widget_23)
self.checkBox_templatefield.setObjectName(u"checkBox_templatefield")
self.horizontalLayout.addWidget(self.checkBox_templatefield)
self.lineEdit_templatefield = QLineEdit(self.widget_23)
self.lineEdit_templatefield.setObjectName(u"lineEdit_templatefield")
self.horizontalLayout.addWidget(self.lineEdit_templatefield)
self.verticalLayout_3.addWidget(self.widget_23)
self.widget_6 = QWidget(self.groupBox_sb_info)
self.widget_6.setObjectName(u"widget_6")
self.horizontalLayout_7 = QHBoxLayout(self.widget_6)
self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
self.label_10 = QLabel(self.widget_6)
self.label_10.setObjectName(u"label_10")
sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
self.label_10.setSizePolicy(sizePolicy)
self.horizontalLayout_7.addWidget(self.label_10)
self.comboBox_ocrModel = QComboBox(self.widget_6)
self.comboBox_ocrModel.setObjectName(u"comboBox_ocrModel")
self.horizontalLayout_7.addWidget(self.comboBox_ocrModel)
self.verticalLayout_3.addWidget(self.widget_6)
self.verticalLayout.addWidget(self.groupBox_sb_info)
self.line_2 = QFrame(self.frame)
self.line_2.setObjectName(u"line_2")
self.line_2.setMidLineWidth(1)
self.line_2.setFrameShape(QFrame.Shape.HLine)
self.line_2.setFrameShadow(QFrame.Shadow.Sunken)
self.verticalLayout.addWidget(self.line_2)
self.tabWidget_outputs = QTabWidget(self.frame)
self.tabWidget_outputs.setObjectName(u"tabWidget_outputs")
self.tabWidget_outputs.setTabShape(QTabWidget.Rounded)
self.tab_textFiles = QWidget()
self.tab_textFiles.setObjectName(u"tab_textFiles")
sizePolicy3.setHeightForWidth(self.tab_textFiles.sizePolicy().hasHeightForWidth())
self.tab_textFiles.setSizePolicy(sizePolicy3)
self.formLayout_2 = QFormLayout(self.tab_textFiles)
self.formLayout_2.setObjectName(u"formLayout_2")
self.formLayout_2.setVerticalSpacing(3)
self.formLayout_2.setContentsMargins(-1, -1, -1, 0)
self.label_7 = QLabel(self.tab_textFiles)
self.label_7.setObjectName(u"label_7")
self.formLayout_2.setWidget(0, QFormLayout.LabelRole, self.label_7)
self.widget_5 = QWidget(self.tab_textFiles)
self.widget_5.setObjectName(u"widget_5")
sizePolicy4.setHeightForWidth(self.widget_5.sizePolicy().hasHeightForWidth())
self.widget_5.setSizePolicy(sizePolicy4)
self.horizontalLayout_6 = QHBoxLayout(self.widget_5)
self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
self.lineEdit_folder = QLineEdit(self.widget_5)
self.lineEdit_folder.setObjectName(u"lineEdit_folder")
self.lineEdit_folder.setReadOnly(True)
self.horizontalLayout_6.addWidget(self.lineEdit_folder)
self.pushButton_selectFolder = QToolButton(self.widget_5)
self.pushButton_selectFolder.setObjectName(u"pushButton_selectFolder")
self.horizontalLayout_6.addWidget(self.pushButton_selectFolder)
self.toolButton_trashFolder = QToolButton(self.widget_5)
self.toolButton_trashFolder.setObjectName(u"toolButton_trashFolder")
self.horizontalLayout_6.addWidget(self.toolButton_trashFolder)
self.formLayout_2.setWidget(0, QFormLayout.FieldRole, self.widget_5)
self.widget_12 = QWidget(self.tab_textFiles)
self.widget_12.setObjectName(u"widget_12")
sizePolicy4.setHeightForWidth(self.widget_12.sizePolicy().hasHeightForWidth())
self.widget_12.setSizePolicy(sizePolicy4)
self.horizontalLayout_14 = QHBoxLayout(self.widget_12)
self.horizontalLayout_14.setObjectName(u"horizontalLayout_14")
self.horizontalLayout_14.setContentsMargins(0, 0, 0, 0)
self.checkBox_saveCsv = QCheckBox(self.widget_12)
self.checkBox_saveCsv.setObjectName(u"checkBox_saveCsv")
self.horizontalLayout_14.addWidget(self.checkBox_saveCsv)
self.checkBox_saveXML = QCheckBox(self.widget_12)
self.checkBox_saveXML.setObjectName(u"checkBox_saveXML")
self.horizontalLayout_14.addWidget(self.checkBox_saveXML)
self.formLayout_2.setWidget(1, QFormLayout.FieldRole, self.widget_12)
self.label_append = QLabel(self.tab_textFiles)
self.label_append.setObjectName(u"label_append")
self.formLayout_2.setWidget(2, QFormLayout.LabelRole, self.label_append)
self.comboBox_appendMethod = QComboBox(self.tab_textFiles)
self.comboBox_appendMethod.addItem("")
self.comboBox_appendMethod.addItem("")
self.comboBox_appendMethod.addItem("")
self.comboBox_appendMethod.addItem("")
self.comboBox_appendMethod.setObjectName(u"comboBox_appendMethod")
sizePolicy4.setHeightForWidth(self.comboBox_appendMethod.sizePolicy().hasHeightForWidth())
self.comboBox_appendMethod.setSizePolicy(sizePolicy4)
self.formLayout_2.setWidget(2, QFormLayout.FieldRole, self.comboBox_appendMethod)
self.label_savePerSec = QLabel(self.tab_textFiles)
self.label_savePerSec.setObjectName(u"label_savePerSec")
self.formLayout_2.setWidget(3, QFormLayout.LabelRole, self.label_savePerSec)
self.horizontalSlider_aggsPerSecond = QSlider(self.tab_textFiles)
self.horizontalSlider_aggsPerSecond.setObjectName(u"horizontalSlider_aggsPerSecond")
self.horizontalSlider_aggsPerSecond.setMinimum(1)
self.horizontalSlider_aggsPerSecond.setMaximum(10)
self.horizontalSlider_aggsPerSecond.setPageStep(1)
self.horizontalSlider_aggsPerSecond.setValue(5)
self.horizontalSlider_aggsPerSecond.setOrientation(Qt.Horizontal)
self.horizontalSlider_aggsPerSecond.setTickPosition(QSlider.TicksBelow)
self.formLayout_2.setWidget(3, QFormLayout.FieldRole, self.horizontalSlider_aggsPerSecond)
self.tabWidget_outputs.addTab(self.tab_textFiles, "")
self.tab_browser = QWidget()
self.tab_browser.setObjectName(u"tab_browser")
self.verticalLayout_4 = QVBoxLayout(self.tab_browser)
self.verticalLayout_4.setObjectName(u"verticalLayout_4")
self.label_8 = QLabel(self.tab_browser)
self.label_8.setObjectName(u"label_8")
self.label_8.setTextFormat(Qt.RichText)
self.label_8.setOpenExternalLinks(True)
self.label_8.setTextInteractionFlags(Qt.LinksAccessibleByMouse|Qt.TextSelectableByMouse)
self.verticalLayout_4.addWidget(self.label_8, 0, Qt.AlignTop)
self.tabWidget_outputs.addTab(self.tab_browser, "")
self.tab_obs = QWidget()
self.tab_obs.setObjectName(u"tab_obs")
self.gridLayout_2 = QGridLayout(self.tab_obs)
self.gridLayout_2.setObjectName(u"gridLayout_2")
self.gridLayout_2.setVerticalSpacing(2)
self.pushButton_connectObs = QPushButton(self.tab_obs)
self.pushButton_connectObs.setObjectName(u"pushButton_connectObs")
sizePolicy6 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
sizePolicy6.setHorizontalStretch(0)
sizePolicy6.setVerticalStretch(0)
sizePolicy6.setHeightForWidth(self.pushButton_connectObs.sizePolicy().hasHeightForWidth())
self.pushButton_connectObs.setSizePolicy(sizePolicy6)
self.pushButton_connectObs.setMinimumSize(QSize(0, 0))
self.gridLayout_2.addWidget(self.pushButton_connectObs, 0, 0, 1, 1)
self.widget_18 = QWidget(self.tab_obs)
self.widget_18.setObjectName(u"widget_18")
self.horizontalLayout_22 = QHBoxLayout(self.widget_18)
self.horizontalLayout_22.setObjectName(u"horizontalLayout_22")
self.lineEdit_sceneName = QLineEdit(self.widget_18)
self.lineEdit_sceneName.setObjectName(u"lineEdit_sceneName")
self.lineEdit_sceneName.setEnabled(False)
self.horizontalLayout_22.addWidget(self.lineEdit_sceneName)
self.pushButton_createOBSScene = QPushButton(self.widget_18)
self.pushButton_createOBSScene.setObjectName(u"pushButton_createOBSScene")
self.pushButton_createOBSScene.setEnabled(False)
self.horizontalLayout_22.addWidget(self.pushButton_createOBSScene)
self.checkBox_recreate = QCheckBox(self.widget_18)
self.checkBox_recreate.setObjectName(u"checkBox_recreate")
self.checkBox_recreate.setEnabled(False)
self.checkBox_recreate.setChecked(True)
self.horizontalLayout_22.addWidget(self.checkBox_recreate)
self.gridLayout_2.addWidget(self.widget_18, 1, 0, 1, 1, Qt.AlignTop)
self.tabWidget_outputs.addTab(self.tab_obs, "")
self.tab_vmix = QWidget()
self.tab_vmix.setObjectName(u"tab_vmix")
self.gridLayout_3 = QGridLayout(self.tab_vmix)
self.gridLayout_3.setObjectName(u"gridLayout_3")
self.gridLayout_3.setVerticalSpacing(2)
self.tableView_vmixMapping = QTableView(self.tab_vmix)
self.tableView_vmixMapping.setObjectName(u"tableView_vmixMapping")
self.tableView_vmixMapping.horizontalHeader().setVisible(False)
self.tableView_vmixMapping.horizontalHeader().setStretchLastSection(True)
self.gridLayout_3.addWidget(self.tableView_vmixMapping, 1, 0, 1, 1)
self.verticalLayout_6 = QVBoxLayout()
self.verticalLayout_6.setObjectName(u"verticalLayout_6")
self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
self.connectionWidget = QWidget(self.tab_vmix)
self.connectionWidget.setObjectName(u"connectionWidget")
self.horizontalLayout_18 = QHBoxLayout(self.connectionWidget)
self.horizontalLayout_18.setSpacing(3)
self.horizontalLayout_18.setObjectName(u"horizontalLayout_18")
self.horizontalLayout_18.setContentsMargins(0, 0, 0, 0)
self.connectionLabel = QLabel(self.connectionWidget)
self.connectionLabel.setObjectName(u"connectionLabel")
self.horizontalLayout_18.addWidget(self.connectionLabel)
self.lineEdit_vmixHost = QLineEdit(self.connectionWidget)
self.lineEdit_vmixHost.setObjectName(u"lineEdit_vmixHost")
self.horizontalLayout_18.addWidget(self.lineEdit_vmixHost)
self.label_5 = QLabel(self.connectionWidget)
self.label_5.setObjectName(u"label_5")
self.horizontalLayout_18.addWidget(self.label_5)
self.lineEdit_vmixPort = QLineEdit(self.connectionWidget)
self.lineEdit_vmixPort.setObjectName(u"lineEdit_vmixPort")
sizePolicy7 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
sizePolicy7.setHorizontalStretch(0)
sizePolicy7.setVerticalStretch(0)
sizePolicy7.setHeightForWidth(self.lineEdit_vmixPort.sizePolicy().hasHeightForWidth())
self.lineEdit_vmixPort.setSizePolicy(sizePolicy7)
self.lineEdit_vmixPort.setMaximumSize(QSize(50, 16777215))
self.horizontalLayout_18.addWidget(self.lineEdit_vmixPort)
self.pushButton_startvmix = QPushButton(self.connectionWidget)
self.pushButton_startvmix.setObjectName(u"pushButton_startvmix")
sizePolicy7.setHeightForWidth(self.pushButton_startvmix.sizePolicy().hasHeightForWidth())
self.pushButton_startvmix.setSizePolicy(sizePolicy7)
self.pushButton_startvmix.setCheckable(True)
self.pushButton_startvmix.setChecked(False)
self.horizontalLayout_18.addWidget(self.pushButton_startvmix)
self.verticalLayout_6.addWidget(self.connectionWidget)
self.widget_16 = QWidget(self.tab_vmix)
self.widget_16.setObjectName(u"widget_16")
self.widget_16.setMinimumSize(QSize(0, 0))
self.horizontalLayout_19 = QHBoxLayout(self.widget_16)
self.horizontalLayout_19.setObjectName(u"horizontalLayout_19")
self.horizontalLayout_19.setContentsMargins(0, 0, 0, 0)
self.vmixinputLabel = QLabel(self.widget_16)
self.vmixinputLabel.setObjectName(u"vmixinputLabel")
self.horizontalLayout_19.addWidget(self.vmixinputLabel)
self.inputLineEdit_vmix = QLineEdit(self.widget_16)
self.inputLineEdit_vmix.setObjectName(u"inputLineEdit_vmix")
self.horizontalLayout_19.addWidget(self.inputLineEdit_vmix)
self.checkBox_vmix_send_same = QCheckBox(self.widget_16)
self.checkBox_vmix_send_same.setObjectName(u"checkBox_vmix_send_same")
self.horizontalLayout_19.addWidget(self.checkBox_vmix_send_same)
self.verticalLayout_6.addWidget(self.widget_16)
self.gridLayout_3.addLayout(self.verticalLayout_6, 0, 0, 1, 1)
self.tabWidget_outputs.addTab(self.tab_vmix, "")
self.tab_api = QWidget()
self.tab_api.setObjectName(u"tab_api")
self.formLayout_3 = QFormLayout(self.tab_api)
self.formLayout_3.setObjectName(u"formLayout_3")
self.formLayout_3.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)
self.checkBox_enableOutAPI = QCheckBox(self.tab_api)
self.checkBox_enableOutAPI.setObjectName(u"checkBox_enableOutAPI")
self.formLayout_3.setWidget(0, QFormLayout.FieldRole, self.checkBox_enableOutAPI)
self.label_21 = QLabel(self.tab_api)
self.label_21.setObjectName(u"label_21")
self.formLayout_3.setWidget(4, QFormLayout.LabelRole, self.label_21)
self.comboBox_api_encode = QComboBox(self.tab_api)
self.comboBox_api_encode.addItem("")
self.comboBox_api_encode.addItem("")
self.comboBox_api_encode.addItem("")
self.comboBox_api_encode.setObjectName(u"comboBox_api_encode")
self.formLayout_3.setWidget(4, QFormLayout.FieldRole, self.comboBox_api_encode)
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
self.formLayout_3.setItem(5, QFormLayout.FieldRole, self.verticalSpacer)
self.widget_24 = QWidget(self.tab_api)
self.widget_24.setObjectName(u"widget_24")
self.horizontalLayout_27 = QHBoxLayout(self.widget_24)
self.horizontalLayout_27.setSpacing(2)
self.horizontalLayout_27.setObjectName(u"horizontalLayout_27")
self.horizontalLayout_27.setContentsMargins(0, 0, 0, 0)
self.lineEdit_api_url = QLineEdit(self.widget_24)
self.lineEdit_api_url.setObjectName(u"lineEdit_api_url")
self.horizontalLayout_27.addWidget(self.lineEdit_api_url)
self.checkBox_is_websocket = QCheckBox(self.widget_24)
self.checkBox_is_websocket.setObjectName(u"checkBox_is_websocket")
self.checkBox_is_websocket.setEnabled(False)
self.horizontalLayout_27.addWidget(self.checkBox_is_websocket)
self.formLayout_3.setWidget(1, QFormLayout.FieldRole, self.widget_24)
self.label_20 = QLabel(self.tab_api)
self.label_20.setObjectName(u"label_20")
self.formLayout_3.setWidget(1, QFormLayout.LabelRole, self.label_20)
self.tabWidget_outputs.addTab(self.tab_api, "")
self.verticalLayout.addWidget(self.tabWidget_outputs, 0, Qt.AlignTop)
self.pushButton_stopUpdates = QPushButton(self.frame)
self.pushButton_stopUpdates.setObjectName(u"pushButton_stopUpdates")
self.pushButton_stopUpdates.setMinimumSize(QSize(0, 0))
self.pushButton_stopUpdates.setCheckable(True)
self.verticalLayout.addWidget(self.pushButton_stopUpdates)
self.widget_detectionCadence = QWidget(self.frame)
self.widget_detectionCadence.setObjectName(u"widget_detectionCadence")
self.horizontalLayout_9 = QHBoxLayout(self.widget_detectionCadence)
self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
self.horizontalLayout_9.setContentsMargins(0, 0, 0, 0)
self.label_detectionCadence = QLabel(self.widget_detectionCadence)
self.label_detectionCadence.setObjectName(u"label_detectionCadence")
self.horizontalLayout_9.addWidget(self.label_detectionCadence)
self.horizontalSlider_detectionCadence = QSlider(self.widget_detectionCadence)
self.horizontalSlider_detectionCadence.setObjectName(u"horizontalSlider_detectionCadence")
self.horizontalSlider_detectionCadence.setMinimum(1)
self.horizontalSlider_detectionCadence.setMaximum(15)
self.horizontalSlider_detectionCadence.setPageStep(5)
self.horizontalSlider_detectionCadence.setValue(5)
self.horizontalSlider_detectionCadence.setOrientation(Qt.Horizontal)
self.horizontalSlider_detectionCadence.setInvertedAppearance(False)
self.horizontalSlider_detectionCadence.setInvertedControls(False)
self.horizontalSlider_detectionCadence.setTickPosition(QSlider.TicksBelow)
self.horizontalSlider_detectionCadence.setTickInterval(5)
self.horizontalLayout_9.addWidget(self.horizontalSlider_detectionCadence)
self.checkBox_updateOnchange = QCheckBox(self.widget_detectionCadence)
self.checkBox_updateOnchange.setObjectName(u"checkBox_updateOnchange")
self.checkBox_updateOnchange.setChecked(True)
self.horizontalLayout_9.addWidget(self.checkBox_updateOnchange)
self.verticalLayout.addWidget(self.widget_detectionCadence)
self.formLayout.setWidget(0, QFormLayout.LabelRole, self.frame)
self.frame_source_view = QFrame(self.centralwidget)
self.frame_source_view.setObjectName(u"frame_source_view")
self.frame_source_view.setEnabled(True)
sizePolicy2.setHeightForWidth(self.frame_source_view.sizePolicy().hasHeightForWidth())
self.frame_source_view.setSizePolicy(sizePolicy2)
self.frame_source_view.setFrameShape(QFrame.StyledPanel)
self.frame_source_view.setFrameShadow(QFrame.Raised)
self.verticalLayout_2 = QVBoxLayout(self.frame_source_view)
self.verticalLayout_2.setSpacing(0)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.verticalLayout_2.setContentsMargins(-1, 6, -1, -1)
self.widget_4 = QWidget(self.frame_source_view)
self.widget_4.setObjectName(u"widget_4")
self.horizontalLayout_4 = QHBoxLayout(self.widget_4)
self.horizontalLayout_4.setSpacing(6)
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
self.widget_3 = QWidget(self.widget_4)
self.widget_3.setObjectName(u"widget_3")
self.horizontalLayout_3 = QHBoxLayout(self.widget_3)
self.horizontalLayout_3.setSpacing(3)
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.label = QLabel(self.widget_3)
self.label.setObjectName(u"label")
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.horizontalLayout_3.addWidget(self.label)
self.comboBox_camera_source = QComboBox(self.widget_3)
self.comboBox_camera_source.addItem("")
self.comboBox_camera_source.addItem("")
self.comboBox_camera_source.addItem("")
self.comboBox_camera_source.addItem("")
self.comboBox_camera_source.setObjectName(u"comboBox_camera_source")
sizePolicy8 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
sizePolicy8.setHorizontalStretch(1)
sizePolicy8.setVerticalStretch(0)
sizePolicy8.setHeightForWidth(self.comboBox_camera_source.sizePolicy().hasHeightForWidth())
self.comboBox_camera_source.setSizePolicy(sizePolicy8)
self.horizontalLayout_3.addWidget(self.comboBox_camera_source)
self.toolButton_videoSettings = QToolButton(self.widget_3)
self.toolButton_videoSettings.setObjectName(u"toolButton_videoSettings")
self.toolButton_videoSettings.setEnabled(False)
self.horizontalLayout_3.addWidget(self.toolButton_videoSettings)
self.pushButton_refresh_sources = QToolButton(self.widget_3)
self.pushButton_refresh_sources.setObjectName(u"pushButton_refresh_sources")
self.horizontalLayout_3.addWidget(self.pushButton_refresh_sources)
self.horizontalLayout_4.addWidget(self.widget_3)
self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_4.addItem(self.horizontalSpacer)
self.pushButton_saveOCRTrainingData = QPushButton(self.widget_4)
self.pushButton_saveOCRTrainingData.setObjectName(u"pushButton_saveOCRTrainingData")
self.pushButton_saveOCRTrainingData.setCheckable(True)
self.horizontalLayout_4.addWidget(self.pushButton_saveOCRTrainingData)
self.verticalLayout_2.addWidget(self.widget_4)
self.widget_viewTools = QWidget(self.frame_source_view)
self.widget_viewTools.setObjectName(u"widget_viewTools")
self.widget_viewTools.setEnabled(False)
self.horizontalLayout_10 = QHBoxLayout(self.widget_viewTools)
self.horizontalLayout_10.setSpacing(3)
self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
self.horizontalLayout_10.setContentsMargins(0, 0, 0, 3)
self.pushButton_binary = QToolButton(self.widget_viewTools)
self.pushButton_binary.setObjectName(u"pushButton_binary")
self.pushButton_binary.setEnabled(False)
self.pushButton_binary.setCheckable(True)
self.horizontalLayout_10.addWidget(self.pushButton_binary)
self.pushButton_fourCorner = QToolButton(self.widget_viewTools)
self.pushButton_fourCorner.setObjectName(u"pushButton_fourCorner")
self.pushButton_fourCorner.setEnabled(False)
self.pushButton_fourCorner.setCheckable(True)
self.horizontalLayout_10.addWidget(self.pushButton_fourCorner)
self.toolButton_topCrop = QToolButton(self.widget_viewTools)
self.toolButton_topCrop.setObjectName(u"toolButton_topCrop")
self.toolButton_topCrop.setCheckable(True)
self.horizontalLayout_10.addWidget(self.toolButton_topCrop)
self.toolButton_rotate = QToolButton(self.widget_viewTools)
self.toolButton_rotate.setObjectName(u"toolButton_rotate")
self.horizontalLayout_10.addWidget(self.toolButton_rotate)
self.pushButton_stabilize = QToolButton(self.widget_viewTools)
self.pushButton_stabilize.setObjectName(u"pushButton_stabilize")
self.pushButton_stabilize.setEnabled(False)
self.pushButton_stabilize.setCheckable(True)
self.horizontalLayout_10.addWidget(self.pushButton_stabilize)
self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_10.addItem(self.horizontalSpacer_2)
self.toolButton_osd = QToolButton(self.widget_viewTools)
self.toolButton_osd.setObjectName(u"toolButton_osd")
self.toolButton_osd.setCheckable(True)
self.toolButton_osd.setChecked(True)
self.horizontalLayout_10.addWidget(self.toolButton_osd)
self.toolButton_showOCRrects = QToolButton(self.widget_viewTools)
self.toolButton_showOCRrects.setObjectName(u"toolButton_showOCRrects")
self.toolButton_showOCRrects.setCheckable(True)
self.toolButton_showOCRrects.setChecked(True)
self.horizontalLayout_10.addWidget(self.toolButton_showOCRrects)
self.toolButton_zoomReset = QToolButton(self.widget_viewTools)
self.toolButton_zoomReset.setObjectName(u"toolButton_zoomReset")
self.horizontalLayout_10.addWidget(self.toolButton_zoomReset)
self.label_11 = QLabel(self.widget_viewTools)
self.label_11.setObjectName(u"label_11")
self.label_11.setEnabled(False)
self.horizontalLayout_10.addWidget(self.label_11)
self.verticalLayout_2.addWidget(self.widget_viewTools)
self.widget_cropPanel = QWidget(self.frame_source_view)
self.widget_cropPanel.setObjectName(u"widget_cropPanel")