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
PaIRS_UniNa/ui_Log_Tab.py
CHANGED
|
@@ -1,263 +1,263 @@
|
|
|
1
1
|
from .addwidgets_ps import icons_path
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
|
|
4
|
-
################################################################################
|
|
5
|
-
## Form generated from reading UI file 'Log_TabEHNRWA.ui'
|
|
6
|
-
##
|
|
7
|
-
## Created by: Qt User Interface Compiler version 6.7.2
|
|
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 (QApplication, QFrame, QHBoxLayout, QLabel,
|
|
20
|
-
QProgressBar, QScrollArea, QSizePolicy, QTextEdit,
|
|
21
|
-
QToolButton, QVBoxLayout, QWidget)
|
|
22
|
-
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
################################################################################
|
|
5
|
+
## Form generated from reading UI file 'Log_TabEHNRWA.ui'
|
|
6
|
+
##
|
|
7
|
+
## Created by: Qt User Interface Compiler version 6.7.2
|
|
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 (QApplication, QFrame, QHBoxLayout, QLabel,
|
|
20
|
+
QProgressBar, QScrollArea, QSizePolicy, QTextEdit,
|
|
21
|
+
QToolButton, QVBoxLayout, QWidget)
|
|
22
|
+
|
|
23
23
|
from .addwidgets_ps import MyTabLabel
|
|
24
|
-
|
|
25
|
-
class Ui_LogTab(object):
|
|
26
|
-
def setupUi(self, LogTab):
|
|
27
|
-
if not LogTab.objectName():
|
|
28
|
-
LogTab.setObjectName(u"LogTab")
|
|
29
|
-
LogTab.resize(500, 680)
|
|
30
|
-
LogTab.setMinimumSize(QSize(500, 680))
|
|
31
|
-
LogTab.setMaximumSize(QSize(1000, 16777215))
|
|
32
|
-
icon1 = QIcon()
|
|
33
|
-
icon1.addFile(u""+ icons_path +"log_logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
34
|
-
LogTab.setWindowIcon(icon1)
|
|
35
|
-
self.verticalLayout_4 = QVBoxLayout(LogTab)
|
|
36
|
-
self.verticalLayout_4.setObjectName(u"verticalLayout_4")
|
|
37
|
-
self.w_Mode = QWidget(LogTab)
|
|
38
|
-
self.w_Mode.setObjectName(u"w_Mode")
|
|
39
|
-
self.w_Mode.setMinimumSize(QSize(0, 40))
|
|
40
|
-
self.w_Mode.setMaximumSize(QSize(16777215, 40))
|
|
41
|
-
font = QFont()
|
|
42
|
-
font.setPointSize(11)
|
|
43
|
-
self.w_Mode.setFont(font)
|
|
44
|
-
self.horizontalLayout_5 = QHBoxLayout(self.w_Mode)
|
|
45
|
-
self.horizontalLayout_5.setSpacing(3)
|
|
46
|
-
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
|
|
47
|
-
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 10)
|
|
48
|
-
self.icon = MyTabLabel(self.w_Mode)
|
|
49
|
-
self.icon.setObjectName(u"icon")
|
|
50
|
-
self.icon.setMinimumSize(QSize(35, 35))
|
|
51
|
-
self.icon.setMaximumSize(QSize(35, 35))
|
|
52
|
-
self.icon.setPixmap(QPixmap(u""+ icons_path +"log_logo.png"))
|
|
53
|
-
self.icon.setScaledContents(True)
|
|
54
|
-
|
|
55
|
-
self.horizontalLayout_5.addWidget(self.icon)
|
|
56
|
-
|
|
57
|
-
self.name_tab = QLabel(self.w_Mode)
|
|
58
|
-
self.name_tab.setObjectName(u"name_tab")
|
|
59
|
-
self.name_tab.setMinimumSize(QSize(200, 35))
|
|
60
|
-
self.name_tab.setMaximumSize(QSize(16777215, 35))
|
|
61
|
-
font1 = QFont()
|
|
62
|
-
font1.setFamilies([u"Arial"])
|
|
63
|
-
font1.setPointSize(20)
|
|
64
|
-
font1.setBold(True)
|
|
65
|
-
self.name_tab.setFont(font1)
|
|
66
|
-
|
|
67
|
-
self.horizontalLayout_5.addWidget(self.name_tab)
|
|
68
|
-
|
|
69
|
-
self.progress_Proc = QProgressBar(self.w_Mode)
|
|
70
|
-
self.progress_Proc.setObjectName(u"progress_Proc")
|
|
71
|
-
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
|
72
|
-
sizePolicy.setHorizontalStretch(0)
|
|
73
|
-
sizePolicy.setVerticalStretch(0)
|
|
74
|
-
sizePolicy.setHeightForWidth(self.progress_Proc.sizePolicy().hasHeightForWidth())
|
|
75
|
-
self.progress_Proc.setSizePolicy(sizePolicy)
|
|
76
|
-
self.progress_Proc.setMinimumSize(QSize(100, 36))
|
|
77
|
-
self.progress_Proc.setMaximumSize(QSize(100, 36))
|
|
78
|
-
font2 = QFont()
|
|
79
|
-
font2.setPointSize(11)
|
|
80
|
-
font2.setKerning(True)
|
|
81
|
-
self.progress_Proc.setFont(font2)
|
|
82
|
-
self.progress_Proc.setStyleSheet(u"")
|
|
83
|
-
self.progress_Proc.setValue(24)
|
|
84
|
-
self.progress_Proc.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
85
|
-
self.progress_Proc.setInvertedAppearance(False)
|
|
86
|
-
|
|
87
|
-
self.horizontalLayout_5.addWidget(self.progress_Proc)
|
|
88
|
-
|
|
89
|
-
self.w_button_close_tab = QWidget(self.w_Mode)
|
|
90
|
-
self.w_button_close_tab.setObjectName(u"w_button_close_tab")
|
|
91
|
-
self.w_button_close_tab.setMinimumSize(QSize(18, 24))
|
|
92
|
-
self.w_button_close_tab.setMaximumSize(QSize(18, 24))
|
|
93
|
-
self.horizontalLayout_3 = QHBoxLayout(self.w_button_close_tab)
|
|
94
|
-
self.horizontalLayout_3.setSpacing(0)
|
|
95
|
-
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
|
96
|
-
self.horizontalLayout_3.setContentsMargins(0, 0, 0, -1)
|
|
97
|
-
self.button_close_tab = QToolButton(self.w_button_close_tab)
|
|
98
|
-
self.button_close_tab.setObjectName(u"button_close_tab")
|
|
99
|
-
self.button_close_tab.setMinimumSize(QSize(18, 18))
|
|
100
|
-
self.button_close_tab.setMaximumSize(QSize(18, 18))
|
|
101
|
-
self.button_close_tab.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
|
102
|
-
self.button_close_tab.setStyleSheet(u"QToolButton{\n"
|
|
103
|
-
"border-radius: 15px;\n"
|
|
104
|
-
"}")
|
|
105
|
-
icon2 = QIcon()
|
|
106
|
-
icon2.addFile(u""+ icons_path +"close.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
107
|
-
self.button_close_tab.setIcon(icon2)
|
|
108
|
-
self.button_close_tab.setIconSize(QSize(15, 15))
|
|
109
|
-
|
|
110
|
-
self.horizontalLayout_3.addWidget(self.button_close_tab)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
self.horizontalLayout_5.addWidget(self.w_button_close_tab)
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
self.verticalLayout_4.addWidget(self.w_Mode)
|
|
117
|
-
|
|
118
|
-
self.line = QFrame(LogTab)
|
|
119
|
-
self.line.setObjectName(u"line")
|
|
120
|
-
self.line.setMinimumSize(QSize(0, 5))
|
|
121
|
-
self.line.setFrameShape(QFrame.Shape.HLine)
|
|
122
|
-
self.line.setFrameShadow(QFrame.Shadow.Sunken)
|
|
123
|
-
|
|
124
|
-
self.verticalLayout_4.addWidget(self.line)
|
|
125
|
-
|
|
126
|
-
self.scrollArea = QScrollArea(LogTab)
|
|
127
|
-
self.scrollArea.setObjectName(u"scrollArea")
|
|
128
|
-
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
|
|
129
|
-
sizePolicy1.setHorizontalStretch(0)
|
|
130
|
-
sizePolicy1.setVerticalStretch(0)
|
|
131
|
-
sizePolicy1.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
|
|
132
|
-
self.scrollArea.setSizePolicy(sizePolicy1)
|
|
133
|
-
self.scrollArea.setMinimumSize(QSize(0, 0))
|
|
134
|
-
self.scrollArea.setStyleSheet(u" QScrollArea {\n"
|
|
135
|
-
" border: 1pix solid gray;\n"
|
|
136
|
-
" background: transparent;\n"
|
|
137
|
-
" }\n"
|
|
138
|
-
"\n"
|
|
139
|
-
"QScrollBar:horizontal\n"
|
|
140
|
-
" {\n"
|
|
141
|
-
" height: 15px;\n"
|
|
142
|
-
" margin: 3px 10px 3px 10px;\n"
|
|
143
|
-
" border: 1px transparent #2A2929;\n"
|
|
144
|
-
" border-radius: 4px;\n"
|
|
145
|
-
" background-color: rgba(200,200,200,50); /* #2A2929; */\n"
|
|
146
|
-
" }\n"
|
|
147
|
-
"\n"
|
|
148
|
-
"QScrollBar::handle:horizontal\n"
|
|
149
|
-
" {\n"
|
|
150
|
-
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
151
|
-
" min-width: 30px;\n"
|
|
152
|
-
" border-radius: 4px;\n"
|
|
153
|
-
" }\n"
|
|
154
|
-
"\n"
|
|
155
|
-
"QScrollBar:vertical\n"
|
|
156
|
-
" {\n"
|
|
157
|
-
" background-color: rgba(200,200,200,50); ;\n"
|
|
158
|
-
" width: 15px;\n"
|
|
159
|
-
" margin: 10px 3px 10px 3px;\n"
|
|
160
|
-
" border: 1px transparent #2A2929;\n"
|
|
161
|
-
" border-radius: 4px;\n"
|
|
162
|
-
" }\n"
|
|
163
|
-
"\n"
|
|
164
|
-
"QScrollBar::handle:vertical\n"
|
|
165
|
-
" {\n"
|
|
166
|
-
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
167
|
-
" min-height: 30px;\n"
|
|
168
|
-
" border-radius: 4px;\n"
|
|
169
|
-
" }\n"
|
|
170
|
-
"\n"
|
|
171
|
-
"QScrollBar::add-line {\n"
|
|
172
|
-
""
|
|
173
|
-
" border: none;\n"
|
|
174
|
-
" background: none;\n"
|
|
175
|
-
" }\n"
|
|
176
|
-
"\n"
|
|
177
|
-
"QScrollBar::sub-line {\n"
|
|
178
|
-
" border: none;\n"
|
|
179
|
-
" background: none;\n"
|
|
180
|
-
" }\n"
|
|
181
|
-
"")
|
|
182
|
-
self.scrollArea.setWidgetResizable(True)
|
|
183
|
-
self.scrollAreaWidgetContents = QWidget()
|
|
184
|
-
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
|
|
185
|
-
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 482, 605))
|
|
186
|
-
self.verticalLayout_8 = QVBoxLayout(self.scrollAreaWidgetContents)
|
|
187
|
-
self.verticalLayout_8.setSpacing(10)
|
|
188
|
-
self.verticalLayout_8.setObjectName(u"verticalLayout_8")
|
|
189
|
-
self.verticalLayout_8.setContentsMargins(0, 5, 10, 0)
|
|
190
|
-
self.log = QTextEdit(self.scrollAreaWidgetContents)
|
|
191
|
-
self.log.setObjectName(u"log")
|
|
192
|
-
font3 = QFont()
|
|
193
|
-
font3.setFamilies([u"Courier New"])
|
|
194
|
-
font3.setPointSize(10)
|
|
195
|
-
self.log.setFont(font3)
|
|
196
|
-
self.log.setStyleSheet(u"background-color: rgb(0, 0, 0);\n"
|
|
197
|
-
"border-color: rgb(255, 255, 255);\n"
|
|
198
|
-
"color: rgb(255, 255, 255);")
|
|
199
|
-
self.log.setLineWrapMode(QTextEdit.LineWrapMode.FixedPixelWidth)
|
|
200
|
-
self.log.setLineWrapColumnOrWidth(600)
|
|
201
|
-
self.log.setReadOnly(True)
|
|
202
|
-
self.log.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByKeyboard|Qt.TextInteractionFlag.TextSelectableByMouse)
|
|
203
|
-
|
|
204
|
-
self.verticalLayout_8.addWidget(self.log)
|
|
205
|
-
|
|
206
|
-
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
|
207
|
-
|
|
208
|
-
self.verticalLayout_4.addWidget(self.scrollArea)
|
|
209
|
-
|
|
210
|
-
QWidget.setTabOrder(self.button_close_tab, self.scrollArea)
|
|
211
|
-
QWidget.setTabOrder(self.scrollArea, self.log)
|
|
212
|
-
|
|
213
|
-
self.retranslateUi(LogTab)
|
|
214
|
-
|
|
215
|
-
QMetaObject.connectSlotsByName(LogTab)
|
|
216
|
-
# setupUi
|
|
217
|
-
|
|
218
|
-
def retranslateUi(self, LogTab):
|
|
219
|
-
LogTab.setWindowTitle(QCoreApplication.translate("LogTab", u"Log", None))
|
|
220
|
-
self.icon.setText("")
|
|
221
|
-
self.name_tab.setText(QCoreApplication.translate("LogTab", u" Log", None))
|
|
222
|
-
#if QT_CONFIG(tooltip)
|
|
223
|
-
self.button_close_tab.setToolTip(QCoreApplication.translate("LogTab", u"Close tab", None))
|
|
224
|
-
#endif // QT_CONFIG(tooltip)
|
|
225
|
-
self.button_close_tab.setText("")
|
|
226
|
-
#if QT_CONFIG(shortcut)
|
|
227
|
-
self.button_close_tab.setShortcut(QCoreApplication.translate("LogTab", u"Alt+L", None))
|
|
228
|
-
#endif // QT_CONFIG(shortcut)
|
|
229
|
-
self.log.setHtml(QCoreApplication.translate("LogTab", u"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
230
|
-
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
|
|
231
|
-
"p, li { white-space: pre-wrap; }\n"
|
|
232
|
-
"hr { height: 1px; border-width: 0; }\n"
|
|
233
|
-
"li.unchecked::marker { content: \"\\2610\"; }\n"
|
|
234
|
-
"li.checked::marker { content: \"\\2612\"; }\n"
|
|
235
|
-
"</style></head><body style=\" font-family:'Courier New'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
|
|
236
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">PaIRS - version 0.1.4</p>\n"
|
|
237
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Particle Image Reconstruction Software</p>\n"
|
|
238
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">(C) 2023 Gerardo Paolillo & Tommaso Astarita.</p>\n"
|
|
239
|
-
"<p style=\" margin-top:"
|
|
240
|
-
"0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">All rights reserved.</p>\n"
|
|
241
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">email: etfd@unina.it</p>\n"
|
|
242
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">****************************************</p>\n"
|
|
243
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">PIV computation (C:/desk/PIV_Img/img1/out_PaIRS/out.pairs.pivproc)</p>\n"
|
|
244
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">PaIRS-v0.1.4_Windows-Gerardo_2023/03/20-15:40:56_proc2_25244-24572_f795e531-a620-4e8c-b516-ea3403d6330d</p>\n"
|
|
245
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Last modified date: 2023/03/"
|
|
246
|
-
"20 at 15:41:03</p>\n"
|
|
247
|
-
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
|
|
248
|
-
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
|
|
249
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">------------------------------------</p>\n"
|
|
250
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> OUTPUT </p>\n"
|
|
251
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">------------------------------------</p>\n"
|
|
252
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">synthetic00010.jpg-synthetic00011.jpg</p>\n"
|
|
253
|
-
"<p style=\" mar"
|
|
254
|
-
"gin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">It IW #IW #Vect/#Tot % CC CC(avg) DC%</p>\n"
|
|
255
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> -2 128x128 8x6 48/48 100.0 0.1740781 0.7743774 0.0</p>\n"
|
|
256
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> -1 64x64 36x30 1080/1080 100.0 0.8245546 0.8451467 0.0</p>\n"
|
|
257
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> 0 32x32 74x61 4514/4514 100.0 0.8630154 0.8637075 0.9</p>\n"
|
|
258
|
-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> 1 32x32 74x61 4514/4514 100.0 0.8676594 0.8670790 0.1</p>\n"
|
|
259
|
-
"<p style=\" margin-top:0px; margin-"
|
|
260
|
-
"bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> 2 32x32 74x61 4514/4514 100.0 0.8677620 0.8671634 0.0</p>\n"
|
|
261
|
-
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>", None))
|
|
262
|
-
# retranslateUi
|
|
263
|
-
|
|
24
|
+
|
|
25
|
+
class Ui_LogTab(object):
|
|
26
|
+
def setupUi(self, LogTab):
|
|
27
|
+
if not LogTab.objectName():
|
|
28
|
+
LogTab.setObjectName(u"LogTab")
|
|
29
|
+
LogTab.resize(500, 680)
|
|
30
|
+
LogTab.setMinimumSize(QSize(500, 680))
|
|
31
|
+
LogTab.setMaximumSize(QSize(1000, 16777215))
|
|
32
|
+
icon1 = QIcon()
|
|
33
|
+
icon1.addFile(u""+ icons_path +"log_logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
34
|
+
LogTab.setWindowIcon(icon1)
|
|
35
|
+
self.verticalLayout_4 = QVBoxLayout(LogTab)
|
|
36
|
+
self.verticalLayout_4.setObjectName(u"verticalLayout_4")
|
|
37
|
+
self.w_Mode = QWidget(LogTab)
|
|
38
|
+
self.w_Mode.setObjectName(u"w_Mode")
|
|
39
|
+
self.w_Mode.setMinimumSize(QSize(0, 40))
|
|
40
|
+
self.w_Mode.setMaximumSize(QSize(16777215, 40))
|
|
41
|
+
font = QFont()
|
|
42
|
+
font.setPointSize(11)
|
|
43
|
+
self.w_Mode.setFont(font)
|
|
44
|
+
self.horizontalLayout_5 = QHBoxLayout(self.w_Mode)
|
|
45
|
+
self.horizontalLayout_5.setSpacing(3)
|
|
46
|
+
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
|
|
47
|
+
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 10)
|
|
48
|
+
self.icon = MyTabLabel(self.w_Mode)
|
|
49
|
+
self.icon.setObjectName(u"icon")
|
|
50
|
+
self.icon.setMinimumSize(QSize(35, 35))
|
|
51
|
+
self.icon.setMaximumSize(QSize(35, 35))
|
|
52
|
+
self.icon.setPixmap(QPixmap(u""+ icons_path +"log_logo.png"))
|
|
53
|
+
self.icon.setScaledContents(True)
|
|
54
|
+
|
|
55
|
+
self.horizontalLayout_5.addWidget(self.icon)
|
|
56
|
+
|
|
57
|
+
self.name_tab = QLabel(self.w_Mode)
|
|
58
|
+
self.name_tab.setObjectName(u"name_tab")
|
|
59
|
+
self.name_tab.setMinimumSize(QSize(200, 35))
|
|
60
|
+
self.name_tab.setMaximumSize(QSize(16777215, 35))
|
|
61
|
+
font1 = QFont()
|
|
62
|
+
font1.setFamilies([u"Arial"])
|
|
63
|
+
font1.setPointSize(20)
|
|
64
|
+
font1.setBold(True)
|
|
65
|
+
self.name_tab.setFont(font1)
|
|
66
|
+
|
|
67
|
+
self.horizontalLayout_5.addWidget(self.name_tab)
|
|
68
|
+
|
|
69
|
+
self.progress_Proc = QProgressBar(self.w_Mode)
|
|
70
|
+
self.progress_Proc.setObjectName(u"progress_Proc")
|
|
71
|
+
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
|
72
|
+
sizePolicy.setHorizontalStretch(0)
|
|
73
|
+
sizePolicy.setVerticalStretch(0)
|
|
74
|
+
sizePolicy.setHeightForWidth(self.progress_Proc.sizePolicy().hasHeightForWidth())
|
|
75
|
+
self.progress_Proc.setSizePolicy(sizePolicy)
|
|
76
|
+
self.progress_Proc.setMinimumSize(QSize(100, 36))
|
|
77
|
+
self.progress_Proc.setMaximumSize(QSize(100, 36))
|
|
78
|
+
font2 = QFont()
|
|
79
|
+
font2.setPointSize(11)
|
|
80
|
+
font2.setKerning(True)
|
|
81
|
+
self.progress_Proc.setFont(font2)
|
|
82
|
+
self.progress_Proc.setStyleSheet(u"")
|
|
83
|
+
self.progress_Proc.setValue(24)
|
|
84
|
+
self.progress_Proc.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
85
|
+
self.progress_Proc.setInvertedAppearance(False)
|
|
86
|
+
|
|
87
|
+
self.horizontalLayout_5.addWidget(self.progress_Proc)
|
|
88
|
+
|
|
89
|
+
self.w_button_close_tab = QWidget(self.w_Mode)
|
|
90
|
+
self.w_button_close_tab.setObjectName(u"w_button_close_tab")
|
|
91
|
+
self.w_button_close_tab.setMinimumSize(QSize(18, 24))
|
|
92
|
+
self.w_button_close_tab.setMaximumSize(QSize(18, 24))
|
|
93
|
+
self.horizontalLayout_3 = QHBoxLayout(self.w_button_close_tab)
|
|
94
|
+
self.horizontalLayout_3.setSpacing(0)
|
|
95
|
+
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
|
96
|
+
self.horizontalLayout_3.setContentsMargins(0, 0, 0, -1)
|
|
97
|
+
self.button_close_tab = QToolButton(self.w_button_close_tab)
|
|
98
|
+
self.button_close_tab.setObjectName(u"button_close_tab")
|
|
99
|
+
self.button_close_tab.setMinimumSize(QSize(18, 18))
|
|
100
|
+
self.button_close_tab.setMaximumSize(QSize(18, 18))
|
|
101
|
+
self.button_close_tab.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
|
102
|
+
self.button_close_tab.setStyleSheet(u"QToolButton{\n"
|
|
103
|
+
"border-radius: 15px;\n"
|
|
104
|
+
"}")
|
|
105
|
+
icon2 = QIcon()
|
|
106
|
+
icon2.addFile(u""+ icons_path +"close.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
|
107
|
+
self.button_close_tab.setIcon(icon2)
|
|
108
|
+
self.button_close_tab.setIconSize(QSize(15, 15))
|
|
109
|
+
|
|
110
|
+
self.horizontalLayout_3.addWidget(self.button_close_tab)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
self.horizontalLayout_5.addWidget(self.w_button_close_tab)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
self.verticalLayout_4.addWidget(self.w_Mode)
|
|
117
|
+
|
|
118
|
+
self.line = QFrame(LogTab)
|
|
119
|
+
self.line.setObjectName(u"line")
|
|
120
|
+
self.line.setMinimumSize(QSize(0, 5))
|
|
121
|
+
self.line.setFrameShape(QFrame.Shape.HLine)
|
|
122
|
+
self.line.setFrameShadow(QFrame.Shadow.Sunken)
|
|
123
|
+
|
|
124
|
+
self.verticalLayout_4.addWidget(self.line)
|
|
125
|
+
|
|
126
|
+
self.scrollArea = QScrollArea(LogTab)
|
|
127
|
+
self.scrollArea.setObjectName(u"scrollArea")
|
|
128
|
+
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
|
|
129
|
+
sizePolicy1.setHorizontalStretch(0)
|
|
130
|
+
sizePolicy1.setVerticalStretch(0)
|
|
131
|
+
sizePolicy1.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
|
|
132
|
+
self.scrollArea.setSizePolicy(sizePolicy1)
|
|
133
|
+
self.scrollArea.setMinimumSize(QSize(0, 0))
|
|
134
|
+
self.scrollArea.setStyleSheet(u" QScrollArea {\n"
|
|
135
|
+
" border: 1pix solid gray;\n"
|
|
136
|
+
" background: transparent;\n"
|
|
137
|
+
" }\n"
|
|
138
|
+
"\n"
|
|
139
|
+
"QScrollBar:horizontal\n"
|
|
140
|
+
" {\n"
|
|
141
|
+
" height: 15px;\n"
|
|
142
|
+
" margin: 3px 10px 3px 10px;\n"
|
|
143
|
+
" border: 1px transparent #2A2929;\n"
|
|
144
|
+
" border-radius: 4px;\n"
|
|
145
|
+
" background-color: rgba(200,200,200,50); /* #2A2929; */\n"
|
|
146
|
+
" }\n"
|
|
147
|
+
"\n"
|
|
148
|
+
"QScrollBar::handle:horizontal\n"
|
|
149
|
+
" {\n"
|
|
150
|
+
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
151
|
+
" min-width: 30px;\n"
|
|
152
|
+
" border-radius: 4px;\n"
|
|
153
|
+
" }\n"
|
|
154
|
+
"\n"
|
|
155
|
+
"QScrollBar:vertical\n"
|
|
156
|
+
" {\n"
|
|
157
|
+
" background-color: rgba(200,200,200,50); ;\n"
|
|
158
|
+
" width: 15px;\n"
|
|
159
|
+
" margin: 10px 3px 10px 3px;\n"
|
|
160
|
+
" border: 1px transparent #2A2929;\n"
|
|
161
|
+
" border-radius: 4px;\n"
|
|
162
|
+
" }\n"
|
|
163
|
+
"\n"
|
|
164
|
+
"QScrollBar::handle:vertical\n"
|
|
165
|
+
" {\n"
|
|
166
|
+
" background-color: rgba(180,180,180,180); /* #605F5F; */\n"
|
|
167
|
+
" min-height: 30px;\n"
|
|
168
|
+
" border-radius: 4px;\n"
|
|
169
|
+
" }\n"
|
|
170
|
+
"\n"
|
|
171
|
+
"QScrollBar::add-line {\n"
|
|
172
|
+
""
|
|
173
|
+
" border: none;\n"
|
|
174
|
+
" background: none;\n"
|
|
175
|
+
" }\n"
|
|
176
|
+
"\n"
|
|
177
|
+
"QScrollBar::sub-line {\n"
|
|
178
|
+
" border: none;\n"
|
|
179
|
+
" background: none;\n"
|
|
180
|
+
" }\n"
|
|
181
|
+
"")
|
|
182
|
+
self.scrollArea.setWidgetResizable(True)
|
|
183
|
+
self.scrollAreaWidgetContents = QWidget()
|
|
184
|
+
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
|
|
185
|
+
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 482, 605))
|
|
186
|
+
self.verticalLayout_8 = QVBoxLayout(self.scrollAreaWidgetContents)
|
|
187
|
+
self.verticalLayout_8.setSpacing(10)
|
|
188
|
+
self.verticalLayout_8.setObjectName(u"verticalLayout_8")
|
|
189
|
+
self.verticalLayout_8.setContentsMargins(0, 5, 10, 0)
|
|
190
|
+
self.log = QTextEdit(self.scrollAreaWidgetContents)
|
|
191
|
+
self.log.setObjectName(u"log")
|
|
192
|
+
font3 = QFont()
|
|
193
|
+
font3.setFamilies([u"Courier New"])
|
|
194
|
+
font3.setPointSize(10)
|
|
195
|
+
self.log.setFont(font3)
|
|
196
|
+
self.log.setStyleSheet(u"background-color: rgb(0, 0, 0);\n"
|
|
197
|
+
"border-color: rgb(255, 255, 255);\n"
|
|
198
|
+
"color: rgb(255, 255, 255);")
|
|
199
|
+
self.log.setLineWrapMode(QTextEdit.LineWrapMode.FixedPixelWidth)
|
|
200
|
+
self.log.setLineWrapColumnOrWidth(600)
|
|
201
|
+
self.log.setReadOnly(True)
|
|
202
|
+
self.log.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByKeyboard|Qt.TextInteractionFlag.TextSelectableByMouse)
|
|
203
|
+
|
|
204
|
+
self.verticalLayout_8.addWidget(self.log)
|
|
205
|
+
|
|
206
|
+
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
|
207
|
+
|
|
208
|
+
self.verticalLayout_4.addWidget(self.scrollArea)
|
|
209
|
+
|
|
210
|
+
QWidget.setTabOrder(self.button_close_tab, self.scrollArea)
|
|
211
|
+
QWidget.setTabOrder(self.scrollArea, self.log)
|
|
212
|
+
|
|
213
|
+
self.retranslateUi(LogTab)
|
|
214
|
+
|
|
215
|
+
QMetaObject.connectSlotsByName(LogTab)
|
|
216
|
+
# setupUi
|
|
217
|
+
|
|
218
|
+
def retranslateUi(self, LogTab):
|
|
219
|
+
LogTab.setWindowTitle(QCoreApplication.translate("LogTab", u"Log", None))
|
|
220
|
+
self.icon.setText("")
|
|
221
|
+
self.name_tab.setText(QCoreApplication.translate("LogTab", u" Log", None))
|
|
222
|
+
#if QT_CONFIG(tooltip)
|
|
223
|
+
self.button_close_tab.setToolTip(QCoreApplication.translate("LogTab", u"Close tab", None))
|
|
224
|
+
#endif // QT_CONFIG(tooltip)
|
|
225
|
+
self.button_close_tab.setText("")
|
|
226
|
+
#if QT_CONFIG(shortcut)
|
|
227
|
+
self.button_close_tab.setShortcut(QCoreApplication.translate("LogTab", u"Alt+L", None))
|
|
228
|
+
#endif // QT_CONFIG(shortcut)
|
|
229
|
+
self.log.setHtml(QCoreApplication.translate("LogTab", u"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
230
|
+
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
|
|
231
|
+
"p, li { white-space: pre-wrap; }\n"
|
|
232
|
+
"hr { height: 1px; border-width: 0; }\n"
|
|
233
|
+
"li.unchecked::marker { content: \"\\2610\"; }\n"
|
|
234
|
+
"li.checked::marker { content: \"\\2612\"; }\n"
|
|
235
|
+
"</style></head><body style=\" font-family:'Courier New'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
|
|
236
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">PaIRS - version 0.1.4</p>\n"
|
|
237
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Particle Image Reconstruction Software</p>\n"
|
|
238
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">(C) 2023 Gerardo Paolillo & Tommaso Astarita.</p>\n"
|
|
239
|
+
"<p style=\" margin-top:"
|
|
240
|
+
"0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">All rights reserved.</p>\n"
|
|
241
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">email: etfd@unina.it</p>\n"
|
|
242
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">****************************************</p>\n"
|
|
243
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">PIV computation (C:/desk/PIV_Img/img1/out_PaIRS/out.pairs.pivproc)</p>\n"
|
|
244
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">PaIRS-v0.1.4_Windows-Gerardo_2023/03/20-15:40:56_proc2_25244-24572_f795e531-a620-4e8c-b516-ea3403d6330d</p>\n"
|
|
245
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Last modified date: 2023/03/"
|
|
246
|
+
"20 at 15:41:03</p>\n"
|
|
247
|
+
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
|
|
248
|
+
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
|
|
249
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">------------------------------------</p>\n"
|
|
250
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> OUTPUT </p>\n"
|
|
251
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">------------------------------------</p>\n"
|
|
252
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">synthetic00010.jpg-synthetic00011.jpg</p>\n"
|
|
253
|
+
"<p style=\" mar"
|
|
254
|
+
"gin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">It IW #IW #Vect/#Tot % CC CC(avg) DC%</p>\n"
|
|
255
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> -2 128x128 8x6 48/48 100.0 0.1740781 0.7743774 0.0</p>\n"
|
|
256
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> -1 64x64 36x30 1080/1080 100.0 0.8245546 0.8451467 0.0</p>\n"
|
|
257
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> 0 32x32 74x61 4514/4514 100.0 0.8630154 0.8637075 0.9</p>\n"
|
|
258
|
+
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> 1 32x32 74x61 4514/4514 100.0 0.8676594 0.8670790 0.1</p>\n"
|
|
259
|
+
"<p style=\" margin-top:0px; margin-"
|
|
260
|
+
"bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> 2 32x32 74x61 4514/4514 100.0 0.8677620 0.8671634 0.0</p>\n"
|
|
261
|
+
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>", None))
|
|
262
|
+
# retranslateUi
|
|
263
|
+
|