statistics: move colors to statscolors.h

Most colors were already collected there, but a few were dispersed
throughout the source files.

For future themeability, move the remaining colors to this common
place.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-19 12:59:56 +01:00 committed by bstoeger
parent ba259fb1d6
commit 2e2019dea7
6 changed files with 12 additions and 8 deletions

View file

@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
#include "quartilemarker.h"
#include "statscolors.h"
#include "statsaxis.h"
#include "zvalues.h"
static const QColor quartileMarkerColor(Qt::red);
static const double quartileMarkerSize = 15.0;
QuartileMarker::QuartileMarker(StatsView &view, double pos, double value, StatsAxis *xAxis, StatsAxis *yAxis) :