mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Update the diffrent units when switching system
When switching between metric and imperial, we should also show that the different units are switching too. This signals the greyed out radio buttons to switch to the right system. Fixes #347 Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8c65173746
commit
a145c2e61a
1 changed files with 60 additions and 0 deletions
|
@ -1176,6 +1176,66 @@
|
|||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>imperial</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>feet</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>metric</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>meter</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>imperial</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>psi</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>metric</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>bar</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>imperial</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>cuft</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>metric</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>liter</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>imperial</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>fahrenheit</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>metric</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>celsius</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>imperial</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>lbs</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>metric</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>kg</receiver>
|
||||
<slot>setChecked(bool)</slot>
|
||||
</connection>
|
||||
</connections>
|
||||
<buttongroups>
|
||||
<buttongroup name="buttonGroup"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue