summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-04 20:18:16 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-04 19:55:46 -0700
commitadcae4d913c9e151c17da6b0371b2117c7dabb93 (patch)
tree60339ca20900c0d15f39f8c6503209280d3a82ef /qt-ui/profilegraphics.h
parentf269f8649644c5726fcd79ead443b0bb605a798d (diff)
downloadsubsurface-adcae4d913c9e151c17da6b0371b2117c7dabb93.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> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h3
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