ui/DetailCO2meter.ui

Tue, 11 Jun 2024 15:51:17 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 11 Jun 2024 15:51:17 +0200
changeset 533
288ed828d11a
parent 491
76f3a96e82b5
permissions
-rw-r--r--

Version 0.6.b2. In export to forum show the final treated water. Complete water recalculate if sparge water acid or ph is changed. Added and changed pH tooltips on the water tab. Added a line with total treated water to the product print.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>DetailCO2meter</class>
 <widget class="QDialog" name="DetailCO2meter">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1024</width>
    <height>560</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Dialog</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <item row="0" column="0">
    <widget class="QWidget" name="topWidget" native="true">
     <widget class="QGroupBox" name="powerBox">
      <property name="geometry">
       <rect>
        <x>740</x>
        <y>0</y>
        <width>261</width>
        <height>151</height>
       </rect>
      </property>
      <widget class="QLabel" name="powerLabel">
       <property name="geometry">
        <rect>
         <x>190</x>
         <y>70</y>
         <width>61</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Power</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="alarmLabel">
       <property name="geometry">
        <rect>
         <x>130</x>
         <y>70</y>
         <width>61</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Alarm</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="Led" name="powerLED">
       <property name="geometry">
        <rect>
         <x>210</x>
         <y>40</y>
         <width>20</width>
         <height>20</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>Color Led component</string>
       </property>
       <property name="whatsThis">
        <string>Led indicator</string>
       </property>
       <property name="checked">
        <bool>false</bool>
       </property>
       <property name="color">
        <color>
         <red>28</red>
         <green>113</green>
         <blue>216</blue>
        </color>
       </property>
      </widget>
      <widget class="Led" name="alarmLED">
       <property name="geometry">
        <rect>
         <x>150</x>
         <y>40</y>
         <width>20</width>
         <height>20</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>Color Led component</string>
       </property>
       <property name="whatsThis">
        <string>Led indicator</string>
       </property>
       <property name="checked">
        <bool>false</bool>
       </property>
      </widget>
     </widget>
     <widget class="QGroupBox" name="controlBox">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
        <width>721</width>
        <height>201</height>
       </rect>
      </property>
      <widget class="QLabel" name="uuidLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>60</y>
         <width>141</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Uuid:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="systemLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>90</y>
         <width>141</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>System and unit:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="codeLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>120</y>
         <width>141</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Code and beer:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="modeLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>150</y>
         <width>141</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Working mode:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="boxLabel">
       <property name="geometry">
        <rect>
         <x>15</x>
         <y>20</y>
         <width>691</width>
         <height>25</height>
        </rect>
       </property>
       <property name="font">
        <font>
         <pointsize>12</pointsize>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
        <string>Carbonation Pressure overview</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="QLineEdit" name="uuidEdit">
       <property name="geometry">
        <rect>
         <x>160</x>
         <y>60</y>
         <width>271</width>
         <height>23</height>
        </rect>
       </property>
       <property name="frame">
        <bool>true</bool>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
      <widget class="QLineEdit" name="systemEdit">
       <property name="geometry">
        <rect>
         <x>160</x>
         <y>90</y>
         <width>181</width>
         <height>23</height>
        </rect>
       </property>
       <property name="frame">
        <bool>true</bool>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
      <widget class="QLineEdit" name="statusEdit">
       <property name="geometry">
        <rect>
         <x>560</x>
         <y>90</y>
         <width>141</width>
         <height>23</height>
        </rect>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
      <widget class="QLineEdit" name="codeEdit">
       <property name="geometry">
        <rect>
         <x>160</x>
         <y>120</y>
         <width>381</width>
         <height>23</height>
        </rect>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
      <widget class="QComboBox" name="codePick">
       <property name="geometry">
        <rect>
         <x>560</x>
         <y>120</y>
         <width>141</width>
         <height>23</height>
        </rect>
       </property>
       <property name="sizeAdjustPolicy">
        <enum>QComboBox::AdjustToContentsOnFirstShow</enum>
       </property>
       <property name="placeholderText">
        <string>Choose beer:</string>
       </property>
      </widget>
      <widget class="QLabel" name="statusLabel">
       <property name="geometry">
        <rect>
         <x>410</x>
         <y>90</y>
         <width>141</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Current status:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLineEdit" name="modeEdit">
       <property name="geometry">
        <rect>
         <x>160</x>
         <y>150</y>
         <width>111</width>
         <height>23</height>
        </rect>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
     </widget>
     <widget class="QGroupBox" name="thermoBox">
      <property name="enabled">
       <bool>true</bool>
      </property>
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>210</y>
        <width>721</width>
        <height>321</height>
       </rect>
      </property>
      <widget class="QLabel" name="thermoLabel">
       <property name="geometry">
        <rect>
         <x>140</x>
         <y>280</y>
         <width>111</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Temperature</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="barLabel">
       <property name="geometry">
        <rect>
         <x>470</x>
         <y>280</y>
         <width>111</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Pressure</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="ManoMeter" name="barMeter">
       <property name="geometry">
        <rect>
         <x>400</x>
         <y>20</y>
         <width>251</width>
         <height>251</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>Shows the bottle pressure</string>
       </property>
       <property name="valueFont">
        <font>
         <pointsize>18</pointsize>
        </font>
       </property>
       <property name="digitFont">
        <font>
         <pointsize>14</pointsize>
        </font>
       </property>
       <property name="digitOffset">
        <double>110.000000000000000</double>
       </property>
      </widget>
      <widget class="ManoMeter" name="thermoMeter">
       <property name="geometry">
        <rect>
         <x>70</x>
         <y>20</y>
         <width>251</width>
         <height>251</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>Shows the temperature</string>
       </property>
       <property name="autoFillBackground">
        <bool>false</bool>
       </property>
       <property name="valueFont">
        <font>
         <pointsize>18</pointsize>
        </font>
       </property>
       <property name="digitFont">
        <font>
         <pointsize>14</pointsize>
         <italic>false</italic>
         <strikeout>false</strikeout>
         <kerning>true</kerning>
        </font>
       </property>
       <property name="digitOffset">
        <double>110.000000000000000</double>
       </property>
      </widget>
     </widget>
     <widget class="QGroupBox" name="styleBox">
      <property name="geometry">
       <rect>
        <x>740</x>
        <y>160</y>
        <width>261</width>
        <height>251</height>
       </rect>
      </property>
      <widget class="QDoubleSpinBox" name="minBar">
       <property name="geometry">
        <rect>
         <x>180</x>
         <y>80</y>
         <width>71</width>
         <height>24</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>The minimum calculated pressure in Bar for this beerstyle</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
       <property name="buttonSymbols">
        <enum>QAbstractSpinBox::NoButtons</enum>
       </property>
       <property name="accelerated">
        <bool>false</bool>
       </property>
       <property name="decimals">
        <number>2</number>
       </property>
       <property name="maximum">
        <double>45.000000000000000</double>
       </property>
       <property name="singleStep">
        <double>1.000000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="st_barLabel">
       <property name="geometry">
        <rect>
         <x>180</x>
         <y>60</y>
         <width>71</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Bar</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="maxVol">
       <property name="geometry">
        <rect>
         <x>100</x>
         <y>110</y>
         <width>71</width>
         <height>24</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>The maximum volumes CO2 for this beerstyle</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
       <property name="buttonSymbols">
        <enum>QAbstractSpinBox::NoButtons</enum>
       </property>
       <property name="accelerated">
        <bool>false</bool>
       </property>
       <property name="decimals">
        <number>2</number>
       </property>
       <property name="maximum">
        <double>45.000000000000000</double>
       </property>
       <property name="singleStep">
        <double>1.000000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="volLabel">
       <property name="geometry">
        <rect>
         <x>100</x>
         <y>60</y>
         <width>71</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Vol CO2</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="maxLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>110</y>
         <width>81</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Maximum:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="minVol">
       <property name="geometry">
        <rect>
         <x>100</x>
         <y>80</y>
         <width>71</width>
         <height>24</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>The minimum volumes CO2 for this beerstyle</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
       <property name="buttonSymbols">
        <enum>QAbstractSpinBox::NoButtons</enum>
       </property>
       <property name="accelerated">
        <bool>false</bool>
       </property>
       <property name="decimals">
        <number>2</number>
       </property>
       <property name="maximum">
        <double>45.000000000000000</double>
       </property>
       <property name="singleStep">
        <double>1.000000000000000</double>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="maxBar">
       <property name="geometry">
        <rect>
         <x>180</x>
         <y>110</y>
         <width>71</width>
         <height>24</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>The maximum calculated pressure in Bar for this beerstyle</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
       <property name="buttonSymbols">
        <enum>QAbstractSpinBox::NoButtons</enum>
       </property>
       <property name="accelerated">
        <bool>false</bool>
       </property>
       <property name="decimals">
        <number>2</number>
       </property>
       <property name="maximum">
        <double>45.000000000000000</double>
       </property>
       <property name="singleStep">
        <double>1.000000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="minLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>80</y>
         <width>81</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>Minimum:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="styleLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>20</y>
         <width>241</width>
         <height>25</height>
        </rect>
       </property>
       <property name="font">
        <font>
         <pointsize>11</pointsize>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
        <string>Style limits</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="thisBar">
       <property name="geometry">
        <rect>
         <x>180</x>
         <y>200</y>
         <width>71</width>
         <height>24</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>The expected calculated pressure in Bar for this beer</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
       <property name="buttonSymbols">
        <enum>QAbstractSpinBox::NoButtons</enum>
       </property>
       <property name="accelerated">
        <bool>false</bool>
       </property>
       <property name="decimals">
        <number>2</number>
       </property>
       <property name="maximum">
        <double>45.000000000000000</double>
       </property>
       <property name="singleStep">
        <double>1.000000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="thisLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>200</y>
         <width>81</width>
         <height>20</height>
        </rect>
       </property>
       <property name="text">
        <string>This beer:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="thisVol">
       <property name="geometry">
        <rect>
         <x>100</x>
         <y>200</y>
         <width>71</width>
         <height>24</height>
        </rect>
       </property>
       <property name="toolTip">
        <string>The desired volumes CO2 for this beer</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>
       <property name="buttonSymbols">
        <enum>QAbstractSpinBox::NoButtons</enum>
       </property>
       <property name="accelerated">
        <bool>false</bool>
       </property>
       <property name="decimals">
        <number>2</number>
       </property>
       <property name="maximum">
        <double>45.000000000000000</double>
       </property>
       <property name="singleStep">
        <double>1.000000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="expectLabel">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>160</y>
         <width>241</width>
         <height>25</height>
        </rect>
       </property>
       <property name="font">
        <font>
         <pointsize>11</pointsize>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
        <string>Expected</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </widget>
     <widget class="QGroupBox" name="buttonBox">
      <property name="geometry">
       <rect>
        <x>740</x>
        <y>420</y>
        <width>261</width>
        <height>111</height>
       </rect>
      </property>
      <widget class="QPushButton" name="quitButton">
       <property name="geometry">
        <rect>
         <x>90</x>
         <y>70</y>
         <width>80</width>
         <height>23</height>
        </rect>
       </property>
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string>Quit</string>
       </property>
       <property name="icon">
        <iconset>
         <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset>
       </property>
      </widget>
      <widget class="QPushButton" name="logButton">
       <property name="geometry">
        <rect>
         <x>90</x>
         <y>20</y>
         <width>80</width>
         <height>23</height>
        </rect>
       </property>
       <property name="text">
        <string>Log</string>
       </property>
       <property name="icon">
        <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc">
         <normaloff>:/icons/silk/chart_line.png</normaloff>:/icons/silk/chart_line.png</iconset>
       </property>
      </widget>
     </widget>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>Led</class>
   <extends>QWidget</extends>
   <header>analog/led.h</header>
  </customwidget>
  <customwidget>
   <class>ManoMeter</class>
   <extends>QWidget</extends>
   <header>analog/manometer.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>quitButton</tabstop>
 </tabstops>
 <resources>
  <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/>
 </resources>
 <connections/>
</ui>

mercurial