qscatterseries.h
33 lines
| 805 B
| text/x-c
|
CLexer
/ src / qscatterseries.h
Tero Ahola
|
r42 | #ifndef QSCATTERSERIES_H | ||
#define QSCATTERSERIES_H | ||||
#include "qchartseries.h" | ||||
Tero Ahola
|
r48 | #include <QRectF> | ||
Tero Ahola
|
r42 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class QScatterSeriesPrivate; | ||||
class QTCOMMERCIALCHART_EXPORT QScatterSeries : public QChartSeries | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
//QScatterSeries(QSeriesData *data, QObject *chart); | ||||
Tero Ahola
|
r51 | QScatterSeries(QList<qreal> x, QList<qreal> y, QObject *parent = 0); | ||
Tero Ahola
|
r42 | ~QScatterSeries(); | ||
public: // from QChartSeries | ||||
Tero Ahola
|
r51 | QChartSeriesType type() const { return QChartSeries::SeriesTypeScatter; } | ||
Tero Ahola
|
r42 | |||
Tero Ahola
|
r48 | public Q_SLOTS: | ||
void chartSizeChanged(QRectF rect, qreal xscale, qreal yscale); | ||||
Tero Ahola
|
r42 | private: | ||
Q_DECLARE_PRIVATE(QScatterSeries) | ||||
Q_DISABLE_COPY(QScatterSeries) | ||||
friend class QChart; | ||||
QScatterSeriesPrivate *const d; | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // QSCATTERSERIES_H | ||||