mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
91d371374b
commit
bd252fc820
5 changed files with 37 additions and 5 deletions
|
|
@ -5,12 +5,18 @@
|
|||
#define STATSHELPER_H
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <QPointF>
|
||||
#include <QSGNode>
|
||||
|
||||
struct dive;
|
||||
|
||||
// Round positions to integer values to avoid ugly artifacts
|
||||
QPointF roundPos(const QPointF &p);
|
||||
|
||||
// Are all dives in this vector selected?
|
||||
bool allDivesSelected(const std::vector<dive *> &dives);
|
||||
|
||||
// A stupid pointer class that initializes to null and can be copy
|
||||
// assigned. This is for historical reasons: unique_ptrs to ChartItems
|
||||
// were replaced by plain pointers. Instead of nulling the plain pointers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue