GUI: widen ambient-temp spinbox range and persist it client-side
doubleSpinBox_ambient now allows -999..999 in whole degrees (was 0..50 with 1 decimal), and main_window.py is regenerated to match. The ambient temperature is also now a properly client-owned setting: it's written to the user config on shutdown (not on every spinbox tick), restored into the spinbox immediately on GUI start, resent to the server on every (re)connect using the spinbox's live value, and no longer reset to the spinbox minimum on disconnect.
This commit is contained in:
+4
-4
@@ -3727,16 +3727,16 @@
|
||||
<string>Set the simulated/assumed ambient temperature</string>
|
||||
</property>
|
||||
<property name="decimals">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<double>0.000000000000000</double>
|
||||
<double>-999.000000000000000</double>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>50.000000000000000</double>
|
||||
<double>999.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>0.500000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="btn_pot_reset">
|
||||
|
||||
Reference in New Issue
Block a user