diff options
Diffstat (limited to 'stats/statsview.h')
-rw-r--r-- | stats/statsview.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stats/statsview.h b/stats/statsview.h index 385a591f4..8270c237f 100644 --- a/stats/statsview.h +++ b/stats/statsview.h @@ -168,10 +168,14 @@ private: std::vector<ChartItem *> items; // Attention: currently, items are not automatically removed on destruction! StatsSeries *highlightedSeries; StatsAxis *xAxis, *yAxis; + Legend *draggedItem; + QPointF dragStartMouse, dragStartItem; void hoverEnterEvent(QHoverEvent *event) override; void hoverMoveEvent(QHoverEvent *event) override; - + void mousePressEvent(QMouseEvent *event) override; + void mouseReleaseEvent(QMouseEvent *event) override; + void mouseMoveEvent(QMouseEvent *event) override; QSGImageNode *rootNode; }; |