aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-20 10:32:33 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-20 10:32:33 +0100
commit50c09dd308c027f1b93019e5bdd913e216eff9ec (patch)
tree65aacb22f0362cc1d47c43a81c4d0e464c7774bb
parent2355b010723d5479f71f8c02dac752fbbd03ebfa (diff)
Added a few comments in main.h
-rw-r--r--main.h3
1 files changed, 3 insertions, 0 deletions
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;