##// END OF EJS Templates
Title and name of QSeries replaced with name
Title and name of QSeries replaced with name

File last commit:

r726:5bffcd7b4ba5
r731:90a16700f8b3
Show More
declarativescatterseries.h
44 lines | 1.0 KiB | text/x-c | CLexer
/ qmlplugin / declarativescatterseries.h
Tero Ahola
Proposal for QML data API
r196 #ifndef DECLARATIVESCATTERSERIES_H
#define DECLARATIVESCATTERSERIES_H
#include "qchartglobal.h"
Tero Ahola
d
r722 #include "declarativexypoint.h"
Tero Ahola
Proposal for QML data API
r196 #include <QDeclarativeItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QChart;
class QScatterSeries;
Tero Ahola
QML bar series categories
r726 class DeclarativeScatterSeries : public QDeclarativeItem
Tero Ahola
Proposal for QML data API
r196 {
Q_OBJECT
Tero Ahola
QML bar series categories
r726 Q_PROPERTY(QDeclarativeListProperty<DeclarativeXyPoint> points READ points)
Tero Ahola
Proposal for QML data API
r196
public:
explicit DeclarativeScatterSeries(QDeclarativeItem *parent = 0);
Tero Ahola
d
r722 ~DeclarativeScatterSeries();
public: // from QDeclarativeParserStatus
void componentComplete();
public:
Tero Ahola
QML bar series categories
r726 QDeclarativeListProperty<DeclarativeXyPoint> points();
Tero Ahola
Proposal for QML data API
r196
signals:
public slots:
Tero Ahola
QML bar series categories
r726 static void appendPoints(QDeclarativeListProperty<DeclarativeXyPoint> *list,
Tero Ahola
d
r722 DeclarativeXyPoint *element);
Tero Ahola
Proposal for QML data API
r196
private slots:
public:
Tero Ahola
d
r722 QChart *m_chart; // not owned
QScatterSeries *m_series; // not owned
Tero Ahola
QML bar series categories
r726 QList<DeclarativeXyPoint *> m_points; // not owned
Tero Ahola
Proposal for QML data API
r196 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // DECLARATIVESCATTERSERIES_H