diff options
author | Lakshman <acrlakshman@gmail.com> | 2014-04-08 00:00:50 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-10 09:21:43 -0700 |
commit | 6a8d929876f5a8d0279d2a83248a5d7b59e0ae39 (patch) | |
tree | 97ce70f6851a4e2d756a946607298f6325edf9d3 /qt-ui/mainwindow.ui | |
parent | 20bde81023938a64fd417e75af3b85f19789f9ac (diff) | |
download | subsurface-6a8d929876f5a8d0279d2a83248a5d7b59e0ae39.tar.gz |
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>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 909e343ef..30610bb09 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -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> |