PaIRS-UniNa 0.2.5__cp312-cp312-win_amd64.whl → 0.2.8__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/Changes.txt +45 -2
- PaIRS_UniNa/Explorer.py +3126 -3059
- PaIRS_UniNa/FolderLoop.py +561 -371
- PaIRS_UniNa/Input_Tab.py +826 -714
- PaIRS_UniNa/Input_Tab_CalVi.py +15 -17
- PaIRS_UniNa/Input_Tab_tools.py +3019 -3017
- PaIRS_UniNa/Output_Tab.py +2 -4
- PaIRS_UniNa/PaIRS.py +17 -17
- PaIRS_UniNa/PaIRS_pypacks.py +227 -56
- PaIRS_UniNa/Process_Tab.py +2 -2
- PaIRS_UniNa/Process_Tab_Disp.py +1 -1
- PaIRS_UniNa/Saving_tools.py +277 -277
- PaIRS_UniNa/TabTools.py +7 -4
- PaIRS_UniNa/Vis_Tab.py +129 -60
- PaIRS_UniNa/Whatsnew.py +15 -3
- PaIRS_UniNa/_PaIRS_PIV.pyd +0 -0
- PaIRS_UniNa/__init__.py +4 -4
- PaIRS_UniNa/addwidgets_ps.py +28 -20
- PaIRS_UniNa/calibView.py +7 -0
- PaIRS_UniNa/gPaIRS.py +3889 -3745
- PaIRS_UniNa/icons/flaticon_PaIRS_download_warning.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/pencil_bw.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop_off.png +0 -0
- PaIRS_UniNa/listLib.py +301 -301
- PaIRS_UniNa/parForMulti.py +433 -433
- PaIRS_UniNa/pivParFor.py +1 -1
- PaIRS_UniNa/procTools.py +51 -3
- PaIRS_UniNa/rqrdpckgs.txt +6 -5
- PaIRS_UniNa/stereoPivParFor.py +1 -1
- PaIRS_UniNa/tabSplitter.py +606 -606
- PaIRS_UniNa/ui_Calibration_Tab.py +542 -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 -867
- PaIRS_UniNa/ui_infoPaIRS.py +550 -550
- PaIRS_UniNa/whatsnew.txt +4 -4
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/METADATA +31 -17
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/RECORD +54 -48
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/WHEEL +0 -0
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/top_level.txt +0 -0
|
@@ -1,437 +1,437 @@
|
|
|
1
1
|
from .addwidgets_ps import icons_path
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
|
|
4
|
-
################################################################################
|
|
5
|
-
## Form generated from reading UI file 'Process_Tab_Min.ui'
|
|
6
|
-
##
|
|
7
|
-
## Created by: Qt User Interface Compiler version 6.7.0
|
|
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
|
-
QLabel, QLayout, QRadioButton, QScrollArea,
|
|
21
|
-
QSizePolicy, QSpacerItem, QToolButton, QVBoxLayout,
|
|
22
|
-
QWidget)
|
|
23
|
-
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
################################################################################
|
|
5
|
+
## Form generated from reading UI file 'Process_Tab_Min.ui'
|
|
6
|
+
##
|
|
7
|
+
## Created by: Qt User Interface Compiler version 6.7.0
|
|
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
|
+
QLabel, QLayout, QRadioButton, QScrollArea,
|
|
21
|
+
QSizePolicy, QSpacerItem, QToolButton, QVBoxLayout,
|
|
22
|
+
QWidget)
|
|
23
|
+
|
|
24
24
|
from .addwidgets_ps import (MyQCombo, MyQDoubleSpin, MyTabLabel)
|
|
25
|
-
|
|
26
|
-
class Ui_ProcessTab_Min(object):
|
|
27
|
-
def setupUi(self, ProcessTab_Min):
|
|
28
|
-
if not ProcessTab_Min.objectName():
|
|
29
|
-
ProcessTab_Min.setObjectName(u"ProcessTab_Min")
|
|
30
|
-
ProcessTab_Min.resize(500, 680)
|
|
31
|
-
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
|
32
|
-
sizePolicy.setHorizontalStretch(0)
|
|
33
|
-
sizePolicy.setVerticalStretch(0)
|
|
34
|
-
sizePolicy.setHeightForWidth(ProcessTab_Min.sizePolicy().hasHeightForWidth())
|
|
35
|
-
ProcessTab_Min.setSizePolicy(sizePolicy)
|
|
36
|
-
ProcessTab_Min.setMinimumSize(QSize(500, 680))
|
|
37
|
-
ProcessTab_Min.setMaximumSize(QSize(1000, 16777215))
|
|
38
|
-
font = QFont()
|
|
39
|
-
font.setPointSize(11)
|
|
40
|
-
ProcessTab_Min.setFont(font)
|
|
41
|
-
icon1 = QIcon()
|
|
42
|
-
icon1.addFile(u""+ icons_path +"process_logo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
43
|
-
ProcessTab_Min.setWindowIcon(icon1)
|
|
44
|
-
self.verticalLayout_65 = QVBoxLayout(ProcessTab_Min)
|
|
45
|
-
self.verticalLayout_65.setSpacing(5)
|
|
46
|
-
self.verticalLayout_65.setObjectName(u"verticalLayout_65")
|
|
47
|
-
self.verticalLayout_65.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
|
|
48
|
-
self.verticalLayout_65.setContentsMargins(10, 10, 10, 10)
|
|
49
|
-
self.w_Mode = QWidget(ProcessTab_Min)
|
|
50
|
-
self.w_Mode.setObjectName(u"w_Mode")
|
|
51
|
-
self.w_Mode.setMinimumSize(QSize(0, 40))
|
|
52
|
-
self.w_Mode.setMaximumSize(QSize(16777215, 40))
|
|
53
|
-
self.w_Mode.setFont(font)
|
|
54
|
-
self.horizontalLayout_2 = QHBoxLayout(self.w_Mode)
|
|
55
|
-
self.horizontalLayout_2.setSpacing(3)
|
|
56
|
-
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
57
|
-
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 10)
|
|
58
|
-
self.icon = QLabel(self.w_Mode)
|
|
59
|
-
self.icon.setObjectName(u"icon")
|
|
60
|
-
self.icon.setMinimumSize(QSize(35, 35))
|
|
61
|
-
self.icon.setMaximumSize(QSize(35, 35))
|
|
62
|
-
self.icon.setPixmap(QPixmap(u""+ icons_path +"process_logo.png"))
|
|
63
|
-
self.icon.setScaledContents(True)
|
|
64
|
-
|
|
65
|
-
self.horizontalLayout_2.addWidget(self.icon)
|
|
66
|
-
|
|
67
|
-
self.name_tab = MyTabLabel(self.w_Mode)
|
|
68
|
-
self.name_tab.setObjectName(u"name_tab")
|
|
69
|
-
self.name_tab.setMinimumSize(QSize(150, 35))
|
|
70
|
-
self.name_tab.setMaximumSize(QSize(16777215, 35))
|
|
71
|
-
font1 = QFont()
|
|
72
|
-
font1.setPointSize(20)
|
|
73
|
-
font1.setBold(True)
|
|
74
|
-
self.name_tab.setFont(font1)
|
|
75
|
-
|
|
76
|
-
self.horizontalLayout_2.addWidget(self.name_tab)
|
|
77
|
-
|
|
78
|
-
self.hs1 = QSpacerItem(30, 20, QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Minimum)
|
|
79
|
-
|
|
80
|
-
self.horizontalLayout_2.addItem(self.hs1)
|
|
81
|
-
|
|
82
|
-
self.label_number = QLabel(self.w_Mode)
|
|
83
|
-
self.label_number.setObjectName(u"label_number")
|
|
84
|
-
self.label_number.setMinimumSize(QSize(15, 0))
|
|
85
|
-
self.label_number.setMaximumSize(QSize(30, 16777215))
|
|
86
|
-
font2 = QFont()
|
|
87
|
-
font2.setPointSize(9)
|
|
88
|
-
self.label_number.setFont(font2)
|
|
89
|
-
self.label_number.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
|
90
|
-
|
|
91
|
-
self.horizontalLayout_2.addWidget(self.label_number)
|
|
92
|
-
|
|
93
|
-
self.hs_2 = QSpacerItem(5, 20, QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Minimum)
|
|
94
|
-
|
|
95
|
-
self.horizontalLayout_2.addItem(self.hs_2)
|
|
96
|
-
|
|
97
|
-
self.button_back = QToolButton(self.w_Mode)
|
|
98
|
-
self.button_back.setObjectName(u"button_back")
|
|
99
|
-
self.button_back.setMinimumSize(QSize(24, 24))
|
|
100
|
-
self.button_back.setMaximumSize(QSize(24, 24))
|
|
101
|
-
icon2 = QIcon()
|
|
102
|
-
icon2.addFile(u""+ icons_path +"undo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
103
|
-
self.button_back.setIcon(icon2)
|
|
104
|
-
self.button_back.setIconSize(QSize(20, 20))
|
|
105
|
-
|
|
106
|
-
self.horizontalLayout_2.addWidget(self.button_back)
|
|
107
|
-
|
|
108
|
-
self.button_forward = QToolButton(self.w_Mode)
|
|
109
|
-
self.button_forward.setObjectName(u"button_forward")
|
|
110
|
-
self.button_forward.setMinimumSize(QSize(24, 24))
|
|
111
|
-
self.button_forward.setMaximumSize(QSize(24, 24))
|
|
112
|
-
icon3 = QIcon()
|
|
113
|
-
icon3.addFile(u""+ icons_path +"redo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
114
|
-
self.button_forward.setIcon(icon3)
|
|
115
|
-
self.button_forward.setIconSize(QSize(20, 20))
|
|
116
|
-
|
|
117
|
-
self.horizontalLayout_2.addWidget(self.button_forward)
|
|
118
|
-
|
|
119
|
-
self.w_button_close_tab = QWidget(self.w_Mode)
|
|
120
|
-
self.w_button_close_tab.setObjectName(u"w_button_close_tab")
|
|
121
|
-
self.w_button_close_tab.setMinimumSize(QSize(18, 24))
|
|
122
|
-
self.w_button_close_tab.setMaximumSize(QSize(18, 24))
|
|
123
|
-
self.horizontalLayout_20 = QHBoxLayout(self.w_button_close_tab)
|
|
124
|
-
self.horizontalLayout_20.setSpacing(0)
|
|
125
|
-
self.horizontalLayout_20.setObjectName(u"horizontalLayout_20")
|
|
126
|
-
self.horizontalLayout_20.setContentsMargins(0, 0, 0, -1)
|
|
127
|
-
self.button_close_tab = QToolButton(self.w_button_close_tab)
|
|
128
|
-
self.button_close_tab.setObjectName(u"button_close_tab")
|
|
129
|
-
self.button_close_tab.setMinimumSize(QSize(18, 18))
|
|
130
|
-
self.button_close_tab.setMaximumSize(QSize(18, 18))
|
|
131
|
-
self.button_close_tab.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
|
132
|
-
self.button_close_tab.setStyleSheet(u"QToolButton{\n"
|
|
133
|
-
"border-radius: 15px;\n"
|
|
134
|
-
"}")
|
|
135
|
-
icon4 = QIcon()
|
|
136
|
-
icon4.addFile(u""+ icons_path +"close.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
137
|
-
self.button_close_tab.setIcon(icon4)
|
|
138
|
-
self.button_close_tab.setIconSize(QSize(15, 15))
|
|
139
|
-
|
|
140
|
-
self.horizontalLayout_20.addWidget(self.button_close_tab)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
self.horizontalLayout_2.addWidget(self.w_button_close_tab)
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
self.verticalLayout_65.addWidget(self.w_Mode)
|
|
147
|
-
|
|
148
|
-
self.separator = QFrame(ProcessTab_Min)
|
|
149
|
-
self.separator.setObjectName(u"separator")
|
|
150
|
-
self.separator.setMinimumSize(QSize(0, 5))
|
|
151
|
-
self.separator.setFrameShape(QFrame.Shape.HLine)
|
|
152
|
-
self.separator.setFrameShadow(QFrame.Shadow.Sunken)
|
|
153
|
-
|
|
154
|
-
self.verticalLayout_65.addWidget(self.separator)
|
|
155
|
-
|
|
156
|
-
self.scrollArea = QScrollArea(ProcessTab_Min)
|
|
157
|
-
self.scrollArea.setObjectName(u"scrollArea")
|
|
158
|
-
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
|
|
159
|
-
sizePolicy1.setHorizontalStretch(0)
|
|
160
|
-
sizePolicy1.setVerticalStretch(0)
|
|
161
|
-
sizePolicy1.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
|
|
162
|
-
self.scrollArea.setSizePolicy(sizePolicy1)
|
|
163
|
-
self.scrollArea.setMinimumSize(QSize(0, 0))
|
|
164
|
-
self.scrollArea.setMaximumSize(QSize(16777215, 16777215))
|
|
165
|
-
self.scrollArea.setStyleSheet(u" QScrollArea {\n"
|
|
166
|
-
" border: 1pix solid gray;\n"
|
|
167
|
-
" background: transparent;\n"
|
|
168
|
-
" }\n"
|
|
169
|
-
"\n"
|
|
170
|
-
"QScrollBar:horizontal\n"
|
|
171
|
-
" {\n"
|
|
172
|
-
" height: 15px;\n"
|
|
173
|
-
" margin: 3px 10px 3px 10px;\n"
|
|
174
|
-
" border: 1px transparent #2A2929;\n"
|
|
175
|
-
" border-radius: 4px;\n"
|
|
176
|
-
" background-color: rgba(200,200,200,50); /* #2A2929; */\n"
|
|
177
|
-
" }\n"
|
|
178
|
-
"\n"
|
|
179
|
-
"QScrollBar::handle:horizontal\n"
|
|
180
|
-
" {\n"
|
|
181
|
-
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
182
|
-
" min-width: 5px;\n"
|
|
183
|
-
" border-radius: 4px;\n"
|
|
184
|
-
" }\n"
|
|
185
|
-
"\n"
|
|
186
|
-
"QScrollBar:vertical\n"
|
|
187
|
-
" {\n"
|
|
188
|
-
" background-color: rgba(200,200,200,50); ;\n"
|
|
189
|
-
" width: 15px;\n"
|
|
190
|
-
" margin: 10px 3px 10px 3px;\n"
|
|
191
|
-
" border: 1px transparent #2A2929;\n"
|
|
192
|
-
" border-radius: 4px;\n"
|
|
193
|
-
" }\n"
|
|
194
|
-
"\n"
|
|
195
|
-
"QScrollBar::handle:vertical\n"
|
|
196
|
-
" {\n"
|
|
197
|
-
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
198
|
-
" min-height: 5px;\n"
|
|
199
|
-
" border-radius: 4px;\n"
|
|
200
|
-
" }\n"
|
|
201
|
-
"\n"
|
|
202
|
-
"QScrollBar::add-line {\n"
|
|
203
|
-
""
|
|
204
|
-
" border: none;\n"
|
|
205
|
-
" background: none;\n"
|
|
206
|
-
" }\n"
|
|
207
|
-
"\n"
|
|
208
|
-
"QScrollBar::sub-line {\n"
|
|
209
|
-
" border: none;\n"
|
|
210
|
-
" background: none;\n"
|
|
211
|
-
" }\n"
|
|
212
|
-
"")
|
|
213
|
-
self.scrollArea.setWidgetResizable(True)
|
|
214
|
-
self.scrollAreaWidgetContents = QWidget()
|
|
215
|
-
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
|
|
216
|
-
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 480, 605))
|
|
217
|
-
sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
|
|
218
|
-
self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
|
|
219
|
-
self.scrollAreaWidgetContents.setMinimumSize(QSize(0, 0))
|
|
220
|
-
self.scrollAreaWidgetContents.setStyleSheet(u"\u2020")
|
|
221
|
-
self.verticalLayout_10 = QVBoxLayout(self.scrollAreaWidgetContents)
|
|
222
|
-
self.verticalLayout_10.setSpacing(20)
|
|
223
|
-
self.verticalLayout_10.setObjectName(u"verticalLayout_10")
|
|
224
|
-
self.verticalLayout_10.setContentsMargins(0, 15, 10, 5)
|
|
225
|
-
self.radio_TR = QRadioButton(self.scrollAreaWidgetContents)
|
|
226
|
-
self.radio_TR.setObjectName(u"radio_TR")
|
|
227
|
-
|
|
228
|
-
self.verticalLayout_10.addWidget(self.radio_TR)
|
|
229
|
-
|
|
230
|
-
self.w_LaserType = QWidget(self.scrollAreaWidgetContents)
|
|
231
|
-
self.w_LaserType.setObjectName(u"w_LaserType")
|
|
232
|
-
self.w_LaserType.setMinimumSize(QSize(0, 44))
|
|
233
|
-
self.w_LaserType.setMaximumSize(QSize(200, 44))
|
|
234
|
-
self.verticalLayout_67 = QVBoxLayout(self.w_LaserType)
|
|
235
|
-
self.verticalLayout_67.setSpacing(0)
|
|
236
|
-
self.verticalLayout_67.setObjectName(u"verticalLayout_67")
|
|
237
|
-
self.verticalLayout_67.setContentsMargins(0, 0, 0, 0)
|
|
238
|
-
self.label_LaserType = QLabel(self.w_LaserType)
|
|
239
|
-
self.label_LaserType.setObjectName(u"label_LaserType")
|
|
240
|
-
sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
|
241
|
-
sizePolicy2.setHorizontalStretch(0)
|
|
242
|
-
sizePolicy2.setVerticalStretch(0)
|
|
243
|
-
sizePolicy2.setHeightForWidth(self.label_LaserType.sizePolicy().hasHeightForWidth())
|
|
244
|
-
self.label_LaserType.setSizePolicy(sizePolicy2)
|
|
245
|
-
self.label_LaserType.setMinimumSize(QSize(80, 20))
|
|
246
|
-
self.label_LaserType.setMaximumSize(QSize(16777215, 20))
|
|
247
|
-
font3 = QFont()
|
|
248
|
-
font3.setPointSize(10)
|
|
249
|
-
font3.setBold(False)
|
|
250
|
-
font3.setItalic(True)
|
|
251
|
-
self.label_LaserType.setFont(font3)
|
|
252
|
-
self.label_LaserType.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
253
|
-
|
|
254
|
-
self.verticalLayout_67.addWidget(self.label_LaserType)
|
|
255
|
-
|
|
256
|
-
self.combo_LaserType = MyQCombo(self.w_LaserType)
|
|
257
|
-
self.combo_LaserType.addItem("")
|
|
258
|
-
self.combo_LaserType.addItem("")
|
|
259
|
-
self.combo_LaserType.setObjectName(u"combo_LaserType")
|
|
260
|
-
self.combo_LaserType.setMinimumSize(QSize(85, 0))
|
|
261
|
-
self.combo_LaserType.setMaximumSize(QSize(16777215, 24))
|
|
262
|
-
self.combo_LaserType.setFont(font)
|
|
263
|
-
|
|
264
|
-
self.verticalLayout_67.addWidget(self.combo_LaserType)
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
self.verticalLayout_10.addWidget(self.w_LaserType)
|
|
268
|
-
|
|
269
|
-
self.w_example_label = QWidget(self.scrollAreaWidgetContents)
|
|
270
|
-
self.w_example_label.setObjectName(u"w_example_label")
|
|
271
|
-
self.horizontalLayout = QHBoxLayout(self.w_example_label)
|
|
272
|
-
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
|
273
|
-
self.hs_left = QSpacerItem(5, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
274
|
-
|
|
275
|
-
self.horizontalLayout.addItem(self.hs_left)
|
|
276
|
-
|
|
277
|
-
self.example_label = QLabel(self.w_example_label)
|
|
278
|
-
self.example_label.setObjectName(u"example_label")
|
|
279
|
-
sizePolicy.setHeightForWidth(self.example_label.sizePolicy().hasHeightForWidth())
|
|
280
|
-
self.example_label.setSizePolicy(sizePolicy)
|
|
281
|
-
self.example_label.setMinimumSize(QSize(400, 180))
|
|
282
|
-
self.example_label.setMaximumSize(QSize(400, 180))
|
|
283
|
-
self.example_label.setPixmap(QPixmap(u""+ icons_path +"laser_NTR.png"))
|
|
284
|
-
self.example_label.setScaledContents(True)
|
|
285
|
-
|
|
286
|
-
self.horizontalLayout.addWidget(self.example_label)
|
|
287
|
-
|
|
288
|
-
self.hs_right = QSpacerItem(5, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
289
|
-
|
|
290
|
-
self.horizontalLayout.addItem(self.hs_right)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
self.verticalLayout_10.addWidget(self.w_example_label)
|
|
294
|
-
|
|
295
|
-
self.w_further_val = QWidget(self.scrollAreaWidgetContents)
|
|
296
|
-
self.w_further_val.setObjectName(u"w_further_val")
|
|
297
|
-
self.w_further_val.setMinimumSize(QSize(0, 44))
|
|
298
|
-
self.w_further_val.setMaximumSize(QSize(16777215, 44))
|
|
299
|
-
self.horizontalLayout_5 = QHBoxLayout(self.w_further_val)
|
|
300
|
-
self.horizontalLayout_5.setSpacing(10)
|
|
301
|
-
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
|
|
302
|
-
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
|
|
303
|
-
self.w_MinVal = QWidget(self.w_further_val)
|
|
304
|
-
self.w_MinVal.setObjectName(u"w_MinVal")
|
|
305
|
-
self.w_MinVal.setMinimumSize(QSize(150, 44))
|
|
306
|
-
self.w_MinVal.setMaximumSize(QSize(16777215, 44))
|
|
307
|
-
self.verticalLayout_31 = QVBoxLayout(self.w_MinVal)
|
|
308
|
-
self.verticalLayout_31.setSpacing(0)
|
|
309
|
-
self.verticalLayout_31.setObjectName(u"verticalLayout_31")
|
|
310
|
-
self.verticalLayout_31.setContentsMargins(0, 0, 0, 0)
|
|
311
|
-
self.label_MinVal = QLabel(self.w_MinVal)
|
|
312
|
-
self.label_MinVal.setObjectName(u"label_MinVal")
|
|
313
|
-
sizePolicy2.setHeightForWidth(self.label_MinVal.sizePolicy().hasHeightForWidth())
|
|
314
|
-
self.label_MinVal.setSizePolicy(sizePolicy2)
|
|
315
|
-
self.label_MinVal.setMinimumSize(QSize(0, 20))
|
|
316
|
-
self.label_MinVal.setMaximumSize(QSize(16777215, 20))
|
|
317
|
-
self.label_MinVal.setFont(font3)
|
|
318
|
-
self.label_MinVal.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
319
|
-
|
|
320
|
-
self.verticalLayout_31.addWidget(self.label_MinVal)
|
|
321
|
-
|
|
322
|
-
self.spin_SogliaNoise = MyQDoubleSpin(self.w_MinVal)
|
|
323
|
-
self.spin_SogliaNoise.setObjectName(u"spin_SogliaNoise")
|
|
324
|
-
self.spin_SogliaNoise.setMinimumSize(QSize(0, 0))
|
|
325
|
-
self.spin_SogliaNoise.setMaximumSize(QSize(1000000, 24))
|
|
326
|
-
self.spin_SogliaNoise.setFont(font)
|
|
327
|
-
self.spin_SogliaNoise.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
|
|
328
|
-
self.spin_SogliaNoise.setCorrectionMode(QAbstractSpinBox.CorrectionMode.CorrectToNearestValue)
|
|
329
|
-
self.spin_SogliaNoise.setMaximum(4294967296.000000000000000)
|
|
330
|
-
self.spin_SogliaNoise.setSingleStep(0.100000000000000)
|
|
331
|
-
self.spin_SogliaNoise.setValue(5.000000000000000)
|
|
332
|
-
|
|
333
|
-
self.verticalLayout_31.addWidget(self.spin_SogliaNoise)
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
self.horizontalLayout_5.addWidget(self.w_MinVal)
|
|
337
|
-
|
|
338
|
-
self.w_MinStD = QWidget(self.w_further_val)
|
|
339
|
-
self.w_MinStD.setObjectName(u"w_MinStD")
|
|
340
|
-
self.w_MinStD.setMinimumSize(QSize(150, 44))
|
|
341
|
-
self.w_MinStD.setMaximumSize(QSize(16777215, 44))
|
|
342
|
-
self.verticalLayout_32 = QVBoxLayout(self.w_MinStD)
|
|
343
|
-
self.verticalLayout_32.setSpacing(0)
|
|
344
|
-
self.verticalLayout_32.setObjectName(u"verticalLayout_32")
|
|
345
|
-
self.verticalLayout_32.setContentsMargins(0, 0, 0, 0)
|
|
346
|
-
self.label_MinStD = QLabel(self.w_MinStD)
|
|
347
|
-
self.label_MinStD.setObjectName(u"label_MinStD")
|
|
348
|
-
sizePolicy2.setHeightForWidth(self.label_MinStD.sizePolicy().hasHeightForWidth())
|
|
349
|
-
self.label_MinStD.setSizePolicy(sizePolicy2)
|
|
350
|
-
self.label_MinStD.setMinimumSize(QSize(0, 20))
|
|
351
|
-
self.label_MinStD.setMaximumSize(QSize(16777215, 20))
|
|
352
|
-
self.label_MinStD.setFont(font3)
|
|
353
|
-
self.label_MinStD.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
354
|
-
|
|
355
|
-
self.verticalLayout_32.addWidget(self.label_MinStD)
|
|
356
|
-
|
|
357
|
-
self.spin_SogliaStd = MyQDoubleSpin(self.w_MinStD)
|
|
358
|
-
self.spin_SogliaStd.setObjectName(u"spin_SogliaStd")
|
|
359
|
-
self.spin_SogliaStd.setMinimumSize(QSize(0, 0))
|
|
360
|
-
self.spin_SogliaStd.setMaximumSize(QSize(1000000, 24))
|
|
361
|
-
self.spin_SogliaStd.setFont(font)
|
|
362
|
-
self.spin_SogliaStd.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
|
|
363
|
-
self.spin_SogliaStd.setCorrectionMode(QAbstractSpinBox.CorrectionMode.CorrectToNearestValue)
|
|
364
|
-
self.spin_SogliaStd.setSingleStep(0.100000000000000)
|
|
365
|
-
self.spin_SogliaStd.setValue(1.500000000000000)
|
|
366
|
-
|
|
367
|
-
self.verticalLayout_32.addWidget(self.spin_SogliaStd)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
self.horizontalLayout_5.addWidget(self.w_MinStD)
|
|
371
|
-
|
|
372
|
-
self.hs_val = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
373
|
-
|
|
374
|
-
self.horizontalLayout_5.addItem(self.hs_val)
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
self.verticalLayout_10.addWidget(self.w_further_val)
|
|
378
|
-
|
|
379
|
-
self.verticalSpacer = QSpacerItem(20, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
|
380
|
-
|
|
381
|
-
self.verticalLayout_10.addItem(self.verticalSpacer)
|
|
382
|
-
|
|
383
|
-
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
|
384
|
-
|
|
385
|
-
self.verticalLayout_65.addWidget(self.scrollArea)
|
|
386
|
-
|
|
387
|
-
QWidget.setTabOrder(self.button_back, self.button_forward)
|
|
388
|
-
QWidget.setTabOrder(self.button_forward, self.button_close_tab)
|
|
389
|
-
QWidget.setTabOrder(self.button_close_tab, self.scrollArea)
|
|
390
|
-
|
|
391
|
-
self.retranslateUi(ProcessTab_Min)
|
|
392
|
-
|
|
393
|
-
QMetaObject.connectSlotsByName(ProcessTab_Min)
|
|
394
|
-
# setupUi
|
|
395
|
-
|
|
396
|
-
def retranslateUi(self, ProcessTab_Min):
|
|
397
|
-
ProcessTab_Min.setWindowTitle(QCoreApplication.translate("ProcessTab_Min", u"Process", None))
|
|
398
|
-
self.icon.setText("")
|
|
399
|
-
self.name_tab.setText(QCoreApplication.translate("ProcessTab_Min", u" Process", None))
|
|
400
|
-
self.label_number.setText(QCoreApplication.translate("ProcessTab_Min", u"1", None))
|
|
401
|
-
#if QT_CONFIG(tooltip)
|
|
402
|
-
self.button_back.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Undo", None))
|
|
403
|
-
#endif // QT_CONFIG(tooltip)
|
|
404
|
-
self.button_back.setText("")
|
|
405
|
-
#if QT_CONFIG(tooltip)
|
|
406
|
-
self.button_forward.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Redo", None))
|
|
407
|
-
#endif // QT_CONFIG(tooltip)
|
|
408
|
-
self.button_forward.setText("")
|
|
409
|
-
#if QT_CONFIG(tooltip)
|
|
410
|
-
self.button_close_tab.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Close tab", None))
|
|
411
|
-
#endif // QT_CONFIG(tooltip)
|
|
412
|
-
self.button_close_tab.setText("")
|
|
413
|
-
#if QT_CONFIG(shortcut)
|
|
414
|
-
self.button_close_tab.setShortcut(QCoreApplication.translate("ProcessTab_Min", u"Alt+P", None))
|
|
415
|
-
#endif // QT_CONFIG(shortcut)
|
|
416
|
-
#if QT_CONFIG(tooltip)
|
|
417
|
-
self.radio_TR.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"If activated, the sequence is assumed to be time-resolved", None))
|
|
418
|
-
#endif // QT_CONFIG(tooltip)
|
|
419
|
-
self.radio_TR.setText(QCoreApplication.translate("ProcessTab_Min", u"Time resolved sequence", None))
|
|
420
|
-
self.label_LaserType.setText(QCoreApplication.translate("ProcessTab_Min", u"Laser setup", None))
|
|
421
|
-
self.combo_LaserType.setItemText(0, QCoreApplication.translate("ProcessTab_Min", u"single laser", None))
|
|
422
|
-
self.combo_LaserType.setItemText(1, QCoreApplication.translate("ProcessTab_Min", u"double laser", None))
|
|
423
|
-
|
|
424
|
-
#if QT_CONFIG(tooltip)
|
|
425
|
-
self.combo_LaserType.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Type of laser setup", None))
|
|
426
|
-
#endif // QT_CONFIG(tooltip)
|
|
427
|
-
self.example_label.setText("")
|
|
428
|
-
self.label_MinVal.setText(QCoreApplication.translate("ProcessTab_Min", u"Min. allowed value", None))
|
|
429
|
-
#if QT_CONFIG(tooltip)
|
|
430
|
-
self.spin_SogliaNoise.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Minimum value of intensity level to consider data in the window reliable", None))
|
|
431
|
-
#endif // QT_CONFIG(tooltip)
|
|
432
|
-
self.label_MinStD.setText(QCoreApplication.translate("ProcessTab_Min", u"Min. allowed st.d. value", None))
|
|
433
|
-
#if QT_CONFIG(tooltip)
|
|
434
|
-
self.spin_SogliaStd.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Minimum value of st.d. of intensity levels to consider data in the window reliable", None))
|
|
435
|
-
#endif // QT_CONFIG(tooltip)
|
|
436
|
-
# retranslateUi
|
|
437
|
-
|
|
25
|
+
|
|
26
|
+
class Ui_ProcessTab_Min(object):
|
|
27
|
+
def setupUi(self, ProcessTab_Min):
|
|
28
|
+
if not ProcessTab_Min.objectName():
|
|
29
|
+
ProcessTab_Min.setObjectName(u"ProcessTab_Min")
|
|
30
|
+
ProcessTab_Min.resize(500, 680)
|
|
31
|
+
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
|
32
|
+
sizePolicy.setHorizontalStretch(0)
|
|
33
|
+
sizePolicy.setVerticalStretch(0)
|
|
34
|
+
sizePolicy.setHeightForWidth(ProcessTab_Min.sizePolicy().hasHeightForWidth())
|
|
35
|
+
ProcessTab_Min.setSizePolicy(sizePolicy)
|
|
36
|
+
ProcessTab_Min.setMinimumSize(QSize(500, 680))
|
|
37
|
+
ProcessTab_Min.setMaximumSize(QSize(1000, 16777215))
|
|
38
|
+
font = QFont()
|
|
39
|
+
font.setPointSize(11)
|
|
40
|
+
ProcessTab_Min.setFont(font)
|
|
41
|
+
icon1 = QIcon()
|
|
42
|
+
icon1.addFile(u""+ icons_path +"process_logo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
43
|
+
ProcessTab_Min.setWindowIcon(icon1)
|
|
44
|
+
self.verticalLayout_65 = QVBoxLayout(ProcessTab_Min)
|
|
45
|
+
self.verticalLayout_65.setSpacing(5)
|
|
46
|
+
self.verticalLayout_65.setObjectName(u"verticalLayout_65")
|
|
47
|
+
self.verticalLayout_65.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
|
|
48
|
+
self.verticalLayout_65.setContentsMargins(10, 10, 10, 10)
|
|
49
|
+
self.w_Mode = QWidget(ProcessTab_Min)
|
|
50
|
+
self.w_Mode.setObjectName(u"w_Mode")
|
|
51
|
+
self.w_Mode.setMinimumSize(QSize(0, 40))
|
|
52
|
+
self.w_Mode.setMaximumSize(QSize(16777215, 40))
|
|
53
|
+
self.w_Mode.setFont(font)
|
|
54
|
+
self.horizontalLayout_2 = QHBoxLayout(self.w_Mode)
|
|
55
|
+
self.horizontalLayout_2.setSpacing(3)
|
|
56
|
+
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
57
|
+
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 10)
|
|
58
|
+
self.icon = QLabel(self.w_Mode)
|
|
59
|
+
self.icon.setObjectName(u"icon")
|
|
60
|
+
self.icon.setMinimumSize(QSize(35, 35))
|
|
61
|
+
self.icon.setMaximumSize(QSize(35, 35))
|
|
62
|
+
self.icon.setPixmap(QPixmap(u""+ icons_path +"process_logo.png"))
|
|
63
|
+
self.icon.setScaledContents(True)
|
|
64
|
+
|
|
65
|
+
self.horizontalLayout_2.addWidget(self.icon)
|
|
66
|
+
|
|
67
|
+
self.name_tab = MyTabLabel(self.w_Mode)
|
|
68
|
+
self.name_tab.setObjectName(u"name_tab")
|
|
69
|
+
self.name_tab.setMinimumSize(QSize(150, 35))
|
|
70
|
+
self.name_tab.setMaximumSize(QSize(16777215, 35))
|
|
71
|
+
font1 = QFont()
|
|
72
|
+
font1.setPointSize(20)
|
|
73
|
+
font1.setBold(True)
|
|
74
|
+
self.name_tab.setFont(font1)
|
|
75
|
+
|
|
76
|
+
self.horizontalLayout_2.addWidget(self.name_tab)
|
|
77
|
+
|
|
78
|
+
self.hs1 = QSpacerItem(30, 20, QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Minimum)
|
|
79
|
+
|
|
80
|
+
self.horizontalLayout_2.addItem(self.hs1)
|
|
81
|
+
|
|
82
|
+
self.label_number = QLabel(self.w_Mode)
|
|
83
|
+
self.label_number.setObjectName(u"label_number")
|
|
84
|
+
self.label_number.setMinimumSize(QSize(15, 0))
|
|
85
|
+
self.label_number.setMaximumSize(QSize(30, 16777215))
|
|
86
|
+
font2 = QFont()
|
|
87
|
+
font2.setPointSize(9)
|
|
88
|
+
self.label_number.setFont(font2)
|
|
89
|
+
self.label_number.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
|
90
|
+
|
|
91
|
+
self.horizontalLayout_2.addWidget(self.label_number)
|
|
92
|
+
|
|
93
|
+
self.hs_2 = QSpacerItem(5, 20, QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Minimum)
|
|
94
|
+
|
|
95
|
+
self.horizontalLayout_2.addItem(self.hs_2)
|
|
96
|
+
|
|
97
|
+
self.button_back = QToolButton(self.w_Mode)
|
|
98
|
+
self.button_back.setObjectName(u"button_back")
|
|
99
|
+
self.button_back.setMinimumSize(QSize(24, 24))
|
|
100
|
+
self.button_back.setMaximumSize(QSize(24, 24))
|
|
101
|
+
icon2 = QIcon()
|
|
102
|
+
icon2.addFile(u""+ icons_path +"undo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
103
|
+
self.button_back.setIcon(icon2)
|
|
104
|
+
self.button_back.setIconSize(QSize(20, 20))
|
|
105
|
+
|
|
106
|
+
self.horizontalLayout_2.addWidget(self.button_back)
|
|
107
|
+
|
|
108
|
+
self.button_forward = QToolButton(self.w_Mode)
|
|
109
|
+
self.button_forward.setObjectName(u"button_forward")
|
|
110
|
+
self.button_forward.setMinimumSize(QSize(24, 24))
|
|
111
|
+
self.button_forward.setMaximumSize(QSize(24, 24))
|
|
112
|
+
icon3 = QIcon()
|
|
113
|
+
icon3.addFile(u""+ icons_path +"redo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
114
|
+
self.button_forward.setIcon(icon3)
|
|
115
|
+
self.button_forward.setIconSize(QSize(20, 20))
|
|
116
|
+
|
|
117
|
+
self.horizontalLayout_2.addWidget(self.button_forward)
|
|
118
|
+
|
|
119
|
+
self.w_button_close_tab = QWidget(self.w_Mode)
|
|
120
|
+
self.w_button_close_tab.setObjectName(u"w_button_close_tab")
|
|
121
|
+
self.w_button_close_tab.setMinimumSize(QSize(18, 24))
|
|
122
|
+
self.w_button_close_tab.setMaximumSize(QSize(18, 24))
|
|
123
|
+
self.horizontalLayout_20 = QHBoxLayout(self.w_button_close_tab)
|
|
124
|
+
self.horizontalLayout_20.setSpacing(0)
|
|
125
|
+
self.horizontalLayout_20.setObjectName(u"horizontalLayout_20")
|
|
126
|
+
self.horizontalLayout_20.setContentsMargins(0, 0, 0, -1)
|
|
127
|
+
self.button_close_tab = QToolButton(self.w_button_close_tab)
|
|
128
|
+
self.button_close_tab.setObjectName(u"button_close_tab")
|
|
129
|
+
self.button_close_tab.setMinimumSize(QSize(18, 18))
|
|
130
|
+
self.button_close_tab.setMaximumSize(QSize(18, 18))
|
|
131
|
+
self.button_close_tab.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
|
132
|
+
self.button_close_tab.setStyleSheet(u"QToolButton{\n"
|
|
133
|
+
"border-radius: 15px;\n"
|
|
134
|
+
"}")
|
|
135
|
+
icon4 = QIcon()
|
|
136
|
+
icon4.addFile(u""+ icons_path +"close.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
137
|
+
self.button_close_tab.setIcon(icon4)
|
|
138
|
+
self.button_close_tab.setIconSize(QSize(15, 15))
|
|
139
|
+
|
|
140
|
+
self.horizontalLayout_20.addWidget(self.button_close_tab)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
self.horizontalLayout_2.addWidget(self.w_button_close_tab)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
self.verticalLayout_65.addWidget(self.w_Mode)
|
|
147
|
+
|
|
148
|
+
self.separator = QFrame(ProcessTab_Min)
|
|
149
|
+
self.separator.setObjectName(u"separator")
|
|
150
|
+
self.separator.setMinimumSize(QSize(0, 5))
|
|
151
|
+
self.separator.setFrameShape(QFrame.Shape.HLine)
|
|
152
|
+
self.separator.setFrameShadow(QFrame.Shadow.Sunken)
|
|
153
|
+
|
|
154
|
+
self.verticalLayout_65.addWidget(self.separator)
|
|
155
|
+
|
|
156
|
+
self.scrollArea = QScrollArea(ProcessTab_Min)
|
|
157
|
+
self.scrollArea.setObjectName(u"scrollArea")
|
|
158
|
+
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
|
|
159
|
+
sizePolicy1.setHorizontalStretch(0)
|
|
160
|
+
sizePolicy1.setVerticalStretch(0)
|
|
161
|
+
sizePolicy1.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
|
|
162
|
+
self.scrollArea.setSizePolicy(sizePolicy1)
|
|
163
|
+
self.scrollArea.setMinimumSize(QSize(0, 0))
|
|
164
|
+
self.scrollArea.setMaximumSize(QSize(16777215, 16777215))
|
|
165
|
+
self.scrollArea.setStyleSheet(u" QScrollArea {\n"
|
|
166
|
+
" border: 1pix solid gray;\n"
|
|
167
|
+
" background: transparent;\n"
|
|
168
|
+
" }\n"
|
|
169
|
+
"\n"
|
|
170
|
+
"QScrollBar:horizontal\n"
|
|
171
|
+
" {\n"
|
|
172
|
+
" height: 15px;\n"
|
|
173
|
+
" margin: 3px 10px 3px 10px;\n"
|
|
174
|
+
" border: 1px transparent #2A2929;\n"
|
|
175
|
+
" border-radius: 4px;\n"
|
|
176
|
+
" background-color: rgba(200,200,200,50); /* #2A2929; */\n"
|
|
177
|
+
" }\n"
|
|
178
|
+
"\n"
|
|
179
|
+
"QScrollBar::handle:horizontal\n"
|
|
180
|
+
" {\n"
|
|
181
|
+
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
182
|
+
" min-width: 5px;\n"
|
|
183
|
+
" border-radius: 4px;\n"
|
|
184
|
+
" }\n"
|
|
185
|
+
"\n"
|
|
186
|
+
"QScrollBar:vertical\n"
|
|
187
|
+
" {\n"
|
|
188
|
+
" background-color: rgba(200,200,200,50); ;\n"
|
|
189
|
+
" width: 15px;\n"
|
|
190
|
+
" margin: 10px 3px 10px 3px;\n"
|
|
191
|
+
" border: 1px transparent #2A2929;\n"
|
|
192
|
+
" border-radius: 4px;\n"
|
|
193
|
+
" }\n"
|
|
194
|
+
"\n"
|
|
195
|
+
"QScrollBar::handle:vertical\n"
|
|
196
|
+
" {\n"
|
|
197
|
+
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
198
|
+
" min-height: 5px;\n"
|
|
199
|
+
" border-radius: 4px;\n"
|
|
200
|
+
" }\n"
|
|
201
|
+
"\n"
|
|
202
|
+
"QScrollBar::add-line {\n"
|
|
203
|
+
""
|
|
204
|
+
" border: none;\n"
|
|
205
|
+
" background: none;\n"
|
|
206
|
+
" }\n"
|
|
207
|
+
"\n"
|
|
208
|
+
"QScrollBar::sub-line {\n"
|
|
209
|
+
" border: none;\n"
|
|
210
|
+
" background: none;\n"
|
|
211
|
+
" }\n"
|
|
212
|
+
"")
|
|
213
|
+
self.scrollArea.setWidgetResizable(True)
|
|
214
|
+
self.scrollAreaWidgetContents = QWidget()
|
|
215
|
+
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
|
|
216
|
+
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 480, 605))
|
|
217
|
+
sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
|
|
218
|
+
self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
|
|
219
|
+
self.scrollAreaWidgetContents.setMinimumSize(QSize(0, 0))
|
|
220
|
+
self.scrollAreaWidgetContents.setStyleSheet(u"\u2020")
|
|
221
|
+
self.verticalLayout_10 = QVBoxLayout(self.scrollAreaWidgetContents)
|
|
222
|
+
self.verticalLayout_10.setSpacing(20)
|
|
223
|
+
self.verticalLayout_10.setObjectName(u"verticalLayout_10")
|
|
224
|
+
self.verticalLayout_10.setContentsMargins(0, 15, 10, 5)
|
|
225
|
+
self.radio_TR = QRadioButton(self.scrollAreaWidgetContents)
|
|
226
|
+
self.radio_TR.setObjectName(u"radio_TR")
|
|
227
|
+
|
|
228
|
+
self.verticalLayout_10.addWidget(self.radio_TR)
|
|
229
|
+
|
|
230
|
+
self.w_LaserType = QWidget(self.scrollAreaWidgetContents)
|
|
231
|
+
self.w_LaserType.setObjectName(u"w_LaserType")
|
|
232
|
+
self.w_LaserType.setMinimumSize(QSize(0, 44))
|
|
233
|
+
self.w_LaserType.setMaximumSize(QSize(200, 44))
|
|
234
|
+
self.verticalLayout_67 = QVBoxLayout(self.w_LaserType)
|
|
235
|
+
self.verticalLayout_67.setSpacing(0)
|
|
236
|
+
self.verticalLayout_67.setObjectName(u"verticalLayout_67")
|
|
237
|
+
self.verticalLayout_67.setContentsMargins(0, 0, 0, 0)
|
|
238
|
+
self.label_LaserType = QLabel(self.w_LaserType)
|
|
239
|
+
self.label_LaserType.setObjectName(u"label_LaserType")
|
|
240
|
+
sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
|
241
|
+
sizePolicy2.setHorizontalStretch(0)
|
|
242
|
+
sizePolicy2.setVerticalStretch(0)
|
|
243
|
+
sizePolicy2.setHeightForWidth(self.label_LaserType.sizePolicy().hasHeightForWidth())
|
|
244
|
+
self.label_LaserType.setSizePolicy(sizePolicy2)
|
|
245
|
+
self.label_LaserType.setMinimumSize(QSize(80, 20))
|
|
246
|
+
self.label_LaserType.setMaximumSize(QSize(16777215, 20))
|
|
247
|
+
font3 = QFont()
|
|
248
|
+
font3.setPointSize(10)
|
|
249
|
+
font3.setBold(False)
|
|
250
|
+
font3.setItalic(True)
|
|
251
|
+
self.label_LaserType.setFont(font3)
|
|
252
|
+
self.label_LaserType.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
253
|
+
|
|
254
|
+
self.verticalLayout_67.addWidget(self.label_LaserType)
|
|
255
|
+
|
|
256
|
+
self.combo_LaserType = MyQCombo(self.w_LaserType)
|
|
257
|
+
self.combo_LaserType.addItem("")
|
|
258
|
+
self.combo_LaserType.addItem("")
|
|
259
|
+
self.combo_LaserType.setObjectName(u"combo_LaserType")
|
|
260
|
+
self.combo_LaserType.setMinimumSize(QSize(85, 0))
|
|
261
|
+
self.combo_LaserType.setMaximumSize(QSize(16777215, 24))
|
|
262
|
+
self.combo_LaserType.setFont(font)
|
|
263
|
+
|
|
264
|
+
self.verticalLayout_67.addWidget(self.combo_LaserType)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
self.verticalLayout_10.addWidget(self.w_LaserType)
|
|
268
|
+
|
|
269
|
+
self.w_example_label = QWidget(self.scrollAreaWidgetContents)
|
|
270
|
+
self.w_example_label.setObjectName(u"w_example_label")
|
|
271
|
+
self.horizontalLayout = QHBoxLayout(self.w_example_label)
|
|
272
|
+
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
|
273
|
+
self.hs_left = QSpacerItem(5, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
274
|
+
|
|
275
|
+
self.horizontalLayout.addItem(self.hs_left)
|
|
276
|
+
|
|
277
|
+
self.example_label = QLabel(self.w_example_label)
|
|
278
|
+
self.example_label.setObjectName(u"example_label")
|
|
279
|
+
sizePolicy.setHeightForWidth(self.example_label.sizePolicy().hasHeightForWidth())
|
|
280
|
+
self.example_label.setSizePolicy(sizePolicy)
|
|
281
|
+
self.example_label.setMinimumSize(QSize(400, 180))
|
|
282
|
+
self.example_label.setMaximumSize(QSize(400, 180))
|
|
283
|
+
self.example_label.setPixmap(QPixmap(u""+ icons_path +"laser_NTR.png"))
|
|
284
|
+
self.example_label.setScaledContents(True)
|
|
285
|
+
|
|
286
|
+
self.horizontalLayout.addWidget(self.example_label)
|
|
287
|
+
|
|
288
|
+
self.hs_right = QSpacerItem(5, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
289
|
+
|
|
290
|
+
self.horizontalLayout.addItem(self.hs_right)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
self.verticalLayout_10.addWidget(self.w_example_label)
|
|
294
|
+
|
|
295
|
+
self.w_further_val = QWidget(self.scrollAreaWidgetContents)
|
|
296
|
+
self.w_further_val.setObjectName(u"w_further_val")
|
|
297
|
+
self.w_further_val.setMinimumSize(QSize(0, 44))
|
|
298
|
+
self.w_further_val.setMaximumSize(QSize(16777215, 44))
|
|
299
|
+
self.horizontalLayout_5 = QHBoxLayout(self.w_further_val)
|
|
300
|
+
self.horizontalLayout_5.setSpacing(10)
|
|
301
|
+
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
|
|
302
|
+
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
|
|
303
|
+
self.w_MinVal = QWidget(self.w_further_val)
|
|
304
|
+
self.w_MinVal.setObjectName(u"w_MinVal")
|
|
305
|
+
self.w_MinVal.setMinimumSize(QSize(150, 44))
|
|
306
|
+
self.w_MinVal.setMaximumSize(QSize(16777215, 44))
|
|
307
|
+
self.verticalLayout_31 = QVBoxLayout(self.w_MinVal)
|
|
308
|
+
self.verticalLayout_31.setSpacing(0)
|
|
309
|
+
self.verticalLayout_31.setObjectName(u"verticalLayout_31")
|
|
310
|
+
self.verticalLayout_31.setContentsMargins(0, 0, 0, 0)
|
|
311
|
+
self.label_MinVal = QLabel(self.w_MinVal)
|
|
312
|
+
self.label_MinVal.setObjectName(u"label_MinVal")
|
|
313
|
+
sizePolicy2.setHeightForWidth(self.label_MinVal.sizePolicy().hasHeightForWidth())
|
|
314
|
+
self.label_MinVal.setSizePolicy(sizePolicy2)
|
|
315
|
+
self.label_MinVal.setMinimumSize(QSize(0, 20))
|
|
316
|
+
self.label_MinVal.setMaximumSize(QSize(16777215, 20))
|
|
317
|
+
self.label_MinVal.setFont(font3)
|
|
318
|
+
self.label_MinVal.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
319
|
+
|
|
320
|
+
self.verticalLayout_31.addWidget(self.label_MinVal)
|
|
321
|
+
|
|
322
|
+
self.spin_SogliaNoise = MyQDoubleSpin(self.w_MinVal)
|
|
323
|
+
self.spin_SogliaNoise.setObjectName(u"spin_SogliaNoise")
|
|
324
|
+
self.spin_SogliaNoise.setMinimumSize(QSize(0, 0))
|
|
325
|
+
self.spin_SogliaNoise.setMaximumSize(QSize(1000000, 24))
|
|
326
|
+
self.spin_SogliaNoise.setFont(font)
|
|
327
|
+
self.spin_SogliaNoise.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
|
|
328
|
+
self.spin_SogliaNoise.setCorrectionMode(QAbstractSpinBox.CorrectionMode.CorrectToNearestValue)
|
|
329
|
+
self.spin_SogliaNoise.setMaximum(4294967296.000000000000000)
|
|
330
|
+
self.spin_SogliaNoise.setSingleStep(0.100000000000000)
|
|
331
|
+
self.spin_SogliaNoise.setValue(5.000000000000000)
|
|
332
|
+
|
|
333
|
+
self.verticalLayout_31.addWidget(self.spin_SogliaNoise)
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
self.horizontalLayout_5.addWidget(self.w_MinVal)
|
|
337
|
+
|
|
338
|
+
self.w_MinStD = QWidget(self.w_further_val)
|
|
339
|
+
self.w_MinStD.setObjectName(u"w_MinStD")
|
|
340
|
+
self.w_MinStD.setMinimumSize(QSize(150, 44))
|
|
341
|
+
self.w_MinStD.setMaximumSize(QSize(16777215, 44))
|
|
342
|
+
self.verticalLayout_32 = QVBoxLayout(self.w_MinStD)
|
|
343
|
+
self.verticalLayout_32.setSpacing(0)
|
|
344
|
+
self.verticalLayout_32.setObjectName(u"verticalLayout_32")
|
|
345
|
+
self.verticalLayout_32.setContentsMargins(0, 0, 0, 0)
|
|
346
|
+
self.label_MinStD = QLabel(self.w_MinStD)
|
|
347
|
+
self.label_MinStD.setObjectName(u"label_MinStD")
|
|
348
|
+
sizePolicy2.setHeightForWidth(self.label_MinStD.sizePolicy().hasHeightForWidth())
|
|
349
|
+
self.label_MinStD.setSizePolicy(sizePolicy2)
|
|
350
|
+
self.label_MinStD.setMinimumSize(QSize(0, 20))
|
|
351
|
+
self.label_MinStD.setMaximumSize(QSize(16777215, 20))
|
|
352
|
+
self.label_MinStD.setFont(font3)
|
|
353
|
+
self.label_MinStD.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
|
|
354
|
+
|
|
355
|
+
self.verticalLayout_32.addWidget(self.label_MinStD)
|
|
356
|
+
|
|
357
|
+
self.spin_SogliaStd = MyQDoubleSpin(self.w_MinStD)
|
|
358
|
+
self.spin_SogliaStd.setObjectName(u"spin_SogliaStd")
|
|
359
|
+
self.spin_SogliaStd.setMinimumSize(QSize(0, 0))
|
|
360
|
+
self.spin_SogliaStd.setMaximumSize(QSize(1000000, 24))
|
|
361
|
+
self.spin_SogliaStd.setFont(font)
|
|
362
|
+
self.spin_SogliaStd.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
|
|
363
|
+
self.spin_SogliaStd.setCorrectionMode(QAbstractSpinBox.CorrectionMode.CorrectToNearestValue)
|
|
364
|
+
self.spin_SogliaStd.setSingleStep(0.100000000000000)
|
|
365
|
+
self.spin_SogliaStd.setValue(1.500000000000000)
|
|
366
|
+
|
|
367
|
+
self.verticalLayout_32.addWidget(self.spin_SogliaStd)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
self.horizontalLayout_5.addWidget(self.w_MinStD)
|
|
371
|
+
|
|
372
|
+
self.hs_val = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
373
|
+
|
|
374
|
+
self.horizontalLayout_5.addItem(self.hs_val)
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
self.verticalLayout_10.addWidget(self.w_further_val)
|
|
378
|
+
|
|
379
|
+
self.verticalSpacer = QSpacerItem(20, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
|
380
|
+
|
|
381
|
+
self.verticalLayout_10.addItem(self.verticalSpacer)
|
|
382
|
+
|
|
383
|
+
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
|
384
|
+
|
|
385
|
+
self.verticalLayout_65.addWidget(self.scrollArea)
|
|
386
|
+
|
|
387
|
+
QWidget.setTabOrder(self.button_back, self.button_forward)
|
|
388
|
+
QWidget.setTabOrder(self.button_forward, self.button_close_tab)
|
|
389
|
+
QWidget.setTabOrder(self.button_close_tab, self.scrollArea)
|
|
390
|
+
|
|
391
|
+
self.retranslateUi(ProcessTab_Min)
|
|
392
|
+
|
|
393
|
+
QMetaObject.connectSlotsByName(ProcessTab_Min)
|
|
394
|
+
# setupUi
|
|
395
|
+
|
|
396
|
+
def retranslateUi(self, ProcessTab_Min):
|
|
397
|
+
ProcessTab_Min.setWindowTitle(QCoreApplication.translate("ProcessTab_Min", u"Process", None))
|
|
398
|
+
self.icon.setText("")
|
|
399
|
+
self.name_tab.setText(QCoreApplication.translate("ProcessTab_Min", u" Process", None))
|
|
400
|
+
self.label_number.setText(QCoreApplication.translate("ProcessTab_Min", u"1", None))
|
|
401
|
+
#if QT_CONFIG(tooltip)
|
|
402
|
+
self.button_back.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Undo", None))
|
|
403
|
+
#endif // QT_CONFIG(tooltip)
|
|
404
|
+
self.button_back.setText("")
|
|
405
|
+
#if QT_CONFIG(tooltip)
|
|
406
|
+
self.button_forward.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Redo", None))
|
|
407
|
+
#endif // QT_CONFIG(tooltip)
|
|
408
|
+
self.button_forward.setText("")
|
|
409
|
+
#if QT_CONFIG(tooltip)
|
|
410
|
+
self.button_close_tab.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Close tab", None))
|
|
411
|
+
#endif // QT_CONFIG(tooltip)
|
|
412
|
+
self.button_close_tab.setText("")
|
|
413
|
+
#if QT_CONFIG(shortcut)
|
|
414
|
+
self.button_close_tab.setShortcut(QCoreApplication.translate("ProcessTab_Min", u"Alt+P", None))
|
|
415
|
+
#endif // QT_CONFIG(shortcut)
|
|
416
|
+
#if QT_CONFIG(tooltip)
|
|
417
|
+
self.radio_TR.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"If activated, the sequence is assumed to be time-resolved", None))
|
|
418
|
+
#endif // QT_CONFIG(tooltip)
|
|
419
|
+
self.radio_TR.setText(QCoreApplication.translate("ProcessTab_Min", u"Time resolved sequence", None))
|
|
420
|
+
self.label_LaserType.setText(QCoreApplication.translate("ProcessTab_Min", u"Laser setup", None))
|
|
421
|
+
self.combo_LaserType.setItemText(0, QCoreApplication.translate("ProcessTab_Min", u"single laser", None))
|
|
422
|
+
self.combo_LaserType.setItemText(1, QCoreApplication.translate("ProcessTab_Min", u"double laser", None))
|
|
423
|
+
|
|
424
|
+
#if QT_CONFIG(tooltip)
|
|
425
|
+
self.combo_LaserType.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Type of laser setup", None))
|
|
426
|
+
#endif // QT_CONFIG(tooltip)
|
|
427
|
+
self.example_label.setText("")
|
|
428
|
+
self.label_MinVal.setText(QCoreApplication.translate("ProcessTab_Min", u"Min. allowed value", None))
|
|
429
|
+
#if QT_CONFIG(tooltip)
|
|
430
|
+
self.spin_SogliaNoise.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Minimum value of intensity level to consider data in the window reliable", None))
|
|
431
|
+
#endif // QT_CONFIG(tooltip)
|
|
432
|
+
self.label_MinStD.setText(QCoreApplication.translate("ProcessTab_Min", u"Min. allowed st.d. value", None))
|
|
433
|
+
#if QT_CONFIG(tooltip)
|
|
434
|
+
self.spin_SogliaStd.setToolTip(QCoreApplication.translate("ProcessTab_Min", u"Minimum value of st.d. of intensity levels to consider data in the window reliable", None))
|
|
435
|
+
#endif // QT_CONFIG(tooltip)
|
|
436
|
+
# retranslateUi
|
|
437
|
+
|