diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-04 20:18:16 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-04 20:18:16 -0300 |
commit | 926224122ebc4cf6a53e3a63eb455293bcfb455d (patch) | |
tree | 517dcaa60b6dfd484d306a9de9683e02d114cba7 /qt-ui/profilegraphics.h | |
parent | 09597cd2d8729ab368f2e423dbb1ef5235745f58 (diff) | |
download | subsurface-926224122ebc4cf6a53e3a63eb455293bcfb455d.tar.gz |
Added the code to plot the actual Graph.
This version already plots the dive-graph, with the
gradient and all that jazz. One thing that will be
easily spotted is that the size of the line is very
thick - easily changed, I'm just using the default.
As soon as everything is plotted correctly I'll
fix the lines.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r-- | qt-ui/profilegraphics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h index 633409b23..a62e55c4d 100644 --- a/qt-ui/profilegraphics.h +++ b/qt-ui/profilegraphics.h @@ -14,6 +14,9 @@ protected: private: void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi); + + QPen defaultPen; + QBrush defaultBrush; }; #endif |