diff options
Diffstat (limited to 'src/charts/xychart/qxyseries_p.h')
-rw-r--r-- | src/charts/xychart/qxyseries_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/charts/xychart/qxyseries_p.h b/src/charts/xychart/qxyseries_p.h index 18340201..f9518c07 100644 --- a/src/charts/xychart/qxyseries_p.h +++ b/src/charts/xychart/qxyseries_p.h @@ -67,12 +67,17 @@ public: void drawSeriesPointLabels(QPainter *painter, const QList<QPointF> &points, const int offset = 0); + void setPointSelected(int index, bool selected, bool &callSignal); + bool isPointSelected(int index); + Q_SIGNALS: void updated(); protected: QList<QPointF> m_points; + QSet<int> m_selectedPoints; QPen m_pen; + QColor m_selectedColor; QBrush m_brush; bool m_pointsVisible; QString m_pointLabelsFormat; |