subsurface/stats/quartilemarker.h
Berthold Stoeger 2eebae13dd stats: break out common QtQuick part of the code
Move most of the QtQuick code to its own directory, so that it
can be reused in the future for the chart.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-09-11 10:35:04 +02:00

19 lines
420 B
C++

// A short line used to mark quartiles
#ifndef QUARTILE_MARKER_H
#define QUARTILE_MARKER_H
#include "chartitem.h"
class StatsAxis;
class QuartileMarker : public ChartLineItem {
public:
QuartileMarker(ChartView &view, const StatsTheme &theme, double pos, double value, StatsAxis *xAxis, StatsAxis *yAxis);
~QuartileMarker();
void updatePosition();
private:
StatsAxis *xAxis, *yAxis;
double pos, value;
};
#endif