##// END OF EJS Templates
Revert "Fixes line uder grid issue"...
Revert "Fixes line uder grid issue" This reverts commit 3ea3ba4a33950ea7420e16913d228ed53fe566c3.

File last commit:

r182:0dd3fe4314e9
r191:0b54368f72bb
Show More
scatterpresenter.h
47 lines | 1.1 KiB | text/x-c | CLexer
/ src / scatterpresenter.h
Tero Ahola
Integrated scatter again. Missing functionality....
r158 #ifndef SCATTERPRESENTER_H
#define SCATTERPRESENTER_H
#include "qchartglobal.h"
#include "chartitem_p.h"
#include <QObject>
Tero Ahola
Enabled theme colors in scatter again
r182 #include <QPen>
Tero Ahola
Integrated scatter again. Missing functionality....
r158
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QScatterSeries;
/*!
* The "business logic" of scatter series. This is a QObject that does not have a parent QObject.
* The QGraphicsItem parent owns the object instead.
*/
class ScatterPresenter : public QObject, public ChartItem
{
Q_OBJECT
public:
explicit ScatterPresenter(QScatterSeries *series, QGraphicsObject *parent = 0);
public: // from ChartItem
QRectF boundingRect() const { return m_boundingRect; }
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
signals:
public Q_SLOTS:
void handleDomainChanged(const Domain& domain);
void handleGeometryChanged(const QRectF& rect);
void handleModelChanged();
public:
void changeGeometry();
QScatterSeries *m_series;
QRectF m_boundingRect;
QList<qreal> m_scenex;
QList<qreal> m_sceney;
Domain m_visibleChartArea;
Tero Ahola
Enabled theme colors in scatter again
r182 QPen m_markerPen;
Tero Ahola
Integrated scatter again. Missing functionality....
r158 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // SCATTERPRESENTER_H