subsurface/qt-ui/profile
Tomaz Canabrava 7b9400685d Optimizations and fixes on the new profile.
This patch optimizes a few items when hitting the
'save preferences' dialog, since when a preference is
modified, all the items try to reload their visual
based on wether a preference changed or not, the correct
code for 'hey, my pref changed, let's update' needed
to be done.

now the axis will only set a new maximum if it's different
from the old one ( and thus, going to a new dive with
the same maxdepth or maxtime as the old one will not touch
their axis, not triggering gratuitous animations. )

also, the 'incr by 3m' was not being called - it seems
that our 'syncsettings' method is not storing things on
the 'prefs' global var. I added just for the incr by 3m
case, but it's something that we need to check later.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-05 06:30:33 -08:00
..
animationfunctions.cpp Add settings awareness for the PP graph 2014-01-27 09:15:28 -08:00
animationfunctions.h Add settings awareness for the PP graph 2014-01-27 09:15:28 -08:00
divecartesianaxis.cpp Optimizations and fixes on the new profile. 2014-02-05 06:30:33 -08:00
divecartesianaxis.h Optimizations and fixes on the new profile. 2014-02-05 06:30:33 -08:00
diveeventitem.cpp Fix compile time warnings 2014-01-17 06:39:24 +07:00
diveeventitem.h Transform the DiveProfileItem to an Abstract Generalization 2014-01-17 06:18:00 +07:00
divelineitem.cpp Added a new Namespace to deal with Animations and related functions. 2014-01-16 10:12:29 +07:00
divelineitem.h Added a class based on QGraphicsLineItem that can be animated. 2014-01-16 10:12:29 +07:00
divepixmapitem.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
divepixmapitem.h Added a QGraphicsPixmapItem subclass that handles Animations. 2014-01-16 10:12:29 +07:00
diveplotdatamodel.cpp Created a method to check if calculations should take place. 2014-02-05 06:30:33 -08:00
diveplotdatamodel.h Created a method to check if calculations should take place. 2014-02-05 06:30:33 -08:00
diveprofileitem.cpp Optimizations and fixes on the new profile. 2014-02-05 06:30:33 -08:00
diveprofileitem.h Optimizations and fixes on the new profile. 2014-02-05 06:30:33 -08:00
diverectitem.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
diverectitem.h Added a new class based on QGraphicsRectItem that can be animated. 2014-01-16 10:12:20 +07:00
divetextitem.cpp Fix positioning of many text items. 2014-01-29 09:35:16 -08:00
divetextitem.h Add the dive computer text. 2014-01-21 09:38:46 -08:00
profilewidget2.cpp Use the same behavior as the old time markers 2014-01-28 11:31:18 -08:00
profilewidget2.h Add settings awareness for the PP graph 2014-01-27 09:15:28 -08:00