diff options
Diffstat (limited to 'stats/statsseries.h')
-rw-r--r-- | stats/statsseries.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stats/statsseries.h b/stats/statsseries.h index b24be7a79..360396601 100644 --- a/stats/statsseries.h +++ b/stats/statsseries.h @@ -6,19 +6,17 @@ #include <QPointF> -class QGraphicsScene; class StatsAxis; class StatsView; class StatsSeries { public: - StatsSeries(QGraphicsScene *scene, StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis); + StatsSeries(StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis); virtual ~StatsSeries(); virtual void updatePositions() = 0; // Called if chart geometry changes. virtual bool hover(QPointF pos) = 0; // Called on mouse movement. Return true if an item of this series is highlighted. virtual void unhighlight() = 0; // Unhighlight any highlighted item. protected: - QGraphicsScene *scene; StatsView &view; StatsAxis *xAxis, *yAxis; // May be zero for charts without axes (pie charts). QPointF toScreen(QPointF p); |