PaIRS-UniNa 0.2.7__cp311-cp311-win_amd64.whl → 0.2.11__cp311-cp311-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 +40 -24
- PaIRS_UniNa/Changes.txt +50 -0
- PaIRS_UniNa/Explorer.py +257 -77
- PaIRS_UniNa/FolderLoop.py +196 -6
- PaIRS_UniNa/Input_Tab.py +160 -53
- PaIRS_UniNa/Input_Tab_CalVi.py +11 -12
- PaIRS_UniNa/Input_Tab_tools.py +30 -28
- PaIRS_UniNa/Output_Tab.py +1 -3
- PaIRS_UniNa/PaIRS_pypacks.py +171 -67
- PaIRS_UniNa/Process_Tab.py +19 -15
- PaIRS_UniNa/Process_Tab_Disp.py +8 -1
- PaIRS_UniNa/SPIVCalHelp.py +155 -0
- PaIRS_UniNa/Saving_tools.py +3 -0
- PaIRS_UniNa/TabTools.py +201 -9
- PaIRS_UniNa/Vis_Tab.py +221 -65
- PaIRS_UniNa/Vis_Tab_CalVi.py +139 -12
- PaIRS_UniNa/Whatsnew.py +4 -3
- PaIRS_UniNa/_PaIRS_PIV.pyd +0 -0
- PaIRS_UniNa/__init__.py +3 -3
- PaIRS_UniNa/addwidgets_ps.py +773 -97
- PaIRS_UniNa/calibView.py +5 -2
- PaIRS_UniNa/gPaIRS.py +307 -48
- PaIRS_UniNa/icons/closeAllFloat.png +0 -0
- PaIRS_UniNa/icons/defaultWinSize.png +0 -0
- PaIRS_UniNa/icons/dockVis.png +0 -0
- PaIRS_UniNa/icons/dockVis_disable.png +0 -0
- PaIRS_UniNa/icons/floatingVisSize.png +0 -0
- PaIRS_UniNa/icons/folder_loop_cleanup.png +0 -0
- PaIRS_UniNa/icons/folder_loop_cleanup_off.png +0 -0
- PaIRS_UniNa/icons/fullWinsize.png +0 -0
- PaIRS_UniNa/icons/icon_PaIRS.ico +0 -0
- PaIRS_UniNa/icons/information.png +0 -0
- PaIRS_UniNa/icons/information2.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop_off.png +0 -0
- PaIRS_UniNa/icons/smallWinSize.png +0 -0
- PaIRS_UniNa/icons/spiv_setup_no.png +0 -0
- PaIRS_UniNa/icons/spiv_setup_ok.png +0 -0
- PaIRS_UniNa/icons/undockVis.png +0 -0
- PaIRS_UniNa/procTools.py +46 -1
- PaIRS_UniNa/rqrdpckgs.txt +7 -7
- PaIRS_UniNa/tabSplitter.py +6 -1
- PaIRS_UniNa/ui_Calibration_Tab.py +92 -59
- PaIRS_UniNa/ui_gPairs.py +92 -50
- PaIRS_UniNa/ui_infoPaIRS.py +8 -8
- PaIRS_UniNa/whatsnew.txt +2 -3
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.11.dist-info}/METADATA +6 -8
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.11.dist-info}/RECORD +50 -33
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.11.dist-info}/WHEEL +1 -1
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.11.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
PaIRS_UniNa/procTools.py
CHANGED
|
@@ -355,9 +355,54 @@ class dataTreePar(TABpar):
|
|
|
355
355
|
if len(args)>1: n=args[1]
|
|
356
356
|
ln=len(nameSection)
|
|
357
357
|
ns=int((n-ln)/2)
|
|
358
|
-
|
|
358
|
+
header=f'{f"{c}"*n}\n{" "*ns}{nameSection}{" "*ns}\n{f"{c}"*n}\n'
|
|
359
|
+
if Log!=' ': Log=header+Log+'\n'
|
|
360
|
+
else: Log=header
|
|
359
361
|
return Log
|
|
360
362
|
|
|
363
|
+
def eyeHeaderSection(self, text:str, width:int=54, height:int=11, border:str='o', pad:int=0)->str:
|
|
364
|
+
"""
|
|
365
|
+
Draw an eye-shaped frame with the given text centered on the middle row.
|
|
366
|
+
Works in monospace consoles or QTextEdit. Uses a smooth parametric eye curve.
|
|
367
|
+
"""
|
|
368
|
+
width=max(width, len(text)+2*pad+2)
|
|
369
|
+
height=max(5, height|(1)) # make it odd
|
|
370
|
+
mid=height//2
|
|
371
|
+
# eye boundary: y = a*(1 - |x|^p)^b, mirrored top/bottom
|
|
372
|
+
import math
|
|
373
|
+
p,b=1.6,1.0 # shape controls (p: pointiness, b: roundness)
|
|
374
|
+
ax=width/2-1
|
|
375
|
+
ay=mid-1 # vertical semi-size (controls thickness of eye)
|
|
376
|
+
eps=0.6 # border thickness in "cells"
|
|
377
|
+
|
|
378
|
+
rows=[]
|
|
379
|
+
for r in range(height):
|
|
380
|
+
y=(r-mid)/ay # -1..1
|
|
381
|
+
line=[]
|
|
382
|
+
for c in range(width):
|
|
383
|
+
x=(c- (width-1)/2)/ax # -1..1
|
|
384
|
+
# target boundary (top curve positive y, bottom negative)
|
|
385
|
+
yb = (1 - abs(x)**p)
|
|
386
|
+
yb = (yb if yb>0 else 0)**b # clamp
|
|
387
|
+
# distance to boundary (abs because top/bottom)
|
|
388
|
+
d=abs(abs(y)-yb)
|
|
389
|
+
ch=' '
|
|
390
|
+
if yb<=0 and abs(y)<eps/ay: # very ends -> leave blank
|
|
391
|
+
ch=' '
|
|
392
|
+
elif d*ay<=eps and yb>0: # on border
|
|
393
|
+
ch=border
|
|
394
|
+
line.append(ch)
|
|
395
|
+
rows.append(''.join(line))
|
|
396
|
+
|
|
397
|
+
# write text on middle row
|
|
398
|
+
body=list(rows[mid])
|
|
399
|
+
s=f' {text} '
|
|
400
|
+
start=(width-len(s))//2
|
|
401
|
+
body[start:start+len(s)]=list(s)
|
|
402
|
+
rows[mid]=''.join(body)
|
|
403
|
+
|
|
404
|
+
return '\n'.join(rows)
|
|
405
|
+
|
|
361
406
|
def createLogProc(self):
|
|
362
407
|
splitAs='\n '#used to join the strings together tab or spaces may be use to indent the error
|
|
363
408
|
numImgTot=len(self.list_pim) if self.Step!=StepTypes.min else (2*len(self.list_pim))
|
PaIRS_UniNa/rqrdpckgs.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
scipy 1.14.0 1.
|
|
2
|
-
matplotlib 3.9.0 3.10.
|
|
3
|
-
pillow 10.4.0
|
|
4
|
-
numpy 2.0.0 2.
|
|
5
|
-
pyside6 6.7.0 6.
|
|
1
|
+
scipy 1.14.0 1.17.0 0
|
|
2
|
+
matplotlib 3.9.0 3.10.8 0
|
|
3
|
+
pillow 10.4.0 12.1.0 0
|
|
4
|
+
numpy 2.0.0 2.4.2 0
|
|
5
|
+
pyside6 6.7.0 6.10.2 0
|
|
6
6
|
unidecode 1.3.0 1.4.0 0
|
|
7
|
-
psutil 6.0.0 7.
|
|
7
|
+
psutil 6.0.0 7.2.2 0
|
|
8
8
|
debugpy 1.6.6 1.8.16 0
|
|
9
|
-
certifi 2025.7.14
|
|
9
|
+
certifi 2025.7.14 2026.1.4 0
|
PaIRS_UniNa/tabSplitter.py
CHANGED
|
@@ -519,7 +519,7 @@ class TabAreaWidget(gPaIRS_Tab):
|
|
|
519
519
|
|
|
520
520
|
self.buttonBar_layout.addItem(self.buttonSpacer)
|
|
521
521
|
|
|
522
|
-
def buttonAction(self,b:RichTextPushButton,widget:
|
|
522
|
+
def buttonAction(self,b:RichTextPushButton,widget:Vis_Tab,index:int,scrollArea:PaIRS_QScrollArea):
|
|
523
523
|
self.openTabAction(b)
|
|
524
524
|
barValue_end=-int(0.5*scrollArea.splitter.handleWidth())
|
|
525
525
|
for i in range(index):
|
|
@@ -530,6 +530,9 @@ class TabAreaWidget(gPaIRS_Tab):
|
|
|
530
530
|
self.startAnimation(barValue_end)
|
|
531
531
|
else:
|
|
532
532
|
self.finishAnimation()
|
|
533
|
+
if hasattr(widget,'tabWin') and widget.tabWin is not None:
|
|
534
|
+
widget.tabWin.raise_()
|
|
535
|
+
widget.tabWin.activateWindow()
|
|
533
536
|
return
|
|
534
537
|
|
|
535
538
|
def startAnimation(self,v):
|
|
@@ -567,6 +570,8 @@ class TabAreaWidget(gPaIRS_Tab):
|
|
|
567
570
|
for w,b,f in zip(self.widgets,self.buttons,self.SPLpar.FlagVisible):
|
|
568
571
|
w:QWidget
|
|
569
572
|
w.parent().setVisible(f)
|
|
573
|
+
if hasattr(w,'tabWin') and w.tabWin is not None:
|
|
574
|
+
w.tabWin.setVisible(f and self.isVisible() and self.gui.isVisible())
|
|
570
575
|
b:RichTextPushButton
|
|
571
576
|
b.setText('')
|
|
572
577
|
if not f:
|
|
@@ -2,9 +2,9 @@ from .addwidgets_ps import icons_path
|
|
|
2
2
|
# -*- coding: utf-8 -*-
|
|
3
3
|
|
|
4
4
|
################################################################################
|
|
5
|
-
## Form generated from reading UI file '
|
|
5
|
+
## Form generated from reading UI file 'Calibration_TabkogRuY.ui'
|
|
6
6
|
##
|
|
7
|
-
## Created by: Qt User Interface Compiler version 6.
|
|
7
|
+
## Created by: Qt User Interface Compiler version 6.9.1
|
|
8
8
|
##
|
|
9
9
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
10
10
|
################################################################################
|
|
@@ -22,7 +22,7 @@ from PySide6.QtWidgets import (QAbstractSpinBox, QApplication, QFrame, QHBoxLayo
|
|
|
22
22
|
QVBoxLayout, QWidget)
|
|
23
23
|
|
|
24
24
|
from .Input_Tab_tools import CalibrationTree
|
|
25
|
-
from .addwidgets_ps import (ClickableLabel, MyQSpin)
|
|
25
|
+
from .addwidgets_ps import (ClickableLabel, MyQSpin, MyTabLabel)
|
|
26
26
|
|
|
27
27
|
class Ui_CalibrationTab(object):
|
|
28
28
|
def setupUi(self, CalibrationTab):
|
|
@@ -40,7 +40,7 @@ class Ui_CalibrationTab(object):
|
|
|
40
40
|
font.setPointSize(11)
|
|
41
41
|
CalibrationTab.setFont(font)
|
|
42
42
|
icon1 = QIcon()
|
|
43
|
-
icon1.addFile(u""+ icons_path +"calibration_logo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
43
|
+
icon1.addFile(u""+ icons_path +"calibration_logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
44
44
|
CalibrationTab.setWindowIcon(icon1)
|
|
45
45
|
self.verticalLayout_65 = QVBoxLayout(CalibrationTab)
|
|
46
46
|
self.verticalLayout_65.setSpacing(5)
|
|
@@ -65,7 +65,7 @@ class Ui_CalibrationTab(object):
|
|
|
65
65
|
|
|
66
66
|
self.horizontalLayout_2.addWidget(self.icon)
|
|
67
67
|
|
|
68
|
-
self.name_tab =
|
|
68
|
+
self.name_tab = MyTabLabel(self.w_Mode)
|
|
69
69
|
self.name_tab.setObjectName(u"name_tab")
|
|
70
70
|
self.name_tab.setMinimumSize(QSize(100, 35))
|
|
71
71
|
self.name_tab.setMaximumSize(QSize(16777215, 35))
|
|
@@ -97,6 +97,22 @@ class Ui_CalibrationTab(object):
|
|
|
97
97
|
|
|
98
98
|
self.horizontalLayout_2.addWidget(self.w_label_done)
|
|
99
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
|
+
|
|
100
116
|
self.hs1 = QSpacerItem(30, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
101
117
|
|
|
102
118
|
self.horizontalLayout_2.addItem(self.hs1)
|
|
@@ -105,16 +121,16 @@ class Ui_CalibrationTab(object):
|
|
|
105
121
|
self.button_CalVi.setObjectName(u"button_CalVi")
|
|
106
122
|
self.button_CalVi.setMinimumSize(QSize(99, 33))
|
|
107
123
|
self.button_CalVi.setMaximumSize(QSize(99, 33))
|
|
108
|
-
self.button_CalVi.setCursor(QCursor(Qt.PointingHandCursor))
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
self.button_CalVi.setIcon(
|
|
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)
|
|
112
128
|
self.button_CalVi.setIconSize(QSize(75, 25))
|
|
113
129
|
self.button_CalVi.setCheckable(True)
|
|
114
130
|
|
|
115
131
|
self.horizontalLayout_2.addWidget(self.button_CalVi)
|
|
116
132
|
|
|
117
|
-
self.hs2 = QSpacerItem(
|
|
133
|
+
self.hs2 = QSpacerItem(50, 20, QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Minimum)
|
|
118
134
|
|
|
119
135
|
self.horizontalLayout_2.addItem(self.hs2)
|
|
120
136
|
|
|
@@ -122,9 +138,9 @@ class Ui_CalibrationTab(object):
|
|
|
122
138
|
self.label_number.setObjectName(u"label_number")
|
|
123
139
|
self.label_number.setMinimumSize(QSize(15, 0))
|
|
124
140
|
self.label_number.setMaximumSize(QSize(30, 16777215))
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
self.label_number.setFont(
|
|
141
|
+
font3 = QFont()
|
|
142
|
+
font3.setPointSize(9)
|
|
143
|
+
self.label_number.setFont(font3)
|
|
128
144
|
self.label_number.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
|
129
145
|
|
|
130
146
|
self.horizontalLayout_2.addWidget(self.label_number)
|
|
@@ -137,9 +153,9 @@ class Ui_CalibrationTab(object):
|
|
|
137
153
|
self.button_back.setObjectName(u"button_back")
|
|
138
154
|
self.button_back.setMinimumSize(QSize(24, 24))
|
|
139
155
|
self.button_back.setMaximumSize(QSize(24, 24))
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
self.button_back.setIcon(
|
|
156
|
+
icon4 = QIcon()
|
|
157
|
+
icon4.addFile(u""+ icons_path +"undo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
158
|
+
self.button_back.setIcon(icon4)
|
|
143
159
|
self.button_back.setIconSize(QSize(20, 20))
|
|
144
160
|
|
|
145
161
|
self.horizontalLayout_2.addWidget(self.button_back)
|
|
@@ -148,9 +164,9 @@ class Ui_CalibrationTab(object):
|
|
|
148
164
|
self.button_forward.setObjectName(u"button_forward")
|
|
149
165
|
self.button_forward.setMinimumSize(QSize(24, 24))
|
|
150
166
|
self.button_forward.setMaximumSize(QSize(24, 24))
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
self.button_forward.setIcon(
|
|
167
|
+
icon5 = QIcon()
|
|
168
|
+
icon5.addFile(u""+ icons_path +"redo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
169
|
+
self.button_forward.setIcon(icon5)
|
|
154
170
|
self.button_forward.setIconSize(QSize(20, 20))
|
|
155
171
|
|
|
156
172
|
self.horizontalLayout_2.addWidget(self.button_forward)
|
|
@@ -171,9 +187,9 @@ class Ui_CalibrationTab(object):
|
|
|
171
187
|
self.button_close_tab.setStyleSheet(u"QToolButton{\n"
|
|
172
188
|
"border-radius: 15px;\n"
|
|
173
189
|
"}")
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
self.button_close_tab.setIcon(
|
|
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)
|
|
177
193
|
self.button_close_tab.setIconSize(QSize(15, 15))
|
|
178
194
|
|
|
179
195
|
self.horizontalLayout_20.addWidget(self.button_close_tab)
|
|
@@ -252,7 +268,7 @@ class Ui_CalibrationTab(object):
|
|
|
252
268
|
self.scrollArea.setWidgetResizable(True)
|
|
253
269
|
self.scrollAreaWidgetContents = QWidget()
|
|
254
270
|
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
|
|
255
|
-
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 480,
|
|
271
|
+
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 480, 605))
|
|
256
272
|
sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
|
|
257
273
|
self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
|
|
258
274
|
self.scrollAreaWidgetContents.setMinimumSize(QSize(0, 0))
|
|
@@ -276,11 +292,11 @@ class Ui_CalibrationTab(object):
|
|
|
276
292
|
self.label_ncam.setSizePolicy(sizePolicy2)
|
|
277
293
|
self.label_ncam.setMinimumSize(QSize(0, 20))
|
|
278
294
|
self.label_ncam.setMaximumSize(QSize(80, 20))
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
self.label_ncam.setFont(
|
|
295
|
+
font4 = QFont()
|
|
296
|
+
font4.setPointSize(10)
|
|
297
|
+
font4.setBold(False)
|
|
298
|
+
font4.setItalic(True)
|
|
299
|
+
self.label_ncam.setFont(font4)
|
|
284
300
|
self.label_ncam.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
285
301
|
|
|
286
302
|
self.horizontalLayout_5.addWidget(self.label_ncam)
|
|
@@ -321,7 +337,7 @@ class Ui_CalibrationTab(object):
|
|
|
321
337
|
self.label_list.setSizePolicy(sizePolicy2)
|
|
322
338
|
self.label_list.setMinimumSize(QSize(110, 20))
|
|
323
339
|
self.label_list.setMaximumSize(QSize(1000, 20))
|
|
324
|
-
self.label_list.setFont(
|
|
340
|
+
self.label_list.setFont(font4)
|
|
325
341
|
self.label_list.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
326
342
|
|
|
327
343
|
self.horizontalLayout_3.addWidget(self.label_list)
|
|
@@ -330,12 +346,10 @@ class Ui_CalibrationTab(object):
|
|
|
330
346
|
self.button_scan_list.setObjectName(u"button_scan_list")
|
|
331
347
|
self.button_scan_list.setMinimumSize(QSize(20, 20))
|
|
332
348
|
self.button_scan_list.setMaximumSize(QSize(20, 20))
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
icon6.addFile(u""+ icons_path +"scan_list.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
338
|
-
self.button_scan_list.setIcon(icon6)
|
|
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)
|
|
339
353
|
self.button_scan_list.setIconSize(QSize(18, 18))
|
|
340
354
|
self.button_scan_list.setCheckable(False)
|
|
341
355
|
|
|
@@ -349,10 +363,10 @@ class Ui_CalibrationTab(object):
|
|
|
349
363
|
self.button_import.setObjectName(u"button_import")
|
|
350
364
|
self.button_import.setMinimumSize(QSize(20, 20))
|
|
351
365
|
self.button_import.setMaximumSize(QSize(20, 20))
|
|
352
|
-
self.button_import.setFont(
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
self.button_import.setIcon(
|
|
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)
|
|
356
370
|
self.button_import.setIconSize(QSize(18, 18))
|
|
357
371
|
self.button_import.setCheckable(False)
|
|
358
372
|
|
|
@@ -369,10 +383,10 @@ class Ui_CalibrationTab(object):
|
|
|
369
383
|
self.button_copy.setObjectName(u"button_copy")
|
|
370
384
|
self.button_copy.setMinimumSize(QSize(20, 20))
|
|
371
385
|
self.button_copy.setMaximumSize(QSize(20, 20))
|
|
372
|
-
self.button_copy.setFont(
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
self.button_copy.setIcon(
|
|
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)
|
|
376
390
|
self.button_copy.setIconSize(QSize(18, 18))
|
|
377
391
|
self.button_copy.setCheckable(False)
|
|
378
392
|
|
|
@@ -382,10 +396,10 @@ class Ui_CalibrationTab(object):
|
|
|
382
396
|
self.button_cut.setObjectName(u"button_cut")
|
|
383
397
|
self.button_cut.setMinimumSize(QSize(20, 20))
|
|
384
398
|
self.button_cut.setMaximumSize(QSize(20, 20))
|
|
385
|
-
self.button_cut.setFont(
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
self.button_cut.setIcon(
|
|
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)
|
|
389
403
|
self.button_cut.setIconSize(QSize(18, 18))
|
|
390
404
|
self.button_cut.setCheckable(False)
|
|
391
405
|
|
|
@@ -395,10 +409,10 @@ class Ui_CalibrationTab(object):
|
|
|
395
409
|
self.button_paste_below.setObjectName(u"button_paste_below")
|
|
396
410
|
self.button_paste_below.setMinimumSize(QSize(20, 20))
|
|
397
411
|
self.button_paste_below.setMaximumSize(QSize(20, 20))
|
|
398
|
-
self.button_paste_below.setFont(
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
self.button_paste_below.setIcon(
|
|
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)
|
|
402
416
|
self.button_paste_below.setIconSize(QSize(18, 18))
|
|
403
417
|
self.button_paste_below.setCheckable(False)
|
|
404
418
|
|
|
@@ -408,10 +422,10 @@ class Ui_CalibrationTab(object):
|
|
|
408
422
|
self.button_paste_above.setObjectName(u"button_paste_above")
|
|
409
423
|
self.button_paste_above.setMinimumSize(QSize(20, 20))
|
|
410
424
|
self.button_paste_above.setMaximumSize(QSize(20, 20))
|
|
411
|
-
self.button_paste_above.setFont(
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
self.button_paste_above.setIcon(
|
|
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)
|
|
415
429
|
self.button_paste_above.setIconSize(QSize(18, 18))
|
|
416
430
|
self.button_paste_above.setCheckable(False)
|
|
417
431
|
|
|
@@ -428,10 +442,10 @@ class Ui_CalibrationTab(object):
|
|
|
428
442
|
self.button_clean.setObjectName(u"button_clean")
|
|
429
443
|
self.button_clean.setMinimumSize(QSize(20, 20))
|
|
430
444
|
self.button_clean.setMaximumSize(QSize(20, 20))
|
|
431
|
-
self.button_clean.setFont(
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
self.button_clean.setIcon(
|
|
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)
|
|
435
449
|
self.button_clean.setIconSize(QSize(18, 18))
|
|
436
450
|
self.button_clean.setCheckable(False)
|
|
437
451
|
|
|
@@ -443,6 +457,7 @@ class Ui_CalibrationTab(object):
|
|
|
443
457
|
self.calTree = CalibrationTree(self.scrollAreaWidgetContents)
|
|
444
458
|
self.calTree.setObjectName(u"calTree")
|
|
445
459
|
self.calTree.setUniformRowHeights(True)
|
|
460
|
+
self.calTree.setColumnCount(2)
|
|
446
461
|
self.calTree.header().setVisible(True)
|
|
447
462
|
|
|
448
463
|
self.verticalLayout_10.addWidget(self.calTree)
|
|
@@ -459,6 +474,17 @@ class Ui_CalibrationTab(object):
|
|
|
459
474
|
QWidget.setTabOrder(self.button_back, self.button_forward)
|
|
460
475
|
QWidget.setTabOrder(self.button_forward, self.button_close_tab)
|
|
461
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)
|
|
462
488
|
|
|
463
489
|
self.retranslateUi(CalibrationTab)
|
|
464
490
|
|
|
@@ -470,6 +496,10 @@ class Ui_CalibrationTab(object):
|
|
|
470
496
|
self.icon.setText("")
|
|
471
497
|
self.name_tab.setText(QCoreApplication.translate("CalibrationTab", u" Calibration", None))
|
|
472
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("")
|
|
473
503
|
self.button_CalVi.setText("")
|
|
474
504
|
self.label_number.setText(QCoreApplication.translate("CalibrationTab", u"1", None))
|
|
475
505
|
#if QT_CONFIG(tooltip)
|
|
@@ -541,5 +571,8 @@ class Ui_CalibrationTab(object):
|
|
|
541
571
|
#if QT_CONFIG(shortcut)
|
|
542
572
|
self.button_clean.setShortcut(QCoreApplication.translate("CalibrationTab", u"Ctrl+O", None))
|
|
543
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));
|
|
544
577
|
# retranslateUi
|
|
545
578
|
|