CalibracaoPressaoW.py 22.6 KB
Newer Older
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
1 2
# -*- coding: utf-8 -*-

Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
3
# Form implementation generated from reading ui file 'resources/UI/CalibracaoPressaoW2.ui'
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
4
#
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
5
# Created by: PyQt5 UI code generator 5.12.2
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
6 7 8 9 10 11 12 13 14
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_CalibracaoPressaoW(object):
    def setupUi(self, CalibracaoPressaoW):
        CalibracaoPressaoW.setObjectName("CalibracaoPressaoW")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
15 16 17 18 19 20 21 22 23
        CalibracaoPressaoW.resize(1366, 823)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(CalibracaoPressaoW.sizePolicy().hasHeightForWidth())
        CalibracaoPressaoW.setSizePolicy(sizePolicy)
        CalibracaoPressaoW.setMinimumSize(QtCore.QSize(0, 0))
        CalibracaoPressaoW.setStyleSheet("background-color:rgb(250, 250, 250);\n"
"\n"
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
24 25 26
"\n"
"")
        self.centralWidget = QtWidgets.QWidget(CalibracaoPressaoW)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
27 28 29 30 31
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralWidget.sizePolicy().hasHeightForWidth())
        self.centralWidget.setSizePolicy(sizePolicy)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
32 33 34 35 36 37 38 39
        self.centralWidget.setAutoFillBackground(False)
        self.centralWidget.setStyleSheet("QGroupBox::title {\n"
"    top: 4px;\n"
"    left: 4px;\n"
"}\n"
"\n"
"QGroupBox {\n"
"    border-radius: 4px;\n"
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
40 41
"    background-color: rgb(240, 240, 240);\n"
"    font-weight: bold;\n"
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
42 43
"}")
        self.centralWidget.setObjectName("centralWidget")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
44 45 46 47 48 49
        self.gridLayout_6 = QtWidgets.QGridLayout(self.centralWidget)
        self.gridLayout_6.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_6.setSpacing(6)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.widget = QtWidgets.QWidget(self.centralWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
50 51
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
52 53 54 55 56 57 58 59 60 61 62 63 64
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setStyleSheet("")
        self.widget.setObjectName("widget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.widget)
        self.gridLayout_2.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.scaleBox = QtWidgets.QGroupBox(self.widget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.scaleBox.setFont(font)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
65 66 67 68 69 70 71 72
        self.scaleBox.setToolTip("")
        self.scaleBox.setStatusTip("")
        self.scaleBox.setWhatsThis("")
        self.scaleBox.setAutoFillBackground(False)
        self.scaleBox.setStyleSheet("border: 2px solid rgb(194, 8, 6);")
        self.scaleBox.setFlat(False)
        self.scaleBox.setCheckable(False)
        self.scaleBox.setObjectName("scaleBox")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
73 74 75 76
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scaleBox)
        self.verticalLayout_4.setContentsMargins(11, 40, 11, 11)
        self.verticalLayout_4.setSpacing(6)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
77
        self.pressureBox = QtWidgets.QGroupBox(self.scaleBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
78 79 80 81
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pressureBox.setFont(font)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
82
        self.pressureBox.setStyleSheet("")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
83
        self.pressureBox.setObjectName("pressureBox")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
84 85 86 87
        self.gridLayout_3 = QtWidgets.QGridLayout(self.pressureBox)
        self.gridLayout_3.setContentsMargins(11, 35, 11, 11)
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setObjectName("gridLayout_3")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
88
        self.p_max_label = QtWidgets.QLabel(self.pressureBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
89
        self.p_max_label.setStyleSheet("")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
90
        self.p_max_label.setObjectName("p_max_label")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
91 92 93 94 95
        self.gridLayout_3.addWidget(self.p_max_label, 0, 0, 1, 1)
        self.p_max = QtWidgets.QLineEdit(self.pressureBox)
        self.p_max.setStyleSheet("")
        self.p_max.setObjectName("p_max")
        self.gridLayout_3.addWidget(self.p_max, 0, 1, 1, 1)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
96
        self.p_min_label = QtWidgets.QLabel(self.pressureBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
97
        self.p_min_label.setStyleSheet("")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
98
        self.p_min_label.setObjectName("p_min_label")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
99
        self.gridLayout_3.addWidget(self.p_min_label, 1, 0, 1, 1)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
100
        self.p_min = QtWidgets.QLineEdit(self.pressureBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
101
        self.p_min.setStyleSheet("")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
102
        self.p_min.setObjectName("p_min")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
        self.gridLayout_3.addWidget(self.p_min, 1, 1, 1, 1)
        self.verticalLayout_4.addWidget(self.pressureBox)
        self.forceBox = QtWidgets.QGroupBox(self.scaleBox)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.forceBox.setFont(font)
        self.forceBox.setStyleSheet("")
        self.forceBox.setObjectName("forceBox")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.forceBox)
        self.gridLayout_4.setContentsMargins(11, 35, 11, 11)
        self.gridLayout_4.setSpacing(6)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.f_max_label = QtWidgets.QLabel(self.forceBox)
        self.f_max_label.setStyleSheet("")
        self.f_max_label.setObjectName("f_max_label")
        self.gridLayout_4.addWidget(self.f_max_label, 0, 0, 1, 1)
        self.f_max = QtWidgets.QLineEdit(self.forceBox)
        self.f_max.setStyleSheet("")
        self.f_max.setObjectName("f_max")
        self.gridLayout_4.addWidget(self.f_max, 0, 1, 1, 1)
        self.f_min_label = QtWidgets.QLabel(self.forceBox)
        self.f_min_label.setStyleSheet("")
        self.f_min_label.setObjectName("f_min_label")
        self.gridLayout_4.addWidget(self.f_min_label, 1, 0, 1, 1)
        self.f_min = QtWidgets.QLineEdit(self.forceBox)
        self.f_min.setStyleSheet("")
        self.f_min.setObjectName("f_min")
        self.gridLayout_4.addWidget(self.f_min, 1, 1, 1, 1)
        self.verticalLayout_4.addWidget(self.forceBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
133
        self.timeGBox = QtWidgets.QGroupBox(self.scaleBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
134 135 136 137
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.timeGBox.setFont(font)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
138 139
        self.timeGBox.setStyleSheet("")
        self.timeGBox.setObjectName("timeGBox")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
140 141 142 143
        self.gridLayout_5 = QtWidgets.QGridLayout(self.timeGBox)
        self.gridLayout_5.setContentsMargins(11, 35, 11, 11)
        self.gridLayout_5.setSpacing(6)
        self.gridLayout_5.setObjectName("gridLayout_5")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
144
        self.t_max_label = QtWidgets.QLabel(self.timeGBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
145
        self.t_max_label.setStyleSheet("")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
146
        self.t_max_label.setObjectName("t_max_label")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
147 148 149 150 151 152 153 154 155 156 157 158 159 160
        self.gridLayout_5.addWidget(self.t_max_label, 0, 0, 1, 1)
        self.t_max = QtWidgets.QLineEdit(self.timeGBox)
        self.t_max.setStyleSheet("")
        self.t_max.setObjectName("t_max")
        self.gridLayout_5.addWidget(self.t_max, 0, 1, 1, 1)
        self.verticalLayout_4.addWidget(self.timeGBox)
        self.verticalLayout_4.setStretch(0, 1)
        self.verticalLayout_4.setStretch(1, 1)
        self.verticalLayout_4.setStretch(2, 1)
        self.timeGBox.raise_()
        self.forceBox.raise_()
        self.pressureBox.raise_()
        self.gridLayout_2.addWidget(self.scaleBox, 0, 0, 1, 2)
        self.pressNameGBox = QtWidgets.QGroupBox(self.widget)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
161 162 163
        self.pressNameGBox.setStyleSheet("border: 2px solid rgb(27, 144, 0);\n"
"")
        self.pressNameGBox.setObjectName("pressNameGBox")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
164 165 166 167
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.pressNameGBox)
        self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
168
        self.pressName = QtWidgets.QLineEdit(self.pressNameGBox)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
169
        self.pressName.setStyleSheet("")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
170
        self.pressName.setObjectName("pressName")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
171 172 173 174
        self.verticalLayout_2.addWidget(self.pressName)
        self.gridLayout_2.addWidget(self.pressNameGBox, 1, 1, 1, 1)
        self.scrollArea = QtWidgets.QScrollArea(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
175 176 177 178 179 180 181 182 183
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.scrollArea.setWidgetResizable(False)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
184 185
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 930, 200))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
186 187 188 189 190
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
191 192 193 194
        self.gridLayout_7 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_7.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_7.setSpacing(6)
        self.gridLayout_7.setObjectName("gridLayout_7")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
195
        self.consoleView = QtWidgets.QLabel(self.scrollAreaWidgetContents)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
196
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
197 198 199 200 201 202 203 204 205 206 207 208
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.consoleView.sizePolicy().hasHeightForWidth())
        self.consoleView.setSizePolicy(sizePolicy)
        self.consoleView.setCursor(QtGui.QCursor(QtCore.Qt.IBeamCursor))
        self.consoleView.setStyleSheet("padding: 2px;\n"
"border: 2px solid rgb(5, 5, 5);\n"
"font: 10pt \"Liberation Mono\";")
        self.consoleView.setText("")
        self.consoleView.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.consoleView.setWordWrap(True)
        self.consoleView.setObjectName("consoleView")
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
209
        self.gridLayout_7.addWidget(self.consoleView, 0, 0, 1, 1)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
210
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
        self.gridLayout_2.addWidget(self.scrollArea, 2, 2, 1, 1)
        self.samplingBox = QtWidgets.QGroupBox(self.widget)
        self.samplingBox.setStyleSheet("border: 2px solid rgb(255, 75, 0);\n"
"")
        self.samplingBox.setObjectName("samplingBox")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.samplingBox)
        self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.samplingCBox = QtWidgets.QComboBox(self.samplingBox)
        self.samplingCBox.setStyleSheet("")
        self.samplingCBox.setObjectName("samplingCBox")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.samplingCBox.addItem("")
        self.verticalLayout_3.addWidget(self.samplingCBox)
        self.gridLayout_2.addWidget(self.samplingBox, 1, 0, 1, 1)
234
        self.mainGraph = GraphicsLayoutWidget(self.widget)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mainGraph.sizePolicy().hasHeightForWidth())
        self.mainGraph.setSizePolicy(sizePolicy)
        self.mainGraph.setStyleSheet("border: 2px solid rgb(10, 10, 10);\n"
"")
        self.mainGraph.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.mainGraph.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.mainGraph.setObjectName("mainGraph")
        self.gridLayout_2.addWidget(self.mainGraph, 0, 2, 2, 1)
        self.absValGBox = QtWidgets.QGroupBox(self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.absValGBox.sizePolicy().hasHeightForWidth())
        self.absValGBox.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.absValGBox.setFont(font)
        self.absValGBox.setStyleSheet("border: 2px solid rgb(26, 149, 172);\n"
"")
        self.absValGBox.setObjectName("absValGBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.absValGBox)
        self.verticalLayout.setContentsMargins(11, 40, 11, 11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.calibratorGBox = QtWidgets.QGroupBox(self.absValGBox)
        self.calibratorGBox.setStyleSheet("")
        self.calibratorGBox.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing)
        self.calibratorGBox.setFlat(True)
        self.calibratorGBox.setObjectName("calibratorGBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.calibratorGBox)
        self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.calibratorLabel = QtWidgets.QLabel(self.calibratorGBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.calibratorLabel.sizePolicy().hasHeightForWidth())
        self.calibratorLabel.setSizePolicy(sizePolicy)
        self.calibratorLabel.setMinimumSize(QtCore.QSize(150, 0))
        self.calibratorLabel.setStyleSheet("")
        self.calibratorLabel.setObjectName("calibratorLabel")
        self.horizontalLayout.addWidget(self.calibratorLabel, 0, QtCore.Qt.AlignRight)
        self.verticalLayout.addWidget(self.calibratorGBox)
        self.forceGBox = QtWidgets.QGroupBox(self.absValGBox)
        self.forceGBox.setStyleSheet("")
        self.forceGBox.setObjectName("forceGBox")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.forceGBox)
        self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11)
        self.horizontalLayout_2.setSpacing(6)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.forceLabel = QtWidgets.QLabel(self.forceGBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.forceLabel.sizePolicy().hasHeightForWidth())
        self.forceLabel.setSizePolicy(sizePolicy)
        self.forceLabel.setMinimumSize(QtCore.QSize(150, 0))
        self.forceLabel.setStyleSheet("")
        self.forceLabel.setObjectName("forceLabel")
        self.horizontalLayout_2.addWidget(self.forceLabel, 0, QtCore.Qt.AlignRight)
        self.verticalLayout.addWidget(self.forceGBox)
        self.gridLayout_2.addWidget(self.absValGBox, 2, 0, 1, 2)
        self.gridLayout_2.setColumnStretch(0, 1)
        self.gridLayout_2.setColumnStretch(1, 1)
        self.gridLayout_2.setColumnStretch(2, 5)
        self.gridLayout_2.setRowStretch(0, 3)
        self.gridLayout_2.setRowStretch(1, 1)
        self.gridLayout_2.setRowStretch(2, 2)
        self.gridLayout_6.addWidget(self.widget, 0, 0, 1, 1)
        self.calibratorGBox.raise_()
        self.widget.raise_()
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
311 312
        CalibracaoPressaoW.setCentralWidget(self.centralWidget)
        self.menuBar = QtWidgets.QMenuBar(CalibracaoPressaoW)
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
313
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 1366, 30))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
        self.menuBar.setObjectName("menuBar")
        self.fileMenu = QtWidgets.QMenu(self.menuBar)
        self.fileMenu.setObjectName("fileMenu")
        self.stageMenu = QtWidgets.QMenu(self.menuBar)
        self.stageMenu.setObjectName("stageMenu")
        self.serialMenu = QtWidgets.QMenu(self.menuBar)
        self.serialMenu.setObjectName("serialMenu")
        self.playPauseButton = QtWidgets.QMenu(self.menuBar)
        self.playPauseButton.setObjectName("playPauseButton")
        self.finalizeButton = QtWidgets.QMenu(self.menuBar)
        self.finalizeButton.setObjectName("finalizeButton")
        CalibracaoPressaoW.setMenuBar(self.menuBar)
        self.menuStatusBar = QtWidgets.QStatusBar(CalibracaoPressaoW)
        self.menuStatusBar.setObjectName("menuStatusBar")
        CalibracaoPressaoW.setStatusBar(self.menuStatusBar)
        self.alternaCalibraP = QtWidgets.QAction(CalibracaoPressaoW)
        self.alternaCalibraP.setObjectName("alternaCalibraP")
        self.alternaCalibraT = QtWidgets.QAction(CalibracaoPressaoW)
        self.alternaCalibraT.setObjectName("alternaCalibraT")
        self.alternaProc = QtWidgets.QAction(CalibracaoPressaoW)
        self.alternaProc.setObjectName("alternaProc")
        self.openButton = QtWidgets.QAction(CalibracaoPressaoW)
        self.openButton.setIconVisibleInMenu(True)
        self.openButton.setObjectName("openButton")
        self.actionSalvar = QtWidgets.QAction(CalibracaoPressaoW)
        self.actionSalvar.setObjectName("actionSalvar")
        self.actionSalvar_Como = QtWidgets.QAction(CalibracaoPressaoW)
        self.actionSalvar_Como.setObjectName("actionSalvar_Como")
        self.saveButton = QtWidgets.QAction(CalibracaoPressaoW)
        self.saveButton.setObjectName("saveButton")
        self.saveAsButton = QtWidgets.QAction(CalibracaoPressaoW)
        self.saveAsButton.setObjectName("saveAsButton")
        self.selectPortaUSB = QtWidgets.QAction(CalibracaoPressaoW)
        self.selectPortaUSB.setObjectName("selectPortaUSB")
        self.fileMenu.addAction(self.openButton)
        self.fileMenu.addAction(self.saveButton)
        self.fileMenu.addAction(self.saveAsButton)
        self.stageMenu.addAction(self.alternaCalibraP)
        self.stageMenu.addAction(self.alternaCalibraT)
        self.stageMenu.addAction(self.alternaProc)
        self.menuBar.addAction(self.fileMenu.menuAction())
        self.menuBar.addAction(self.stageMenu.menuAction())
        self.menuBar.addAction(self.serialMenu.menuAction())
        self.menuBar.addAction(self.playPauseButton.menuAction())
        self.menuBar.addAction(self.finalizeButton.menuAction())

        self.retranslateUi(CalibracaoPressaoW)
        QtCore.QMetaObject.connectSlotsByName(CalibracaoPressaoW)

    def retranslateUi(self, CalibracaoPressaoW):
        _translate = QtCore.QCoreApplication.translate
        CalibracaoPressaoW.setWindowTitle(_translate("CalibracaoPressaoW", "SADAMAP - Análise de Dados: Etapa 1 - Calibração de Pressão"))
        self.scaleBox.setTitle(_translate("CalibracaoPressaoW", "Escalas de Visualização (Range)"))
        self.pressureBox.setTitle(_translate("CalibracaoPressaoW", "Tensão no Calibrante"))
        self.p_max_label.setText(_translate("CalibracaoPressaoW", "Máximo:"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
369
        self.p_max.setText(_translate("CalibracaoPressaoW", "32700"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
370 371
        self.p_min_label.setText(_translate("CalibracaoPressaoW", "Mínimo:"))
        self.p_min.setText(_translate("CalibracaoPressaoW", "0"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
372 373 374 375 376
        self.forceBox.setTitle(_translate("CalibracaoPressaoW", "Força"))
        self.f_max_label.setText(_translate("CalibracaoPressaoW", "Máximo:"))
        self.f_max.setText(_translate("CalibracaoPressaoW", "32700"))
        self.f_min_label.setText(_translate("CalibracaoPressaoW", "Mínimo:"))
        self.f_min.setText(_translate("CalibracaoPressaoW", "0"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
377 378
        self.timeGBox.setTitle(_translate("CalibracaoPressaoW", "Tempo"))
        self.t_max_label.setText(_translate("CalibracaoPressaoW", "Intervalo (amostras):"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
379 380 381
        self.t_max.setText(_translate("CalibracaoPressaoW", "100"))
        self.pressNameGBox.setTitle(_translate("CalibracaoPressaoW", "Prensa"))
        self.pressName.setText(_translate("CalibracaoPressaoW", "Pr 0 Tonf"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
382 383 384 385 386 387 388 389 390 391 392 393 394
        self.samplingBox.setTitle(_translate("CalibracaoPressaoW", "Amostragem"))
        self.samplingCBox.setItemText(0, _translate("CalibracaoPressaoW", "100 mseg"))
        self.samplingCBox.setItemText(1, _translate("CalibracaoPressaoW", "200 mseg"))
        self.samplingCBox.setItemText(2, _translate("CalibracaoPressaoW", "500 mseg"))
        self.samplingCBox.setItemText(3, _translate("CalibracaoPressaoW", "1 seg"))
        self.samplingCBox.setItemText(4, _translate("CalibracaoPressaoW", "1.5 seg"))
        self.samplingCBox.setItemText(5, _translate("CalibracaoPressaoW", "2 seg"))
        self.samplingCBox.setItemText(6, _translate("CalibracaoPressaoW", "2.5 seg"))
        self.samplingCBox.setItemText(7, _translate("CalibracaoPressaoW", "5 seg"))
        self.samplingCBox.setItemText(8, _translate("CalibracaoPressaoW", "10 seg"))
        self.absValGBox.setTitle(_translate("CalibracaoPressaoW", "Valores Absolutos"))
        self.calibratorGBox.setTitle(_translate("CalibracaoPressaoW", "Tensão no Calibrante"))
        self.calibratorLabel.setText(_translate("CalibracaoPressaoW", "0 mV"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
395 396
        self.forceGBox.setTitle(_translate("CalibracaoPressaoW", "Força"))
        self.forceLabel.setText(_translate("CalibracaoPressaoW", "0 Tonf"))
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
        self.fileMenu.setTitle(_translate("CalibracaoPressaoW", "Arquivo"))
        self.stageMenu.setTitle(_translate("CalibracaoPressaoW", "Etapa"))
        self.serialMenu.setTitle(_translate("CalibracaoPressaoW", "Porta"))
        self.playPauseButton.setTitle(_translate("CalibracaoPressaoW", "Iniciar/Pausar"))
        self.finalizeButton.setTitle(_translate("CalibracaoPressaoW", "Finalizar"))
        self.alternaCalibraP.setText(_translate("CalibracaoPressaoW", "Calibração P"))
        self.alternaCalibraT.setText(_translate("CalibracaoPressaoW", "Calibração T"))
        self.alternaProc.setText(_translate("CalibracaoPressaoW", "Processamento"))
        self.openButton.setText(_translate("CalibracaoPressaoW", "Abrir"))
        self.actionSalvar.setText(_translate("CalibracaoPressaoW", "Salvar"))
        self.actionSalvar_Como.setText(_translate("CalibracaoPressaoW", "Salvar Como"))
        self.saveButton.setText(_translate("CalibracaoPressaoW", "Salvar"))
        self.saveAsButton.setText(_translate("CalibracaoPressaoW", "Salvar Como"))
        self.selectPortaUSB.setText(_translate("CalibracaoPressaoW", "Selecionar porta USB"))


413
from pyqtgraph import GraphicsLayoutWidget