Commit 3a2b8dfa authored by Pedro Henrique Kopper's avatar Pedro Henrique Kopper

Corrigir nome das spinboxes

parent b5c754fc
......@@ -345,7 +345,7 @@ font: 10pt &quot;Liberation Mono&quot;;</string>
<item>
<layout class="QGridLayout" name="grid_2">
<item row="1" column="0">
<widget class="QSpinBox" name="min_pressao_2">
<widget class="QSpinBox" name="min_pressao">
<property name="suffix">
<string> bar</string>
</property>
......@@ -358,7 +358,7 @@ font: 10pt &quot;Liberation Mono&quot;;</string>
</widget>
</item>
<item row="0" column="0">
<widget class="QSpinBox" name="min_amostra_2">
<widget class="QSpinBox" name="min_amostra">
<property name="suffix">
<string> mV</string>
</property>
......@@ -371,7 +371,7 @@ font: 10pt &quot;Liberation Mono&quot;;</string>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="max_amostra_2">
<widget class="QSpinBox" name="max_amostra">
<property name="suffix">
<string> mV</string>
</property>
......@@ -384,7 +384,7 @@ font: 10pt &quot;Liberation Mono&quot;;</string>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="max_pressao_2">
<widget class="QSpinBox" name="max_pressao">
<property name="suffix">
<string> bar</string>
</property>
......
......@@ -204,27 +204,27 @@ class Ui_Generico(object):
self.grid_2 = QtWidgets.QGridLayout()
self.grid_2.setSpacing(6)
self.grid_2.setObjectName("grid_2")
self.min_pressao_2 = QtWidgets.QSpinBox(self.samplingBox)
self.min_pressao_2.setPrefix("")
self.min_pressao_2.setMaximum(400)
self.min_pressao_2.setObjectName("min_pressao_2")
self.grid_2.addWidget(self.min_pressao_2, 1, 0, 1, 1)
self.min_amostra_2 = QtWidgets.QSpinBox(self.samplingBox)
self.min_amostra_2.setPrefix("")
self.min_amostra_2.setMaximum(255)
self.min_amostra_2.setObjectName("min_amostra_2")
self.grid_2.addWidget(self.min_amostra_2, 0, 0, 1, 1)
self.max_amostra_2 = QtWidgets.QSpinBox(self.samplingBox)
self.max_amostra_2.setMaximum(256)
self.max_amostra_2.setProperty("value", 256)
self.max_amostra_2.setObjectName("max_amostra_2")
self.grid_2.addWidget(self.max_amostra_2, 0, 1, 1, 1)
self.max_pressao_2 = QtWidgets.QSpinBox(self.samplingBox)
self.max_pressao_2.setPrefix("")
self.max_pressao_2.setMaximum(400)
self.max_pressao_2.setProperty("value", 100)
self.max_pressao_2.setObjectName("max_pressao_2")
self.grid_2.addWidget(self.max_pressao_2, 1, 1, 1, 1)
self.min_pressao = QtWidgets.QSpinBox(self.samplingBox)
self.min_pressao.setPrefix("")
self.min_pressao.setMaximum(400)
self.min_pressao.setObjectName("min_pressao")
self.grid_2.addWidget(self.min_pressao, 1, 0, 1, 1)
self.min_amostra = QtWidgets.QSpinBox(self.samplingBox)
self.min_amostra.setPrefix("")
self.min_amostra.setMaximum(255)
self.min_amostra.setObjectName("min_amostra")
self.grid_2.addWidget(self.min_amostra, 0, 0, 1, 1)
self.max_amostra = QtWidgets.QSpinBox(self.samplingBox)
self.max_amostra.setMaximum(256)
self.max_amostra.setProperty("value", 256)
self.max_amostra.setObjectName("max_amostra")
self.grid_2.addWidget(self.max_amostra, 0, 1, 1, 1)
self.max_pressao = QtWidgets.QSpinBox(self.samplingBox)
self.max_pressao.setPrefix("")
self.max_pressao.setMaximum(400)
self.max_pressao.setProperty("value", 100)
self.max_pressao.setObjectName("max_pressao")
self.grid_2.addWidget(self.max_pressao, 1, 1, 1, 1)
self.verticalLayout_2.addLayout(self.grid_2)
self.gridLayout_2.addWidget(self.samplingBox, 3, 1, 1, 3)
self.gridLayout_2.setColumnStretch(0, 1)
......@@ -284,10 +284,10 @@ class Ui_Generico(object):
self.samplingCBox.setItemText(7, _translate("Generico", "5 seg"))
self.samplingCBox.setItemText(8, _translate("Generico", "10 seg"))
self.playPause.setText(_translate("Generico", "PAUSA"))
self.min_pressao_2.setSuffix(_translate("Generico", " bar"))
self.min_amostra_2.setSuffix(_translate("Generico", " mV"))
self.max_amostra_2.setSuffix(_translate("Generico", " mV"))
self.max_pressao_2.setSuffix(_translate("Generico", " bar"))
self.min_pressao.setSuffix(_translate("Generico", " bar"))
self.min_amostra.setSuffix(_translate("Generico", " mV"))
self.max_amostra.setSuffix(_translate("Generico", " mV"))
self.max_pressao.setSuffix(_translate("Generico", " bar"))
self.alternaCalibraP.setText(_translate("Generico", "Calibração P"))
self.alternaCalibraT.setText(_translate("Generico", "Calibração T"))
self.alternaProc.setText(_translate("Generico", "Processamento"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment