qscatterseries.h
27 lines
| 566 B
| text/x-c
|
CLexer
Tero Ahola
|
r8 | #ifndef QSCATTERSERIES_H | ||
#define QSCATTERSERIES_H | ||||
#include <QGraphicsItem> | ||||
Tero Ahola
|
r13 | // TODO: | ||
#define QChartDataPoint QList<QVariant> | ||||
class QSeriesPointGraphicsItem; | ||||
Tero Ahola
|
r8 | class QScatterSeries : public QGraphicsItem | ||
{ | ||||
public: | ||||
Tero Ahola
|
r13 | QScatterSeries(QGraphicsItem *parent = 0); | ||
void setData(QList<QChartDataPoint> data); | ||||
// void setData(QList<int> data); | ||||
Tero Ahola
|
r8 | |||
signals: | ||||
public slots: | ||||
Tero Ahola
|
r13 | public: | ||
Tero Ahola
|
r8 | QRectF boundingRect() const; | ||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); | ||||
}; | ||||
#endif // QSCATTERSERIES_H | ||||