aboutsummaryrefslogtreecommitdiffstats
path: root/stats/statsgrid.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsgrid.h')
-rw-r--r--stats/statsgrid.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/stats/statsgrid.h b/stats/statsgrid.h
index 47b48b3ac..ab1b0a513 100644
--- a/stats/statsgrid.h
+++ b/stats/statsgrid.h
@@ -3,18 +3,17 @@
#include <memory>
#include <vector>
-#include <QVector>
-#include <QGraphicsLineItem>
class StatsAxis;
-class QGraphicsScene;
+class StatsView;
+class ChartLineItem;
class StatsGrid {
public:
- StatsGrid(QGraphicsScene *scene, const StatsAxis &xAxis, const StatsAxis &yAxis);
+ StatsGrid(StatsView &view, const StatsAxis &xAxis, const StatsAxis &yAxis);
void updatePositions();
private:
- QGraphicsScene *scene;
+ StatsView &view;
const StatsAxis &xAxis, &yAxis;
- std::vector<std::unique_ptr<QGraphicsLineItem>> lines;
+ std::vector<std::unique_ptr<ChartLineItem>> lines;
};