subsurface/qt-ui/profile
Lubomir I. Ivanov 41cec17cff Profile2: reset the zoom level when a new profile is drawn
If the user has zoomed in but then changes to a new dive,
we may want to reset the scale back to the original value (1.0)
based on the current zoomLevel, so that the profile is not stuck
in zoomed mode.

This patch adds a snippet that resets the QGraphicsView scale,
zoomLevel variable and also the toolTip position.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-03-10 09:02:31 -07:00
..
animationfunctions.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
animationfunctions.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divecartesianaxis.cpp Profile2: fix some initializer list order warnings 2014-03-10 09:01:58 -07:00
divecartesianaxis.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diveeventitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diveeventitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divelineitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divelineitem.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divepixmapitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divepixmapitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diveplotdatamodel.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diveplotdatamodel.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diveprofileitem.cpp Profile2: use an implicit initializer for a struct array 2014-03-10 09:02:01 -07:00
diveprofileitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diverectitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diverectitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetooltipitem.cpp Remove a Lot of Dead Code. 2014-03-07 08:56:06 -08:00
divetooltipitem.h Remove a Lot of Dead Code. 2014-03-07 08:56:06 -08:00
profilewidget2.cpp Profile2: reset the zoom level when a new profile is drawn 2014-03-10 09:02:31 -07:00
profilewidget2.h Profile2: reset the zoom level when a new profile is drawn 2014-03-10 09:02:31 -07:00
ruleritem.cpp Profile2: fix some initializer list order warnings 2014-03-10 09:01:58 -07:00
ruleritem.h Code Cleanup ( that fix 2 bugs ) 2014-03-09 08:50:54 -07:00