diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-02-07 18:10:08 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-02-13 13:02:54 -0800 |
commit | bd252fc8201c7e77882ac95ef90ddbf4a16356d3 (patch) | |
tree | 15bfc73e8e569d6616ab3edd2d55c025b6b2af10 /stats/boxseries.h | |
parent | 91d371374b618ea6a173dcd94f9f11b2e96b85ce (diff) | |
download | subsurface-bd252fc8201c7e77882ac95ef90ddbf4a16356d3.tar.gz |
statistics: highlight selected boxes in box plot
In analogy to bar plots, highlight selected boxes in box plots.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/boxseries.h')
-rw-r--r-- | stats/boxseries.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stats/boxseries.h b/stats/boxseries.h index 2285e11c5..cd54ea86b 100644 --- a/stats/boxseries.h +++ b/stats/boxseries.h @@ -39,6 +39,7 @@ private: double lowerBound, upperBound; StatsQuartiles q; QString binName; + bool selected; Item(StatsView &view, BoxSeries *series, double lowerBound, double upperBound, const StatsQuartiles &q, const QString &binName); ~Item(); void updatePosition(BoxSeries *series); @@ -52,6 +53,7 @@ private: ChartItemPtr<InformationBox> information; std::vector<std::unique_ptr<Item>> items; int highlighted; // -1: no item highlighted + void divesSelected(const QVector<dive *> &) override; }; #endif |