From 1a869833d8896b01d04b49a58e08914658e038e9 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 13 Jan 2021 13:23:41 +0100 Subject: statistics: implement moving of legend Catch mouse move events and move the legend accordingly. Currently, this is the only item that can be dragged and therefore there is no need of doing some kind of fancy interface. Simply keep a pointer to the legend if it is dragged. Signed-off-by: Berthold Stoeger --- stats/legend.h | 1 - 1 file changed, 1 deletion(-) (limited to 'stats/legend.h') diff --git a/stats/legend.h b/stats/legend.h index a9d42bf39..1e38f705a 100644 --- a/stats/legend.h +++ b/stats/legend.h @@ -14,7 +14,6 @@ class QFontMetrics; class Legend : public ChartRectItem { public: Legend(StatsView &view, const std::vector &names); - void hover(QPointF pos); void resize(); // called when the chart size changes. private: // Each entry is a text besides a rectangle showing the color -- cgit v1.2.3-70-g09d2