PaIRS-UniNa 0.2.8__cp312-cp312-win_amd64.whl → 0.2.9__cp312-cp312-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PaIRS_UniNa/Calibration_Tab.py +15 -0
- PaIRS_UniNa/Changes.txt +9 -0
- PaIRS_UniNa/Explorer.py +3158 -3126
- PaIRS_UniNa/FolderLoop.py +561 -561
- PaIRS_UniNa/Input_Tab.py +826 -826
- PaIRS_UniNa/Input_Tab_tools.py +3016 -3019
- PaIRS_UniNa/PaIRS.py +17 -17
- PaIRS_UniNa/SPIVCalHelp.py +155 -0
- PaIRS_UniNa/Saving_tools.py +277 -277
- PaIRS_UniNa/_PaIRS_PIV.pyd +0 -0
- PaIRS_UniNa/__init__.py +2 -2
- PaIRS_UniNa/gPaIRS.py +3890 -3889
- PaIRS_UniNa/icons/information.png +0 -0
- PaIRS_UniNa/icons/information2.png +0 -0
- PaIRS_UniNa/icons/spiv_setup_no.png +0 -0
- PaIRS_UniNa/icons/spiv_setup_ok.png +0 -0
- PaIRS_UniNa/listLib.py +301 -301
- PaIRS_UniNa/parForMulti.py +433 -433
- PaIRS_UniNa/tabSplitter.py +606 -606
- PaIRS_UniNa/ui_Calibration_Tab.py +575 -542
- PaIRS_UniNa/ui_Custom_Top.py +294 -294
- PaIRS_UniNa/ui_Input_Tab.py +1098 -1098
- PaIRS_UniNa/ui_Input_Tab_CalVi.py +1280 -1280
- PaIRS_UniNa/ui_Log_Tab.py +261 -261
- PaIRS_UniNa/ui_Output_Tab.py +2360 -2360
- PaIRS_UniNa/ui_Process_Tab.py +3808 -3808
- PaIRS_UniNa/ui_Process_Tab_CalVi.py +1547 -1547
- PaIRS_UniNa/ui_Process_Tab_Disp.py +1139 -1139
- PaIRS_UniNa/ui_Process_Tab_Min.py +435 -435
- PaIRS_UniNa/ui_ResizePopup.py +203 -203
- PaIRS_UniNa/ui_Vis_Tab.py +1626 -1626
- PaIRS_UniNa/ui_Vis_Tab_CalVi.py +1249 -1249
- PaIRS_UniNa/ui_Whatsnew.py +131 -131
- PaIRS_UniNa/ui_gPairs.py +873 -873
- PaIRS_UniNa/ui_infoPaIRS.py +550 -550
- PaIRS_UniNa/whatsnew.txt +1 -1
- {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.dist-info}/METADATA +4 -3
- {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.dist-info}/RECORD +40 -36
- {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.dist-info}/WHEEL +0 -0
- {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.dist-info}/top_level.txt +0 -0
|
@@ -1,545 +1,578 @@
|
|
|
1
1
|
from .addwidgets_ps import icons_path
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
|
|
4
|
-
################################################################################
|
|
5
|
-
## Form generated from reading UI file '
|
|
6
|
-
##
|
|
7
|
-
## Created by: Qt User Interface Compiler version 6.
|
|
8
|
-
##
|
|
9
|
-
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
10
|
-
################################################################################
|
|
11
|
-
|
|
12
|
-
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
|
13
|
-
QMetaObject, QObject, QPoint, QRect,
|
|
14
|
-
QSize, QTime, QUrl, Qt)
|
|
15
|
-
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
|
16
|
-
QFont, QFontDatabase, QGradient, QIcon,
|
|
17
|
-
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
18
|
-
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
19
|
-
from PySide6.QtWidgets import (QAbstractSpinBox, QApplication, QFrame, QHBoxLayout,
|
|
20
|
-
QHeaderView, QLabel, QLayout, QScrollArea,
|
|
21
|
-
QSizePolicy, QSpacerItem, QToolButton, QTreeWidgetItem,
|
|
22
|
-
QVBoxLayout, QWidget)
|
|
23
|
-
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
################################################################################
|
|
5
|
+
## Form generated from reading UI file 'Calibration_TabtAIJpe.ui'
|
|
6
|
+
##
|
|
7
|
+
## Created by: Qt User Interface Compiler version 6.9.1
|
|
8
|
+
##
|
|
9
|
+
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
10
|
+
################################################################################
|
|
11
|
+
|
|
12
|
+
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
|
13
|
+
QMetaObject, QObject, QPoint, QRect,
|
|
14
|
+
QSize, QTime, QUrl, Qt)
|
|
15
|
+
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
|
16
|
+
QFont, QFontDatabase, QGradient, QIcon,
|
|
17
|
+
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
18
|
+
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
19
|
+
from PySide6.QtWidgets import (QAbstractSpinBox, QApplication, QFrame, QHBoxLayout,
|
|
20
|
+
QHeaderView, QLabel, QLayout, QScrollArea,
|
|
21
|
+
QSizePolicy, QSpacerItem, QToolButton, QTreeWidgetItem,
|
|
22
|
+
QVBoxLayout, QWidget)
|
|
23
|
+
|
|
24
24
|
from .Input_Tab_tools import CalibrationTree
|
|
25
25
|
from .addwidgets_ps import (ClickableLabel, MyQSpin)
|
|
26
|
-
|
|
27
|
-
class Ui_CalibrationTab(object):
|
|
28
|
-
def setupUi(self, CalibrationTab):
|
|
29
|
-
if not CalibrationTab.objectName():
|
|
30
|
-
CalibrationTab.setObjectName(u"CalibrationTab")
|
|
31
|
-
CalibrationTab.resize(500, 680)
|
|
32
|
-
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
|
33
|
-
sizePolicy.setHorizontalStretch(0)
|
|
34
|
-
sizePolicy.setVerticalStretch(0)
|
|
35
|
-
sizePolicy.setHeightForWidth(CalibrationTab.sizePolicy().hasHeightForWidth())
|
|
36
|
-
CalibrationTab.setSizePolicy(sizePolicy)
|
|
37
|
-
CalibrationTab.setMinimumSize(QSize(500, 680))
|
|
38
|
-
CalibrationTab.setMaximumSize(QSize(1000, 16777215))
|
|
39
|
-
font = QFont()
|
|
40
|
-
font.setPointSize(11)
|
|
41
|
-
CalibrationTab.setFont(font)
|
|
42
|
-
icon1 = QIcon()
|
|
43
|
-
icon1.addFile(u""+ icons_path +"calibration_logo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
44
|
-
CalibrationTab.setWindowIcon(icon1)
|
|
45
|
-
self.verticalLayout_65 = QVBoxLayout(CalibrationTab)
|
|
46
|
-
self.verticalLayout_65.setSpacing(5)
|
|
47
|
-
self.verticalLayout_65.setObjectName(u"verticalLayout_65")
|
|
48
|
-
self.verticalLayout_65.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
|
|
49
|
-
self.verticalLayout_65.setContentsMargins(10, 10, 10, 10)
|
|
50
|
-
self.w_Mode = QWidget(CalibrationTab)
|
|
51
|
-
self.w_Mode.setObjectName(u"w_Mode")
|
|
52
|
-
self.w_Mode.setMinimumSize(QSize(0, 40))
|
|
53
|
-
self.w_Mode.setMaximumSize(QSize(16777215, 40))
|
|
54
|
-
self.w_Mode.setFont(font)
|
|
55
|
-
self.horizontalLayout_2 = QHBoxLayout(self.w_Mode)
|
|
56
|
-
self.horizontalLayout_2.setSpacing(3)
|
|
57
|
-
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
58
|
-
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 10)
|
|
59
|
-
self.icon = QLabel(self.w_Mode)
|
|
60
|
-
self.icon.setObjectName(u"icon")
|
|
61
|
-
self.icon.setMinimumSize(QSize(35, 35))
|
|
62
|
-
self.icon.setMaximumSize(QSize(35, 35))
|
|
63
|
-
self.icon.setPixmap(QPixmap(u""+ icons_path +"calibration_logo.png"))
|
|
64
|
-
self.icon.setScaledContents(True)
|
|
65
|
-
|
|
66
|
-
self.horizontalLayout_2.addWidget(self.icon)
|
|
67
|
-
|
|
68
|
-
self.name_tab = ClickableLabel(self.w_Mode)
|
|
69
|
-
self.name_tab.setObjectName(u"name_tab")
|
|
70
|
-
self.name_tab.setMinimumSize(QSize(100, 35))
|
|
71
|
-
self.name_tab.setMaximumSize(QSize(16777215, 35))
|
|
72
|
-
font1 = QFont()
|
|
73
|
-
font1.setPointSize(20)
|
|
74
|
-
font1.setBold(True)
|
|
75
|
-
self.name_tab.setFont(font1)
|
|
76
|
-
|
|
77
|
-
self.horizontalLayout_2.addWidget(self.name_tab)
|
|
78
|
-
|
|
79
|
-
self.w_label_done = QWidget(self.w_Mode)
|
|
80
|
-
self.w_label_done.setObjectName(u"w_label_done")
|
|
81
|
-
self.w_label_done.setMinimumSize(QSize(18, 24))
|
|
82
|
-
self.w_label_done.setMaximumSize(QSize(18, 24))
|
|
83
|
-
self.horizontalLayout_4 = QHBoxLayout(self.w_label_done)
|
|
84
|
-
self.horizontalLayout_4.setSpacing(0)
|
|
85
|
-
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
|
|
86
|
-
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 12)
|
|
87
|
-
self.label_done = ClickableLabel(self.w_label_done)
|
|
88
|
-
self.label_done.setObjectName(u"label_done")
|
|
89
|
-
self.label_done.setMinimumSize(QSize(12, 12))
|
|
90
|
-
self.label_done.setMaximumSize(QSize(12, 12))
|
|
91
|
-
self.label_done.setPixmap(QPixmap(u""+ icons_path +"completed.png"))
|
|
92
|
-
self.label_done.setScaledContents(True)
|
|
93
|
-
self.label_done.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
94
|
-
|
|
95
|
-
self.horizontalLayout_4.addWidget(self.label_done)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
self.horizontalLayout_2.addWidget(self.w_label_done)
|
|
99
|
-
|
|
100
|
-
self.
|
|
101
|
-
|
|
102
|
-
self.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
self.
|
|
107
|
-
self.
|
|
108
|
-
|
|
109
|
-
icon2
|
|
110
|
-
|
|
111
|
-
self.
|
|
112
|
-
self.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
self.
|
|
122
|
-
self.
|
|
123
|
-
self.
|
|
124
|
-
self.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
self.
|
|
128
|
-
self.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
self.
|
|
138
|
-
self.
|
|
139
|
-
self.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
self.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
self.
|
|
149
|
-
|
|
150
|
-
self.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
self.
|
|
154
|
-
self.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
self.
|
|
159
|
-
self.
|
|
160
|
-
|
|
161
|
-
self.
|
|
162
|
-
|
|
163
|
-
self.
|
|
164
|
-
self.
|
|
165
|
-
self.
|
|
166
|
-
self.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
self.
|
|
170
|
-
self.
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
self.
|
|
177
|
-
self.
|
|
178
|
-
|
|
179
|
-
self.horizontalLayout_20.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
self.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
self.
|
|
186
|
-
|
|
187
|
-
self.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
self.
|
|
194
|
-
|
|
195
|
-
self.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
self.
|
|
202
|
-
|
|
203
|
-
self.
|
|
204
|
-
self.
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
" }\n"
|
|
224
|
-
"\n"
|
|
225
|
-
"QScrollBar:
|
|
226
|
-
" {\n"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
" border:
|
|
231
|
-
"
|
|
232
|
-
" }\n"
|
|
233
|
-
"\n"
|
|
234
|
-
"QScrollBar::handle:
|
|
235
|
-
" {\n"
|
|
236
|
-
" background-color: rgba(180,180,180,180);
|
|
237
|
-
" min-
|
|
238
|
-
" border-radius: 4px;\n"
|
|
239
|
-
" }\n"
|
|
240
|
-
"\n"
|
|
241
|
-
"QScrollBar
|
|
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
|
-
self.
|
|
269
|
-
self.
|
|
270
|
-
self.
|
|
271
|
-
self.
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
self.
|
|
277
|
-
self.
|
|
278
|
-
self.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
self.
|
|
284
|
-
self.
|
|
285
|
-
|
|
286
|
-
self.
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
self.
|
|
292
|
-
self.
|
|
293
|
-
self.
|
|
294
|
-
self.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
self.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
self.
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
self.
|
|
309
|
-
|
|
310
|
-
self.
|
|
311
|
-
self.
|
|
312
|
-
self.
|
|
313
|
-
self.
|
|
314
|
-
self.
|
|
315
|
-
self.
|
|
316
|
-
|
|
317
|
-
self.
|
|
318
|
-
|
|
319
|
-
self.
|
|
320
|
-
|
|
321
|
-
self.
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
self.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
self.
|
|
328
|
-
|
|
329
|
-
self.
|
|
330
|
-
self.
|
|
331
|
-
self.
|
|
332
|
-
self.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
self.
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
self.
|
|
339
|
-
self.
|
|
340
|
-
self.
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
self.
|
|
347
|
-
|
|
348
|
-
self.
|
|
349
|
-
self.
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
self.
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
self.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
self.
|
|
363
|
-
self.
|
|
364
|
-
self.
|
|
365
|
-
|
|
366
|
-
self.
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
self.
|
|
370
|
-
self.
|
|
371
|
-
self.
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
self.
|
|
376
|
-
self.
|
|
377
|
-
self.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
self.
|
|
383
|
-
self.
|
|
384
|
-
self.
|
|
385
|
-
self.
|
|
386
|
-
|
|
387
|
-
icon9
|
|
388
|
-
|
|
389
|
-
self.
|
|
390
|
-
self.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
self.
|
|
396
|
-
self.
|
|
397
|
-
self.
|
|
398
|
-
self.
|
|
399
|
-
|
|
400
|
-
icon10
|
|
401
|
-
|
|
402
|
-
self.
|
|
403
|
-
self.
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
self.
|
|
409
|
-
self.
|
|
410
|
-
self.
|
|
411
|
-
self.
|
|
412
|
-
|
|
413
|
-
icon11
|
|
414
|
-
|
|
415
|
-
self.
|
|
416
|
-
self.
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
self.
|
|
422
|
-
self.
|
|
423
|
-
self.
|
|
424
|
-
|
|
425
|
-
self.
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
self.
|
|
429
|
-
self.
|
|
430
|
-
self.
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
self.
|
|
435
|
-
self.
|
|
436
|
-
self.
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
self.
|
|
442
|
-
|
|
443
|
-
self.
|
|
444
|
-
self.
|
|
445
|
-
self.
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
self.
|
|
449
|
-
|
|
450
|
-
self.
|
|
451
|
-
|
|
452
|
-
self.
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
self.
|
|
456
|
-
|
|
457
|
-
self.
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
self.
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
self.
|
|
471
|
-
|
|
472
|
-
self.
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
self.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
self.
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
self.
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
self.
|
|
497
|
-
|
|
498
|
-
self.
|
|
499
|
-
#if QT_CONFIG(
|
|
500
|
-
self.
|
|
501
|
-
#endif // QT_CONFIG(
|
|
502
|
-
|
|
503
|
-
self.
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
#if QT_CONFIG(tooltip)
|
|
510
|
-
self.
|
|
511
|
-
#endif // QT_CONFIG(tooltip)
|
|
512
|
-
self.
|
|
513
|
-
#if QT_CONFIG(
|
|
514
|
-
self.
|
|
515
|
-
#endif // QT_CONFIG(
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
#
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
#
|
|
524
|
-
self.
|
|
525
|
-
#
|
|
526
|
-
self.
|
|
527
|
-
#
|
|
528
|
-
self.
|
|
529
|
-
#
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
#
|
|
533
|
-
self.
|
|
534
|
-
#
|
|
535
|
-
self.
|
|
536
|
-
#
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
#
|
|
540
|
-
self.
|
|
541
|
-
#
|
|
542
|
-
self.
|
|
543
|
-
#
|
|
544
|
-
|
|
545
|
-
|
|
26
|
+
|
|
27
|
+
class Ui_CalibrationTab(object):
|
|
28
|
+
def setupUi(self, CalibrationTab):
|
|
29
|
+
if not CalibrationTab.objectName():
|
|
30
|
+
CalibrationTab.setObjectName(u"CalibrationTab")
|
|
31
|
+
CalibrationTab.resize(500, 680)
|
|
32
|
+
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
|
33
|
+
sizePolicy.setHorizontalStretch(0)
|
|
34
|
+
sizePolicy.setVerticalStretch(0)
|
|
35
|
+
sizePolicy.setHeightForWidth(CalibrationTab.sizePolicy().hasHeightForWidth())
|
|
36
|
+
CalibrationTab.setSizePolicy(sizePolicy)
|
|
37
|
+
CalibrationTab.setMinimumSize(QSize(500, 680))
|
|
38
|
+
CalibrationTab.setMaximumSize(QSize(1000, 16777215))
|
|
39
|
+
font = QFont()
|
|
40
|
+
font.setPointSize(11)
|
|
41
|
+
CalibrationTab.setFont(font)
|
|
42
|
+
icon1 = QIcon()
|
|
43
|
+
icon1.addFile(u""+ icons_path +"calibration_logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
44
|
+
CalibrationTab.setWindowIcon(icon1)
|
|
45
|
+
self.verticalLayout_65 = QVBoxLayout(CalibrationTab)
|
|
46
|
+
self.verticalLayout_65.setSpacing(5)
|
|
47
|
+
self.verticalLayout_65.setObjectName(u"verticalLayout_65")
|
|
48
|
+
self.verticalLayout_65.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
|
|
49
|
+
self.verticalLayout_65.setContentsMargins(10, 10, 10, 10)
|
|
50
|
+
self.w_Mode = QWidget(CalibrationTab)
|
|
51
|
+
self.w_Mode.setObjectName(u"w_Mode")
|
|
52
|
+
self.w_Mode.setMinimumSize(QSize(0, 40))
|
|
53
|
+
self.w_Mode.setMaximumSize(QSize(16777215, 40))
|
|
54
|
+
self.w_Mode.setFont(font)
|
|
55
|
+
self.horizontalLayout_2 = QHBoxLayout(self.w_Mode)
|
|
56
|
+
self.horizontalLayout_2.setSpacing(3)
|
|
57
|
+
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
58
|
+
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 10)
|
|
59
|
+
self.icon = QLabel(self.w_Mode)
|
|
60
|
+
self.icon.setObjectName(u"icon")
|
|
61
|
+
self.icon.setMinimumSize(QSize(35, 35))
|
|
62
|
+
self.icon.setMaximumSize(QSize(35, 35))
|
|
63
|
+
self.icon.setPixmap(QPixmap(u""+ icons_path +"calibration_logo.png"))
|
|
64
|
+
self.icon.setScaledContents(True)
|
|
65
|
+
|
|
66
|
+
self.horizontalLayout_2.addWidget(self.icon)
|
|
67
|
+
|
|
68
|
+
self.name_tab = ClickableLabel(self.w_Mode)
|
|
69
|
+
self.name_tab.setObjectName(u"name_tab")
|
|
70
|
+
self.name_tab.setMinimumSize(QSize(100, 35))
|
|
71
|
+
self.name_tab.setMaximumSize(QSize(16777215, 35))
|
|
72
|
+
font1 = QFont()
|
|
73
|
+
font1.setPointSize(20)
|
|
74
|
+
font1.setBold(True)
|
|
75
|
+
self.name_tab.setFont(font1)
|
|
76
|
+
|
|
77
|
+
self.horizontalLayout_2.addWidget(self.name_tab)
|
|
78
|
+
|
|
79
|
+
self.w_label_done = QWidget(self.w_Mode)
|
|
80
|
+
self.w_label_done.setObjectName(u"w_label_done")
|
|
81
|
+
self.w_label_done.setMinimumSize(QSize(18, 24))
|
|
82
|
+
self.w_label_done.setMaximumSize(QSize(18, 24))
|
|
83
|
+
self.horizontalLayout_4 = QHBoxLayout(self.w_label_done)
|
|
84
|
+
self.horizontalLayout_4.setSpacing(0)
|
|
85
|
+
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
|
|
86
|
+
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 12)
|
|
87
|
+
self.label_done = ClickableLabel(self.w_label_done)
|
|
88
|
+
self.label_done.setObjectName(u"label_done")
|
|
89
|
+
self.label_done.setMinimumSize(QSize(12, 12))
|
|
90
|
+
self.label_done.setMaximumSize(QSize(12, 12))
|
|
91
|
+
self.label_done.setPixmap(QPixmap(u""+ icons_path +"completed.png"))
|
|
92
|
+
self.label_done.setScaledContents(True)
|
|
93
|
+
self.label_done.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
94
|
+
|
|
95
|
+
self.horizontalLayout_4.addWidget(self.label_done)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
self.horizontalLayout_2.addWidget(self.w_label_done)
|
|
99
|
+
|
|
100
|
+
self.button_info = QToolButton(self.w_Mode)
|
|
101
|
+
self.button_info.setObjectName(u"button_info")
|
|
102
|
+
self.button_info.setMinimumSize(QSize(30, 33))
|
|
103
|
+
self.button_info.setMaximumSize(QSize(30, 33))
|
|
104
|
+
font2 = QFont()
|
|
105
|
+
font2.setPointSize(16)
|
|
106
|
+
self.button_info.setFont(font2)
|
|
107
|
+
self.button_info.setStyleSheet(u"QToolButton#button_PaIRS_download{border: none}")
|
|
108
|
+
icon2 = QIcon()
|
|
109
|
+
icon2.addFile(u""+ icons_path +"information2.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
110
|
+
self.button_info.setIcon(icon2)
|
|
111
|
+
self.button_info.setIconSize(QSize(24, 24))
|
|
112
|
+
self.button_info.setCheckable(False)
|
|
113
|
+
|
|
114
|
+
self.horizontalLayout_2.addWidget(self.button_info)
|
|
115
|
+
|
|
116
|
+
self.hs1 = QSpacerItem(30, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
117
|
+
|
|
118
|
+
self.horizontalLayout_2.addItem(self.hs1)
|
|
119
|
+
|
|
120
|
+
self.button_CalVi = QToolButton(self.w_Mode)
|
|
121
|
+
self.button_CalVi.setObjectName(u"button_CalVi")
|
|
122
|
+
self.button_CalVi.setMinimumSize(QSize(99, 33))
|
|
123
|
+
self.button_CalVi.setMaximumSize(QSize(99, 33))
|
|
124
|
+
self.button_CalVi.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
|
|
125
|
+
icon3 = QIcon()
|
|
126
|
+
icon3.addFile(u""+ icons_path +"logo_CalVi.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
127
|
+
self.button_CalVi.setIcon(icon3)
|
|
128
|
+
self.button_CalVi.setIconSize(QSize(75, 25))
|
|
129
|
+
self.button_CalVi.setCheckable(True)
|
|
130
|
+
|
|
131
|
+
self.horizontalLayout_2.addWidget(self.button_CalVi)
|
|
132
|
+
|
|
133
|
+
self.hs2 = QSpacerItem(50, 20, QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Minimum)
|
|
134
|
+
|
|
135
|
+
self.horizontalLayout_2.addItem(self.hs2)
|
|
136
|
+
|
|
137
|
+
self.label_number = QLabel(self.w_Mode)
|
|
138
|
+
self.label_number.setObjectName(u"label_number")
|
|
139
|
+
self.label_number.setMinimumSize(QSize(15, 0))
|
|
140
|
+
self.label_number.setMaximumSize(QSize(30, 16777215))
|
|
141
|
+
font3 = QFont()
|
|
142
|
+
font3.setPointSize(9)
|
|
143
|
+
self.label_number.setFont(font3)
|
|
144
|
+
self.label_number.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
|
145
|
+
|
|
146
|
+
self.horizontalLayout_2.addWidget(self.label_number)
|
|
147
|
+
|
|
148
|
+
self.hs3 = QSpacerItem(5, 20, QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Minimum)
|
|
149
|
+
|
|
150
|
+
self.horizontalLayout_2.addItem(self.hs3)
|
|
151
|
+
|
|
152
|
+
self.button_back = QToolButton(self.w_Mode)
|
|
153
|
+
self.button_back.setObjectName(u"button_back")
|
|
154
|
+
self.button_back.setMinimumSize(QSize(24, 24))
|
|
155
|
+
self.button_back.setMaximumSize(QSize(24, 24))
|
|
156
|
+
icon4 = QIcon()
|
|
157
|
+
icon4.addFile(u""+ icons_path +"undo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
158
|
+
self.button_back.setIcon(icon4)
|
|
159
|
+
self.button_back.setIconSize(QSize(20, 20))
|
|
160
|
+
|
|
161
|
+
self.horizontalLayout_2.addWidget(self.button_back)
|
|
162
|
+
|
|
163
|
+
self.button_forward = QToolButton(self.w_Mode)
|
|
164
|
+
self.button_forward.setObjectName(u"button_forward")
|
|
165
|
+
self.button_forward.setMinimumSize(QSize(24, 24))
|
|
166
|
+
self.button_forward.setMaximumSize(QSize(24, 24))
|
|
167
|
+
icon5 = QIcon()
|
|
168
|
+
icon5.addFile(u""+ icons_path +"redo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
169
|
+
self.button_forward.setIcon(icon5)
|
|
170
|
+
self.button_forward.setIconSize(QSize(20, 20))
|
|
171
|
+
|
|
172
|
+
self.horizontalLayout_2.addWidget(self.button_forward)
|
|
173
|
+
|
|
174
|
+
self.w_button_close_tab = QWidget(self.w_Mode)
|
|
175
|
+
self.w_button_close_tab.setObjectName(u"w_button_close_tab")
|
|
176
|
+
self.w_button_close_tab.setMinimumSize(QSize(18, 24))
|
|
177
|
+
self.w_button_close_tab.setMaximumSize(QSize(18, 24))
|
|
178
|
+
self.horizontalLayout_20 = QHBoxLayout(self.w_button_close_tab)
|
|
179
|
+
self.horizontalLayout_20.setSpacing(0)
|
|
180
|
+
self.horizontalLayout_20.setObjectName(u"horizontalLayout_20")
|
|
181
|
+
self.horizontalLayout_20.setContentsMargins(0, 0, 0, -1)
|
|
182
|
+
self.button_close_tab = QToolButton(self.w_button_close_tab)
|
|
183
|
+
self.button_close_tab.setObjectName(u"button_close_tab")
|
|
184
|
+
self.button_close_tab.setMinimumSize(QSize(18, 18))
|
|
185
|
+
self.button_close_tab.setMaximumSize(QSize(18, 18))
|
|
186
|
+
self.button_close_tab.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
|
187
|
+
self.button_close_tab.setStyleSheet(u"QToolButton{\n"
|
|
188
|
+
"border-radius: 15px;\n"
|
|
189
|
+
"}")
|
|
190
|
+
icon6 = QIcon()
|
|
191
|
+
icon6.addFile(u""+ icons_path +"close.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
192
|
+
self.button_close_tab.setIcon(icon6)
|
|
193
|
+
self.button_close_tab.setIconSize(QSize(15, 15))
|
|
194
|
+
|
|
195
|
+
self.horizontalLayout_20.addWidget(self.button_close_tab)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
self.horizontalLayout_2.addWidget(self.w_button_close_tab)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
self.verticalLayout_65.addWidget(self.w_Mode)
|
|
202
|
+
|
|
203
|
+
self.separator = QFrame(CalibrationTab)
|
|
204
|
+
self.separator.setObjectName(u"separator")
|
|
205
|
+
self.separator.setMinimumSize(QSize(0, 5))
|
|
206
|
+
self.separator.setFrameShape(QFrame.Shape.HLine)
|
|
207
|
+
self.separator.setFrameShadow(QFrame.Shadow.Sunken)
|
|
208
|
+
|
|
209
|
+
self.verticalLayout_65.addWidget(self.separator)
|
|
210
|
+
|
|
211
|
+
self.scrollArea = QScrollArea(CalibrationTab)
|
|
212
|
+
self.scrollArea.setObjectName(u"scrollArea")
|
|
213
|
+
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
|
|
214
|
+
sizePolicy1.setHorizontalStretch(0)
|
|
215
|
+
sizePolicy1.setVerticalStretch(0)
|
|
216
|
+
sizePolicy1.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
|
|
217
|
+
self.scrollArea.setSizePolicy(sizePolicy1)
|
|
218
|
+
self.scrollArea.setMinimumSize(QSize(20, 20))
|
|
219
|
+
self.scrollArea.setMaximumSize(QSize(16777215, 16777215))
|
|
220
|
+
self.scrollArea.setStyleSheet(u" QScrollArea {\n"
|
|
221
|
+
" border: 1pix solid gray;\n"
|
|
222
|
+
" background: transparent;\n"
|
|
223
|
+
" }\n"
|
|
224
|
+
"\n"
|
|
225
|
+
"QScrollBar:horizontal\n"
|
|
226
|
+
" {\n"
|
|
227
|
+
" height: 15px;\n"
|
|
228
|
+
" margin: 3px 10px 3px 10px;\n"
|
|
229
|
+
" border: 1px transparent #2A2929;\n"
|
|
230
|
+
" border-radius: 4px;\n"
|
|
231
|
+
" background-color: rgba(200,200,200,50); /* #2A2929; */\n"
|
|
232
|
+
" }\n"
|
|
233
|
+
"\n"
|
|
234
|
+
"QScrollBar::handle:horizontal\n"
|
|
235
|
+
" {\n"
|
|
236
|
+
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
237
|
+
" min-width: 5px;\n"
|
|
238
|
+
" border-radius: 4px;\n"
|
|
239
|
+
" }\n"
|
|
240
|
+
"\n"
|
|
241
|
+
"QScrollBar:vertical\n"
|
|
242
|
+
" {\n"
|
|
243
|
+
" background-color: rgba(200,200,200,50); ;\n"
|
|
244
|
+
" width: 15px;\n"
|
|
245
|
+
" margin: 10px 3px 10px 3px;\n"
|
|
246
|
+
" border: 1px transparent #2A2929;\n"
|
|
247
|
+
" border-radius: 4px;\n"
|
|
248
|
+
" }\n"
|
|
249
|
+
"\n"
|
|
250
|
+
"QScrollBar::handle:vertical\n"
|
|
251
|
+
" {\n"
|
|
252
|
+
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
253
|
+
" min-height: 5px;\n"
|
|
254
|
+
" border-radius: 4px;\n"
|
|
255
|
+
" }\n"
|
|
256
|
+
"\n"
|
|
257
|
+
"QScrollBar::add-line {\n"
|
|
258
|
+
""
|
|
259
|
+
" border: none;\n"
|
|
260
|
+
" background: none;\n"
|
|
261
|
+
" }\n"
|
|
262
|
+
"\n"
|
|
263
|
+
"QScrollBar::sub-line {\n"
|
|
264
|
+
" border: none;\n"
|
|
265
|
+
" background: none;\n"
|
|
266
|
+
" }\n"
|
|
267
|
+
"")
|
|
268
|
+
self.scrollArea.setWidgetResizable(True)
|
|
269
|
+
self.scrollAreaWidgetContents = QWidget()
|
|
270
|
+
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
|
|
271
|
+
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 480, 605))
|
|
272
|
+
sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
|
|
273
|
+
self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
|
|
274
|
+
self.scrollAreaWidgetContents.setMinimumSize(QSize(0, 0))
|
|
275
|
+
self.scrollAreaWidgetContents.setStyleSheet(u"\u2020")
|
|
276
|
+
self.verticalLayout_10 = QVBoxLayout(self.scrollAreaWidgetContents)
|
|
277
|
+
self.verticalLayout_10.setSpacing(5)
|
|
278
|
+
self.verticalLayout_10.setObjectName(u"verticalLayout_10")
|
|
279
|
+
self.verticalLayout_10.setContentsMargins(0, 15, 10, 5)
|
|
280
|
+
self.w_ncam = QWidget(self.scrollAreaWidgetContents)
|
|
281
|
+
self.w_ncam.setObjectName(u"w_ncam")
|
|
282
|
+
self.horizontalLayout_5 = QHBoxLayout(self.w_ncam)
|
|
283
|
+
self.horizontalLayout_5.setSpacing(10)
|
|
284
|
+
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
|
|
285
|
+
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
|
|
286
|
+
self.label_ncam = QLabel(self.w_ncam)
|
|
287
|
+
self.label_ncam.setObjectName(u"label_ncam")
|
|
288
|
+
sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
|
289
|
+
sizePolicy2.setHorizontalStretch(0)
|
|
290
|
+
sizePolicy2.setVerticalStretch(0)
|
|
291
|
+
sizePolicy2.setHeightForWidth(self.label_ncam.sizePolicy().hasHeightForWidth())
|
|
292
|
+
self.label_ncam.setSizePolicy(sizePolicy2)
|
|
293
|
+
self.label_ncam.setMinimumSize(QSize(0, 20))
|
|
294
|
+
self.label_ncam.setMaximumSize(QSize(80, 20))
|
|
295
|
+
font4 = QFont()
|
|
296
|
+
font4.setPointSize(10)
|
|
297
|
+
font4.setBold(False)
|
|
298
|
+
font4.setItalic(True)
|
|
299
|
+
self.label_ncam.setFont(font4)
|
|
300
|
+
self.label_ncam.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
301
|
+
|
|
302
|
+
self.horizontalLayout_5.addWidget(self.label_ncam)
|
|
303
|
+
|
|
304
|
+
self.spin_ncam = MyQSpin(self.w_ncam)
|
|
305
|
+
self.spin_ncam.setObjectName(u"spin_ncam")
|
|
306
|
+
self.spin_ncam.setEnabled(True)
|
|
307
|
+
self.spin_ncam.setMinimumSize(QSize(50, 24))
|
|
308
|
+
self.spin_ncam.setMaximumSize(QSize(70, 24))
|
|
309
|
+
self.spin_ncam.setFont(font)
|
|
310
|
+
self.spin_ncam.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
311
|
+
self.spin_ncam.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.UpDownArrows)
|
|
312
|
+
self.spin_ncam.setCorrectionMode(QAbstractSpinBox.CorrectionMode.CorrectToNearestValue)
|
|
313
|
+
self.spin_ncam.setMinimum(1)
|
|
314
|
+
self.spin_ncam.setMaximum(99)
|
|
315
|
+
self.spin_ncam.setValue(1)
|
|
316
|
+
|
|
317
|
+
self.horizontalLayout_5.addWidget(self.spin_ncam)
|
|
318
|
+
|
|
319
|
+
self.hs_ncam = QSpacerItem(40, 13, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
320
|
+
|
|
321
|
+
self.horizontalLayout_5.addItem(self.hs_ncam)
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
self.verticalLayout_10.addWidget(self.w_ncam)
|
|
325
|
+
|
|
326
|
+
self.buttonBar = QWidget(self.scrollAreaWidgetContents)
|
|
327
|
+
self.buttonBar.setObjectName(u"buttonBar")
|
|
328
|
+
self.buttonBar.setMinimumSize(QSize(0, 24))
|
|
329
|
+
self.buttonBar.setMaximumSize(QSize(16777215, 24))
|
|
330
|
+
self.horizontalLayout_3 = QHBoxLayout(self.buttonBar)
|
|
331
|
+
self.horizontalLayout_3.setSpacing(5)
|
|
332
|
+
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
|
333
|
+
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
|
|
334
|
+
self.label_list = QLabel(self.buttonBar)
|
|
335
|
+
self.label_list.setObjectName(u"label_list")
|
|
336
|
+
sizePolicy2.setHeightForWidth(self.label_list.sizePolicy().hasHeightForWidth())
|
|
337
|
+
self.label_list.setSizePolicy(sizePolicy2)
|
|
338
|
+
self.label_list.setMinimumSize(QSize(110, 20))
|
|
339
|
+
self.label_list.setMaximumSize(QSize(1000, 20))
|
|
340
|
+
self.label_list.setFont(font4)
|
|
341
|
+
self.label_list.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
342
|
+
|
|
343
|
+
self.horizontalLayout_3.addWidget(self.label_list)
|
|
344
|
+
|
|
345
|
+
self.button_scan_list = QToolButton(self.buttonBar)
|
|
346
|
+
self.button_scan_list.setObjectName(u"button_scan_list")
|
|
347
|
+
self.button_scan_list.setMinimumSize(QSize(20, 20))
|
|
348
|
+
self.button_scan_list.setMaximumSize(QSize(20, 20))
|
|
349
|
+
self.button_scan_list.setFont(font2)
|
|
350
|
+
icon7 = QIcon()
|
|
351
|
+
icon7.addFile(u""+ icons_path +"scan_list.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
352
|
+
self.button_scan_list.setIcon(icon7)
|
|
353
|
+
self.button_scan_list.setIconSize(QSize(18, 18))
|
|
354
|
+
self.button_scan_list.setCheckable(False)
|
|
355
|
+
|
|
356
|
+
self.horizontalLayout_3.addWidget(self.button_scan_list)
|
|
357
|
+
|
|
358
|
+
self.hs_buttonBar = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
359
|
+
|
|
360
|
+
self.horizontalLayout_3.addItem(self.hs_buttonBar)
|
|
361
|
+
|
|
362
|
+
self.button_import = QToolButton(self.buttonBar)
|
|
363
|
+
self.button_import.setObjectName(u"button_import")
|
|
364
|
+
self.button_import.setMinimumSize(QSize(20, 20))
|
|
365
|
+
self.button_import.setMaximumSize(QSize(20, 20))
|
|
366
|
+
self.button_import.setFont(font2)
|
|
367
|
+
icon8 = QIcon()
|
|
368
|
+
icon8.addFile(u""+ icons_path +"read.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
369
|
+
self.button_import.setIcon(icon8)
|
|
370
|
+
self.button_import.setIconSize(QSize(18, 18))
|
|
371
|
+
self.button_import.setCheckable(False)
|
|
372
|
+
|
|
373
|
+
self.horizontalLayout_3.addWidget(self.button_import)
|
|
374
|
+
|
|
375
|
+
self.line = QFrame(self.buttonBar)
|
|
376
|
+
self.line.setObjectName(u"line")
|
|
377
|
+
self.line.setFrameShape(QFrame.Shape.VLine)
|
|
378
|
+
self.line.setFrameShadow(QFrame.Shadow.Sunken)
|
|
379
|
+
|
|
380
|
+
self.horizontalLayout_3.addWidget(self.line)
|
|
381
|
+
|
|
382
|
+
self.button_copy = QToolButton(self.buttonBar)
|
|
383
|
+
self.button_copy.setObjectName(u"button_copy")
|
|
384
|
+
self.button_copy.setMinimumSize(QSize(20, 20))
|
|
385
|
+
self.button_copy.setMaximumSize(QSize(20, 20))
|
|
386
|
+
self.button_copy.setFont(font2)
|
|
387
|
+
icon9 = QIcon()
|
|
388
|
+
icon9.addFile(u""+ icons_path +"copy.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
389
|
+
self.button_copy.setIcon(icon9)
|
|
390
|
+
self.button_copy.setIconSize(QSize(18, 18))
|
|
391
|
+
self.button_copy.setCheckable(False)
|
|
392
|
+
|
|
393
|
+
self.horizontalLayout_3.addWidget(self.button_copy)
|
|
394
|
+
|
|
395
|
+
self.button_cut = QToolButton(self.buttonBar)
|
|
396
|
+
self.button_cut.setObjectName(u"button_cut")
|
|
397
|
+
self.button_cut.setMinimumSize(QSize(20, 20))
|
|
398
|
+
self.button_cut.setMaximumSize(QSize(20, 20))
|
|
399
|
+
self.button_cut.setFont(font2)
|
|
400
|
+
icon10 = QIcon()
|
|
401
|
+
icon10.addFile(u""+ icons_path +"cut.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
402
|
+
self.button_cut.setIcon(icon10)
|
|
403
|
+
self.button_cut.setIconSize(QSize(18, 18))
|
|
404
|
+
self.button_cut.setCheckable(False)
|
|
405
|
+
|
|
406
|
+
self.horizontalLayout_3.addWidget(self.button_cut)
|
|
407
|
+
|
|
408
|
+
self.button_paste_below = QToolButton(self.buttonBar)
|
|
409
|
+
self.button_paste_below.setObjectName(u"button_paste_below")
|
|
410
|
+
self.button_paste_below.setMinimumSize(QSize(20, 20))
|
|
411
|
+
self.button_paste_below.setMaximumSize(QSize(20, 20))
|
|
412
|
+
self.button_paste_below.setFont(font2)
|
|
413
|
+
icon11 = QIcon()
|
|
414
|
+
icon11.addFile(u""+ icons_path +"paste_below.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
415
|
+
self.button_paste_below.setIcon(icon11)
|
|
416
|
+
self.button_paste_below.setIconSize(QSize(18, 18))
|
|
417
|
+
self.button_paste_below.setCheckable(False)
|
|
418
|
+
|
|
419
|
+
self.horizontalLayout_3.addWidget(self.button_paste_below)
|
|
420
|
+
|
|
421
|
+
self.button_paste_above = QToolButton(self.buttonBar)
|
|
422
|
+
self.button_paste_above.setObjectName(u"button_paste_above")
|
|
423
|
+
self.button_paste_above.setMinimumSize(QSize(20, 20))
|
|
424
|
+
self.button_paste_above.setMaximumSize(QSize(20, 20))
|
|
425
|
+
self.button_paste_above.setFont(font2)
|
|
426
|
+
icon12 = QIcon()
|
|
427
|
+
icon12.addFile(u""+ icons_path +"paste_above.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
428
|
+
self.button_paste_above.setIcon(icon12)
|
|
429
|
+
self.button_paste_above.setIconSize(QSize(18, 18))
|
|
430
|
+
self.button_paste_above.setCheckable(False)
|
|
431
|
+
|
|
432
|
+
self.horizontalLayout_3.addWidget(self.button_paste_above)
|
|
433
|
+
|
|
434
|
+
self.line_2 = QFrame(self.buttonBar)
|
|
435
|
+
self.line_2.setObjectName(u"line_2")
|
|
436
|
+
self.line_2.setFrameShape(QFrame.Shape.VLine)
|
|
437
|
+
self.line_2.setFrameShadow(QFrame.Shadow.Sunken)
|
|
438
|
+
|
|
439
|
+
self.horizontalLayout_3.addWidget(self.line_2)
|
|
440
|
+
|
|
441
|
+
self.button_clean = QToolButton(self.buttonBar)
|
|
442
|
+
self.button_clean.setObjectName(u"button_clean")
|
|
443
|
+
self.button_clean.setMinimumSize(QSize(20, 20))
|
|
444
|
+
self.button_clean.setMaximumSize(QSize(20, 20))
|
|
445
|
+
self.button_clean.setFont(font2)
|
|
446
|
+
icon13 = QIcon()
|
|
447
|
+
icon13.addFile(u""+ icons_path +"clean.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
448
|
+
self.button_clean.setIcon(icon13)
|
|
449
|
+
self.button_clean.setIconSize(QSize(18, 18))
|
|
450
|
+
self.button_clean.setCheckable(False)
|
|
451
|
+
|
|
452
|
+
self.horizontalLayout_3.addWidget(self.button_clean)
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
self.verticalLayout_10.addWidget(self.buttonBar)
|
|
456
|
+
|
|
457
|
+
self.calTree = CalibrationTree(self.scrollAreaWidgetContents)
|
|
458
|
+
self.calTree.setObjectName(u"calTree")
|
|
459
|
+
self.calTree.setUniformRowHeights(True)
|
|
460
|
+
self.calTree.setColumnCount(2)
|
|
461
|
+
self.calTree.header().setVisible(True)
|
|
462
|
+
|
|
463
|
+
self.verticalLayout_10.addWidget(self.calTree)
|
|
464
|
+
|
|
465
|
+
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
|
466
|
+
|
|
467
|
+
self.verticalLayout_10.addItem(self.verticalSpacer)
|
|
468
|
+
|
|
469
|
+
self.verticalLayout_10.setStretch(2, 1)
|
|
470
|
+
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
|
471
|
+
|
|
472
|
+
self.verticalLayout_65.addWidget(self.scrollArea)
|
|
473
|
+
|
|
474
|
+
QWidget.setTabOrder(self.button_back, self.button_forward)
|
|
475
|
+
QWidget.setTabOrder(self.button_forward, self.button_close_tab)
|
|
476
|
+
QWidget.setTabOrder(self.button_close_tab, self.scrollArea)
|
|
477
|
+
QWidget.setTabOrder(self.scrollArea, self.button_info)
|
|
478
|
+
QWidget.setTabOrder(self.button_info, self.button_CalVi)
|
|
479
|
+
QWidget.setTabOrder(self.button_CalVi, self.spin_ncam)
|
|
480
|
+
QWidget.setTabOrder(self.spin_ncam, self.button_scan_list)
|
|
481
|
+
QWidget.setTabOrder(self.button_scan_list, self.button_import)
|
|
482
|
+
QWidget.setTabOrder(self.button_import, self.button_copy)
|
|
483
|
+
QWidget.setTabOrder(self.button_copy, self.button_cut)
|
|
484
|
+
QWidget.setTabOrder(self.button_cut, self.button_paste_below)
|
|
485
|
+
QWidget.setTabOrder(self.button_paste_below, self.button_paste_above)
|
|
486
|
+
QWidget.setTabOrder(self.button_paste_above, self.button_clean)
|
|
487
|
+
QWidget.setTabOrder(self.button_clean, self.calTree)
|
|
488
|
+
|
|
489
|
+
self.retranslateUi(CalibrationTab)
|
|
490
|
+
|
|
491
|
+
QMetaObject.connectSlotsByName(CalibrationTab)
|
|
492
|
+
# setupUi
|
|
493
|
+
|
|
494
|
+
def retranslateUi(self, CalibrationTab):
|
|
495
|
+
CalibrationTab.setWindowTitle(QCoreApplication.translate("CalibrationTab", u"Calibration", None))
|
|
496
|
+
self.icon.setText("")
|
|
497
|
+
self.name_tab.setText(QCoreApplication.translate("CalibrationTab", u" Calibration", None))
|
|
498
|
+
self.label_done.setText("")
|
|
499
|
+
#if QT_CONFIG(tooltip)
|
|
500
|
+
self.button_info.setToolTip(QCoreApplication.translate("CalibrationTab", u"Download the latest version of PaIRS-UniNa", None))
|
|
501
|
+
#endif // QT_CONFIG(tooltip)
|
|
502
|
+
self.button_info.setText("")
|
|
503
|
+
self.button_CalVi.setText("")
|
|
504
|
+
self.label_number.setText(QCoreApplication.translate("CalibrationTab", u"1", None))
|
|
505
|
+
#if QT_CONFIG(tooltip)
|
|
506
|
+
self.button_back.setToolTip(QCoreApplication.translate("CalibrationTab", u"Undo", None))
|
|
507
|
+
#endif // QT_CONFIG(tooltip)
|
|
508
|
+
self.button_back.setText("")
|
|
509
|
+
#if QT_CONFIG(tooltip)
|
|
510
|
+
self.button_forward.setToolTip(QCoreApplication.translate("CalibrationTab", u"Redo", None))
|
|
511
|
+
#endif // QT_CONFIG(tooltip)
|
|
512
|
+
self.button_forward.setText("")
|
|
513
|
+
#if QT_CONFIG(tooltip)
|
|
514
|
+
self.button_close_tab.setToolTip(QCoreApplication.translate("CalibrationTab", u"Close tab", None))
|
|
515
|
+
#endif // QT_CONFIG(tooltip)
|
|
516
|
+
self.button_close_tab.setText("")
|
|
517
|
+
#if QT_CONFIG(shortcut)
|
|
518
|
+
self.button_close_tab.setShortcut(QCoreApplication.translate("CalibrationTab", u"Alt+P", None))
|
|
519
|
+
#endif // QT_CONFIG(shortcut)
|
|
520
|
+
self.label_ncam.setText(QCoreApplication.translate("CalibrationTab", u"# cam:", None))
|
|
521
|
+
#if QT_CONFIG(tooltip)
|
|
522
|
+
self.spin_ncam.setToolTip(QCoreApplication.translate("CalibrationTab", u"Number of cameras", None))
|
|
523
|
+
#endif // QT_CONFIG(tooltip)
|
|
524
|
+
self.label_list.setText(QCoreApplication.translate("CalibrationTab", u"Calibration file list", None))
|
|
525
|
+
#if QT_CONFIG(tooltip)
|
|
526
|
+
self.button_scan_list.setToolTip(QCoreApplication.translate("CalibrationTab", u"Re-scan current list to check for missing files", None))
|
|
527
|
+
#endif // QT_CONFIG(tooltip)
|
|
528
|
+
self.button_scan_list.setText("")
|
|
529
|
+
#if QT_CONFIG(shortcut)
|
|
530
|
+
self.button_scan_list.setShortcut(QCoreApplication.translate("CalibrationTab", u"F5", None))
|
|
531
|
+
#endif // QT_CONFIG(shortcut)
|
|
532
|
+
#if QT_CONFIG(tooltip)
|
|
533
|
+
self.button_import.setToolTip(QCoreApplication.translate("CalibrationTab", u"Import calibration files", None))
|
|
534
|
+
#endif // QT_CONFIG(tooltip)
|
|
535
|
+
self.button_import.setText("")
|
|
536
|
+
#if QT_CONFIG(shortcut)
|
|
537
|
+
self.button_import.setShortcut(QCoreApplication.translate("CalibrationTab", u"Ctrl+R", None))
|
|
538
|
+
#endif // QT_CONFIG(shortcut)
|
|
539
|
+
#if QT_CONFIG(tooltip)
|
|
540
|
+
self.button_copy.setToolTip(QCoreApplication.translate("CalibrationTab", u"Copy selected calibration files", None))
|
|
541
|
+
#endif // QT_CONFIG(tooltip)
|
|
542
|
+
self.button_copy.setText("")
|
|
543
|
+
#if QT_CONFIG(shortcut)
|
|
544
|
+
self.button_copy.setShortcut(QCoreApplication.translate("CalibrationTab", u"Ctrl+C", None))
|
|
545
|
+
#endif // QT_CONFIG(shortcut)
|
|
546
|
+
#if QT_CONFIG(tooltip)
|
|
547
|
+
self.button_cut.setToolTip(QCoreApplication.translate("CalibrationTab", u"Cut selected calibration files", None))
|
|
548
|
+
#endif // QT_CONFIG(tooltip)
|
|
549
|
+
self.button_cut.setText("")
|
|
550
|
+
#if QT_CONFIG(shortcut)
|
|
551
|
+
self.button_cut.setShortcut(QCoreApplication.translate("CalibrationTab", u"Ctrl+X", None))
|
|
552
|
+
#endif // QT_CONFIG(shortcut)
|
|
553
|
+
#if QT_CONFIG(tooltip)
|
|
554
|
+
self.button_paste_below.setToolTip(QCoreApplication.translate("CalibrationTab", u"Paste below the current item", None))
|
|
555
|
+
#endif // QT_CONFIG(tooltip)
|
|
556
|
+
self.button_paste_below.setText("")
|
|
557
|
+
#if QT_CONFIG(shortcut)
|
|
558
|
+
self.button_paste_below.setShortcut(QCoreApplication.translate("CalibrationTab", u"Ctrl+V", None))
|
|
559
|
+
#endif // QT_CONFIG(shortcut)
|
|
560
|
+
#if QT_CONFIG(tooltip)
|
|
561
|
+
self.button_paste_above.setToolTip(QCoreApplication.translate("CalibrationTab", u"Paste above the current item", None))
|
|
562
|
+
#endif // QT_CONFIG(tooltip)
|
|
563
|
+
self.button_paste_above.setText("")
|
|
564
|
+
#if QT_CONFIG(shortcut)
|
|
565
|
+
self.button_paste_above.setShortcut(QCoreApplication.translate("CalibrationTab", u"Ctrl+Shift+V", None))
|
|
566
|
+
#endif // QT_CONFIG(shortcut)
|
|
567
|
+
#if QT_CONFIG(tooltip)
|
|
568
|
+
self.button_clean.setToolTip(QCoreApplication.translate("CalibrationTab", u"Clean the whole list", None))
|
|
569
|
+
#endif // QT_CONFIG(tooltip)
|
|
570
|
+
self.button_clean.setText("")
|
|
571
|
+
#if QT_CONFIG(shortcut)
|
|
572
|
+
self.button_clean.setShortcut(QCoreApplication.translate("CalibrationTab", u"Ctrl+O", None))
|
|
573
|
+
#endif // QT_CONFIG(shortcut)
|
|
574
|
+
___qtreewidgetitem = self.calTree.headerItem()
|
|
575
|
+
___qtreewidgetitem.setText(1, QCoreApplication.translate("CalibrationTab", u"filename", None));
|
|
576
|
+
___qtreewidgetitem.setText(0, QCoreApplication.translate("CalibrationTab", u"#", None));
|
|
577
|
+
# retranslateUi
|
|
578
|
+
|