##// END OF EJS Templates
removed QBarCategory from docs
removed QBarCategory from docs

File last commit:

r316:101197172c50
r378:025cee379033
Show More
scatterpresenter_p.h
50 lines | 1.2 KiB | text/x-c | CLexer
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
Tero Ahola
Added clicked signal to scatter...
r316 QRectF boundingRect() const { return m_path.boundingRect(); }
QPainterPath shape() const { return m_path; }
Tero Ahola
Integrated scatter again. Missing functionality....
r158 void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
Tero Ahola
Scatter series documentation; now uses snippets
r300 void mousePressEvent (QGraphicsSceneMouseEvent * event);
Tero Ahola
Integrated scatter again. Missing functionality....
r158
Tero Ahola
Added clicked signal to scatter...
r316 Q_SIGNALS:
void clicked();
Tero Ahola
Integrated scatter again. Missing functionality....
r158
public Q_SLOTS:
void handleDomainChanged(const Domain& domain);
void handleGeometryChanged(const QRectF& rect);
void handleModelChanged();
public:
void changeGeometry();
QScatterSeries *m_series;
QRectF m_boundingRect;
Domain m_visibleChartArea;
Tero Ahola
Enabled theme colors in scatter again
r182 QPen m_markerPen;
Tero Ahola
Scatter series marker visuals
r195 QBrush m_markerBrush;
Tero Ahola
Added clicked signal to scatter...
r316 QPainterPath m_path;
Tero Ahola
Integrated scatter again. Missing functionality....
r158 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // SCATTERPRESENTER_H