diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-14 18:22:27 -0600 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-14 18:22:27 -0600 |
commit | fa3c18d83b3f8d8ec9ccb692bf385b07cde30412 (patch) | |
tree | d235c094f21312d79a28cf7e699a691cfb3173c4 /qt-ui/profile/profilewidget2.h | |
parent | 9015160199506f271f8758c9b284b1d56bae860b (diff) | |
download | subsurface-fa3c18d83b3f8d8ec9ccb692bf385b07cde30412.tar.gz |
Add initial support for a visual tracker of gas used
This shows a color-coded bar at the bottom of the graph that corresponds
with the active gas.
Todo:
- text that explicitly states gas on the left edge of the bar
- better vertical positioning of the bar
- ability to turn this on and off
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index c3db9845c..fa5e53e26 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -40,6 +40,7 @@ class DiveCalculatedTissue; class PartialPressureGasItem; class PartialGasPressureAxis; class AbstractProfilePolygonItem; +class TankItem; class DiveHandler; class QGraphicsSimpleTextItem; class QModelIndex; @@ -164,6 +165,7 @@ private: DiveLineItem *mouseFollowerVertical; DiveLineItem *mouseFollowerHorizontal; RulerItem2 *rulerItem; + TankItem *tankItem; bool isGrayscale; bool printMode; |