##// END OF EJS Templates
Removes PIMPL for now...
Removes PIMPL for now * removes wrongly implmented qchartprivate * removes wrongly implemented qchart * pimpl will be done before release

File last commit:

r48:3cbbcb012d8d
r53:c6b7296833b8
Show More
qscatterseries_p.h
31 lines | 791 B | text/x-c | CLexer
/ src / qscatterseries_p.h
#ifndef QSCATTERSERIESPRIVATE_H
#define QSCATTERSERIESPRIVATE_H
#include "qchartseries.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
/*!
* The PIMPL class of QScatterSeries.
*/
class QScatterSeriesPrivate : public QGraphicsItem
{
public:
QScatterSeriesPrivate(QList<qreal> x, QList<qreal> y, QGraphicsItem *parent);
public: // from QGraphicsItem
void resize(QRectF rect, qreal xscale, qreal yscale);
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
// TODO: use the chart data class instead of list of x and y values?
QList<qreal> m_x;
QList<qreal> m_y;
QList<qreal> m_scenex;
QList<qreal> m_sceney;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QSCATTERSERIES_H