subsurface/qt-ui/profile
Tomaz Canabrava 6de9b329d1 Huge code cleanup.
This patch starts the cleanup that will take a few iterations to finish.
The current profile code uses QStateMachine, and it's much too verbose
for something we can do with less than a third of its lines of code.

I also added on the beginning of the redesign of the profile code for
planner, edit and a few other things that are going to be ported to
the new profile in the future, but not currently - I just lack the time
to make that work for the next release.

This commit basically:
 - moves all 'new' calls to the initializer-list
 - create a new 'setupItem' private method to concentrate the calls
   that any item will do

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-08 07:14:50 -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 Fix DepthAxis when partial pressures aren't used. 2014-02-05 15:36:29 -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 Big improvement in speed ( callgrind ) 2014-02-06 06:31:11 -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
divetooltipitem.cpp Big improvement in speed ( callgrind ) 2014-02-06 06:31:11 -08:00
divetooltipitem.h Adapt the ToolTip to work on the new profile 2014-02-06 06:29:19 -08:00
profilewidget2.cpp Huge code cleanup. 2014-02-08 07:14:50 -08:00
profilewidget2.h Huge code cleanup. 2014-02-08 07:14:50 -08:00