##// END OF EJS Templates

File last commit:

r64:e24eaf728304
r70:f6809ce9f999 merge
Show More
qscatterseries_p.h
34 lines | 797 B | text/x-c | CLexer
/ src / qscatterseries_p.h
Tero Ahola
Integrated scatter type series...
r42 #ifndef QSCATTERSERIESPRIVATE_H
#define QSCATTERSERIESPRIVATE_H
#include "qchartseries.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
/*!
* The PIMPL class of QScatterSeries.
*/
class QScatterSeriesPrivate : public QGraphicsItem
{
public:
Tero Ahola
Refactored series creation with QChart
r61 QScatterSeriesPrivate(QGraphicsItem *parent);
Tero Ahola
Integrated scatter type series...
r42
public: // from QGraphicsItem
Tero Ahola
Removed scale from chart's sizeChanged signals
r54 void resize(QRectF rect);
Tero Ahola
Integrated scatter type series...
r42 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;
Tero Ahola
Removed scale from chart's sizeChanged signals
r54 qreal m_scalex;
qreal m_scaley;
Tero Ahola
Resizing of QGraphicItems now possible by resize signal from QChart
r48 QList<qreal> m_scenex;
QList<qreal> m_sceney;
Tero Ahola
Draft implementation for setting color themes for a chart
r64 QColor m_markerColor;
Tero Ahola
Integrated scatter type series...
r42 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QSCATTERSERIES_H