- integrated Stirrer into GUI

This commit is contained in:
jens
2020-12-17 19:30:59 +01:00
parent 7650acd808
commit f18dd11e9a
3 changed files with 207 additions and 64 deletions
+122 -38
View File
@@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1091</width>
<height>629</height>
<width>1130</width>
<height>623</height>
</rect>
</property>
<property name="sizePolicy">
@@ -488,7 +488,7 @@
<rect>
<x>10</x>
<y>0</y>
<width>341</width>
<width>461</width>
<height>471</height>
</rect>
</property>
@@ -515,15 +515,15 @@
</size>
</property>
<property name="title">
<string>Temperatur</string>
<string>Controller</string>
</property>
<widget class="QwtSlider" name="Slider_temp_soll">
<property name="geometry">
<rect>
<x>50</x>
<y>40</y>
<x>20</x>
<y>70</y>
<width>63</width>
<height>311</height>
<height>281</height>
</rect>
</property>
<property name="lowerBound">
@@ -552,7 +552,7 @@
</rect>
</property>
<property name="text">
<string>Heizrate</string>
<string>Heat rate</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
@@ -561,7 +561,7 @@
<widget class="QDoubleSpinBox" name="doubleSpinBox_heatrate_soll">
<property name="geometry">
<rect>
<x>90</x>
<x>80</x>
<y>370</y>
<width>51</width>
<height>31</height>
@@ -577,20 +577,36 @@
<double>0.100000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Temperature [°C]</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Power</string>
<string>Heater</string>
</property>
<widget class="QwtSlider" name="Slider_pwr_soll">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<x>10</x>
<y>70</y>
<width>81</width>
<height>311</height>
<height>281</height>
</rect>
</property>
<property name="lowerBound">
@@ -610,6 +626,42 @@
</property>
</widget>
<widget class="QCheckBox" name="checkbox_heater_activate">
<property name="geometry">
<rect>
<x>30</x>
<y>370</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Activate</string>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Power [W]</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Stirrer</string>
</property>
<widget class="QCheckBox" name="checkbox_stirrer_activate">
<property name="geometry">
<rect>
<x>40</x>
@@ -622,6 +674,47 @@
<string>Activate</string>
</property>
</widget>
<widget class="QwtSlider" name="Slider_speed_soll">
<property name="geometry">
<rect>
<x>40</x>
<y>70</y>
<width>63</width>
<height>281</height>
</rect>
</property>
<property name="lowerBound">
<double>0.000000000000000</double>
</property>
<property name="upperBound">
<double>100.000000000000000</double>
</property>
<property name="scaleMaxMajor">
<number>7</number>
</property>
<property name="scaleMaxMinor">
<number>3</number>
</property>
<property name="scaleStepSize">
<double>0.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Speed [%]</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
</item>
</layout>
@@ -640,8 +733,8 @@
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>550</x>
<y>60</y>
<x>480</x>
<y>70</y>
<width>481</width>
<height>374</height>
</rect>
@@ -3454,8 +3547,8 @@
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>590</x>
<y>30</y>
<x>570</x>
<y>40</y>
<width>67</width>
<height>17</height>
</rect>
@@ -3470,8 +3563,8 @@
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>870</x>
<y>30</y>
<x>800</x>
<y>40</y>
<width>67</width>
<height>17</height>
</rect>
@@ -3486,49 +3579,40 @@
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>410</x>
<y>110</y>
<x>980</x>
<y>130</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Temperatur [°C]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<string>Temperature [°C]</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>410</x>
<y>240</y>
<x>980</x>
<y>250</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Heizrate [°C/min]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<string>Heat rate [°C/min]</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>430</x>
<y>360</y>
<x>980</x>
<y>380</y>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Leistung [W]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<string>Power [W]</string>
</property>
</widget>
<widget class="QLabel" name="label_7">
@@ -3601,7 +3685,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1091</width>
<width>1130</width>
<height>22</height>
</rect>
</property>