diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-16 16:21:23 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-17 06:18:00 +0700 |
commit | 254beef5d4c0ead123556ffbc5e37dd2cc81366e (patch) | |
tree | afd1a1babb9d3cbd727993c9c21d5508e4c61461 /qt-ui/profile/divecartesianaxis.cpp | |
parent | 1f8078828663f6bfff768cbc2fb36e6643eb3d0e (diff) | |
download | subsurface-254beef5d4c0ead123556ffbc5e37dd2cc81366e.tar.gz |
Transform the DiveProfileItem to an Abstract Generalization
The DiveProfileItem contained much of the complexity and
algorithms for almost all line-based items on the canvas,
so I transformed that to a general abstraction and implemented
a new DiveProfileItem that uses it. this should reduce a
bit of code since the implementation of the PP Graphs, Temperature
Cylinder Pressure and maybe a few others will only need to
reimplement the paint() and the modelDataChanged() methods.
The rest is ready.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
0 files changed, 0 insertions, 0 deletions