diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-14 16:43:58 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-16 10:12:30 +0700 |
commit | 7d5cf325016925f4072aa31b92beaae4f9a59695 (patch) | |
tree | e56a83a169faad8378e82189cc447bfba5ea9f8c /subsurface.pro | |
parent | 215e22481af5b19331882af27a3243eca7c2cf38 (diff) | |
download | subsurface-7d5cf325016925f4072aa31b92beaae4f9a59695.tar.gz |
Added a Model that should handle the Dive Profile
This model encapsulates the plot_info struct and provides
a consistent way to show it using the Qt Model view system
in the C++ and QML way. For a QGraphicsItem that should show
a Profile, this is the start.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r-- | subsurface.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/subsurface.pro b/subsurface.pro index ead81818d..f0238b6b1 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -69,7 +69,8 @@ HEADERS = \ qt-ui/profile/divelineitem.h \ qt-ui/profile/divetextitem.h \ qt-ui/profile/animationfunctions.h \ - qt-ui/profile/divecartesianaxis.h + qt-ui/profile/divecartesianaxis.h \ + qt-ui/profile/diveplotdatamodel.h SOURCES = \ deco.c \ @@ -126,7 +127,8 @@ SOURCES = \ qt-ui/profile/divelineitem.cpp \ qt-ui/profile/divetextitem.cpp \ qt-ui/profile/animationfunctions.cpp \ - qt-ui/profile/divecartesianaxis.cpp + qt-ui/profile/divecartesianaxis.cpp \ + qt-ui/profile/diveplotdatamodel.cpp linux*: SOURCES += linux.c mac: SOURCES += macos.c |