Commit 2133ac4b authored by Pedro Henrique Kopper's avatar Pedro Henrique Kopper

Separated Graph and MainThread

parent b4447145
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CalibracaoPressaoW</class>
<widget class="QMainWindow" name="CalibracaoPressaoW">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1366</width>
<height>756</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>817</width>
<height>0</height>
</size>
</property>
<property name="windowTitle">
<string>SADAMAP - Análise de Dados: Etapa 1 - Calibração de Pressão</string>
</property>
<property name="styleSheet">
<string notr="true">background-color:rgb(53, 53, 53);
color: rgb(255,255,255);
font: normal 11pt &quot;Lato&quot;;
</string>
</property>
<widget class="QWidget" name="centralWidget">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox::title {
top: 4px;
left: 4px;
}
QGroupBox {
background-color: rgb(65, 65, 65);
border-radius: 4px;
}
QGroupBox QGroupBox, QLabel {
background-color: rgb(70, 70, 70);
}
QGroupBox QLineEdit {
font: bold 13px &quot;FreeMono&quot;;
}</string>
</property>
<widget class="PlotWidget" name="mainGraph">
<property name="geometry">
<rect>
<x>430</x>
<y>10</y>
<width>921</width>
<height>531</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignJustify</set>
</property>
</widget>
<widget class="QGroupBox" name="scaleBox">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>401</width>
<height>221</height>
</rect>
</property>
<property name="toolTip">
<string notr="true"/>
</property>
<property name="statusTip">
<string notr="true"/>
</property>
<property name="whatsThis">
<string notr="true"/>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid rgb(194, 8, 6);</string>
</property>
<property name="title">
<string>Escalas de Visualização (Range)</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<widget class="QGroupBox" name="forceBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>181</width>
<height>101</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Força</string>
</property>
<widget class="QLineEdit" name="f_max">
<property name="geometry">
<rect>
<x>80</x>
<y>30</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
color:rgb(255,255,255);</string>
</property>
<property name="text">
<string>32700</string>
</property>
</widget>
<widget class="QLabel" name="f_max_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>57</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: rgb(255,255,255)</string>
</property>
<property name="text">
<string>Máximo:</string>
</property>
</widget>
<widget class="QLabel" name="f_min_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>57</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border:rgb(255,255,255)</string>
</property>
<property name="text">
<string>Mínimo:</string>
</property>
</widget>
<widget class="QLineEdit" name="f_min">
<property name="geometry">
<rect>
<x>80</x>
<y>60</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
color:rgb(255,255,255);</string>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="pressureBox">
<property name="geometry">
<rect>
<x>210</x>
<y>30</y>
<width>181</width>
<height>101</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Tensão no Calibrante</string>
</property>
<widget class="QLineEdit" name="p_max">
<property name="geometry">
<rect>
<x>80</x>
<y>30</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
color:rgb(255,255,255);</string>
</property>
<property name="text">
<string>32700</string>
</property>
</widget>
<widget class="QLabel" name="p_max_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>57</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: rgb(255,255,255)</string>
</property>
<property name="text">
<string>Máximo:</string>
</property>
</widget>
<widget class="QLabel" name="p_min_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>57</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: rgb(255,255,255)</string>
</property>
<property name="text">
<string>Mínimo:</string>
</property>
</widget>
<widget class="QLineEdit" name="p_min">
<property name="geometry">
<rect>
<x>80</x>
<y>60</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
color:rgb(255,255,255);</string>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="timeGBox">
<property name="geometry">
<rect>
<x>90</x>
<y>140</y>
<width>211</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Tempo</string>
</property>
<widget class="QLineEdit" name="t_max">
<property name="geometry">
<rect>
<x>140</x>
<y>30</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
color:rgb(255,255,255);</string>
</property>
<property name="text">
<string>100</string>
</property>
</widget>
<widget class="QLabel" name="t_max_label">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: rgb(255,255,255)</string>
</property>
<property name="text">
<string>Intervalo (amostras):</string>
</property>
</widget>
</widget>
</widget>
<widget class="QGroupBox" name="samplingBox">
<property name="geometry">
<rect>
<x>20</x>
<y>250</y>
<width>191</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid rgb(255, 75, 0);
</string>
</property>
<property name="title">
<string>Amostragem</string>
</property>
<widget class="QComboBox" name="samplingCBox">
<property name="geometry">
<rect>
<x>40</x>
<y>30</y>
<width>101</width>
<height>27</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color:rgb(53, 53, 53)</string>
</property>
<item>
<property name="text">
<string>100 mseg</string>
</property>
</item>
<item>
<property name="text">
<string>200 mseg</string>
</property>
</item>
<item>
<property name="text">
<string>500 mseg</string>
</property>
</item>
<item>
<property name="text">
<string>1 seg</string>
</property>
</item>
<item>
<property name="text">
<string>1.5 seg</string>
</property>
</item>
<item>
<property name="text">
<string>2 seg</string>
</property>
</item>
<item>
<property name="text">
<string>2.5 seg</string>
</property>
</item>
<item>
<property name="text">
<string>5 seg</string>
</property>
</item>
<item>
<property name="text">
<string>10 seg</string>
</property>
</item>
</widget>
</widget>
<widget class="QGroupBox" name="pressNameGBox">
<property name="geometry">
<rect>
<x>220</x>
<y>250</y>
<width>201</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid rgb(27, 144, 0);
</string>
</property>
<property name="title">
<string>Prensa</string>
</property>
<widget class="QLineEdit" name="pressName">
<property name="geometry">
<rect>
<x>50</x>
<y>30</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 12pt &quot;Noto Serif&quot;;
background-color:rgb(53, 53, 53);
color:rgb(255,255,255);</string>
</property>
<property name="text">
<string>Pr 0 Tonf</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="absValGBox">
<property name="geometry">
<rect>
<x>20</x>
<y>560</y>
<width>401</width>
<height>111</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid rgb(26, 149, 172);
</string>
</property>
<property name="title">
<string>Valores Absolutos</string>
</property>
<widget class="QGroupBox" name="forceGBox">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>161</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Força</string>
</property>
<widget class="QLabel" name="forceLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>121</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
color:rgb(255,255,255);
font: 14pt &quot;Noto Serif&quot;;</string>
</property>
<property name="text">
<string>0 Tonf</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="calibratorGBox">
<property name="geometry">
<rect>
<x>220</x>
<y>30</y>
<width>161</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Tensão no Calibrante</string>
</property>
<widget class="QLabel" name="calibratorLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
color:rgb(255,255,255);
font: 14pt &quot;Noto Serif&quot;;</string>
</property>
<property name="text">
<string>0 mV</string>
</property>
</widget>
</widget>
</widget>
<widget class="QGroupBox" name="cronometroBox">
<property name="geometry">
<rect>
<x>20</x>
<y>340</y>
<width>401</width>
<height>201</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid rgb(123, 0, 129);</string>
</property>
<property name="title">
<string>Timer</string>
</property>
<widget class="QGroupBox" name="timerGBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>211</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Cronômetro</string>
</property>
<widget class="QLabel" name="timerLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
border: 1px solid rgb(255,255,255);
color:rgb(255,255,255);
font: 75 12pt &quot;Noto Serif&quot;;</string>
</property>
<property name="text">
<string>0.00 s</string>
</property>
</widget>
<widget class="QPushButton" name="startTimerButton">
<property name="geometry">
<rect>
<x>130</x>
<y>10</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: 1px solid rgb(255,255,255);
background-color: rgb(80,80,80);</string>
</property>
<property name="text">
<string>Iniciar</string>
</property>
</widget>
<widget class="QPushButton" name="stopTimerButton">
<property name="geometry">
<rect>
<x>130</x>
<y>40</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: 1px solid rgb(255,255,255);
background-color: rgb(80,80,80);</string>
</property>
<property name="text">
<string>Parar</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="startTimeGBox">
<property name="geometry">
<rect>
<x>240</x>
<y>30</y>
<width>151</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Horário de Início</string>
</property>
<widget class="QLabel" name="startTimeLabel">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color:rgb(80, 80,80);
color:rgb(255,255,255);
font: 14pt &quot;Noto Serif&quot;;</string>
</property>
<property name="text">
<string>00:00:00</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="currentTimeGBox">
<property name="geometry">
<rect>
<x>240</x>
<y>120</y>
<width>151</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Horário Atual</string>
</property>
<widget class="QLabel" name="currentTimeLabel">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color:rgb(80, 80,80);
color:rgb(255,255,255);
font: 14pt &quot;Noto Serif&quot;;</string>
</property>
<property name="text">
<string>00:00:00</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="regTimerGBox">
<property name="geometry">
<rect>
<x>10</x>
<y>120</y>
<width>211</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Cont. Regressivo</string>
</property>
<widget class="QPushButton" name="startRegTimerButton">
<property name="geometry">
<rect>
<x>130</x>
<y>10</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: 1px solid rgb(255,255,255);
background-color: rgb(80,80,80);</string>
</property>
<property name="text">
<string>Iniciar</string>
</property>
</widget>
<widget class="QLineEdit" name="regTimerLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
border: 1px solid rgb(255,255,255);
color:rgb(255,255,255);
font: 75 12pt &quot;Noto Serif&quot;;</string>
</property>
<property name="text">
<string>0.00s</string>
</property>
</widget>
</widget>
<widget class="QPushButton" name="stopRegTimerButton">
<property name="geometry">
<rect>
<x>140</x>
<y>160</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(80,80,80);
border: 1px solid rgb(255,255,255);</string>
</property>
<property name="text">
<string>Parar</string>
</property>
</widget>
</widget>
<widget class="QScrollArea" name="scrollArea">
<property name="geometry">
<rect>
<x>430</x>
<y>560</y>
<width>921</width>
<height>111</height>
</rect>
</