From 50c09dd308c027f1b93019e5bdd913e216eff9ec Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Wed, 20 Jan 2016 10:32:33 +0100 Subject: Added a few comments in main.h --- main.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.h b/main.h index f3bcb66..fd7afbf 100644 --- a/main.h +++ b/main.h @@ -75,6 +75,7 @@ public: ColorScaleRainbow }; + // No need to be static: this class is a singleton ColorScale COLOR_SCALE_CATEGORICAL; ColorScale COLOR_SCALE_CONTINUOUS; ColorScale COLOR_SCALE_DIVERGENT; @@ -100,6 +101,8 @@ public: splat->setColorScale(getColorScale(colorScaleType)); } + // Pointer to visual components whose values are set in the main() function + // after components are instantiated by the QtQuick engine BarChart *barChart; Colormap *colormap; Scatterplot *cpPlot, *rpPlot; -- cgit v1.2.3