From d63d4cd3c357a4294e4810ad320acf519b37882d Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 1 Feb 2021 23:17:04 +0100 Subject: statistics: implement rectangle selection in scatter plot Allow the user to select regions of the scatter plot using a rectangular selection. When shift is pressed, do an incremental selection. Unfortunately, the list-selection code is so slow that this becomes unusable for a large number of selected dives. Signed-off-by: Berthold Stoeger --- stats/statscolors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stats/statscolors.h') diff --git a/stats/statscolors.h b/stats/statscolors.h index d8198911c..178cf8b00 100644 --- a/stats/statscolors.h +++ b/stats/statscolors.h @@ -24,6 +24,7 @@ inline const QColor quartileMarkerColor(Qt::red); inline const QColor regressionItemColor(Qt::red); inline const QColor meanMarkerColor(Qt::green); inline const QColor medianMarkerColor(Qt::red); +inline const QColor selectionLassoColor(Qt::black); QColor binColor(int bin, int numBins); QColor labelColor(int bin, size_t numBins); -- cgit v1.2.3-70-g09d2