diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-02-27 12:39:53 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 10:48:47 -0800 |
commit | 169589413056c8c76f52de5db662fe2269ff8c65 (patch) | |
tree | 8cd3874e91dc2582316a516acf0e9504733201e0 /qt-ui/profile/profilewidget2.h | |
parent | 8c56b2f45e546048941ba004bce5e5bfd0e6e660 (diff) | |
download | subsurface-169589413056c8c76f52de5db662fe2269ff8c65.tar.gz |
New profile: connect the scale action
Just quick'n dirty glue code so that when the user clicks on the 'scale'
toolbar item, the new profile graphic is scaled.
Lovely thing: Animations for free. <3
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index 31f806451..2b5d19d71 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -77,6 +77,7 @@ private: DivePixmapItem *background; QString backgroundFile; ToolTipItem *toolTipItem; + bool isPlotZoomed; // All those here should probably be merged into one structure, // So it's esyer to replicate for more dives later. // In the meantime, keep it here. |