Feature to show or hide heart rate graph

Adds new push button "HR" to the button bar on the dive profile to
toggle display of heart rate.

TODO: New icon for the heart rate button is needed.

Fixes #485

Signed-off-by: Lakshman Anumolu <acrlakshman@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lakshman 2014-04-08 00:00:50 -04:00 committed by Dirk Hohndel
parent 20bde81023
commit 6a8d929876
10 changed files with 70 additions and 9 deletions

View file

@ -449,11 +449,27 @@
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="14">
</item>
<item row="13" column="0">
<widget class="QToolButton" name="profHR">
<property name="toolTip">
<string>Show/hide heart rate</string>
</property>
<property name="text">
<string>HR</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="15">
<widget class="ProfileWidget2" name="newProfile"/>
</item>
<item row="13" column="0">
<item row="14" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>