##// END OF EJS Templates
Fix bug/typo in chartdataset
Fix bug/typo in chartdataset

File last commit:

r793:dbc1daf2590a
r828:efd18f904bfe
Show More
declarativesplineseries.h
30 lines | 807 B | text/x-c | CLexer
/ qmlplugin / declarativesplineseries.h
Tero Ahola
Spline to QML API
r732 #ifndef DECLARATIVESPLINESERIES_H
#define DECLARATIVESPLINESERIES_H
#include "qchartglobal.h"
Tero Ahola
Declarative series classed now derived from QSeries childs
r789 #include "qsplineseries.h"
Tero Ahola
Spline to QML API
r732 #include "declarativexyseries.h"
Tero Ahola
Declarative series classed now derived from QSeries childs
r789 #include <QDeclarativeParserStatus>
Tero Ahola
Spline to QML API
r732
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Tero Ahola
Declarative series classed now derived from QSeries childs
r789 class DeclarativeSplineSeries : public QSplineSeries, public DeclarativeXySeries
Tero Ahola
Spline to QML API
r732 {
Q_OBJECT
Tero Ahola
Declarative series classed now derived from QSeries childs
r789 Q_PROPERTY(QDeclarativeListProperty<DeclarativeXyPoint> points READ points)
Tero Ahola
Spline to QML API
r732
public:
Tero Ahola
Declarative series classed now derived from QSeries childs
r789 explicit DeclarativeSplineSeries(QObject *parent = 0);
public:
Tero Ahola
Refactoring declarative xy series
r793 virtual void componentComplete();
Tero Ahola
Declarative series classed now derived from QSeries childs
r789 QDeclarativeListProperty<DeclarativeXyPoint> points();
Tero Ahola
Refactoring declarative xy series
r793 public Q_SLOTS:
Tero Ahola
Declarative series classed now derived from QSeries childs
r789 static void appendPoints(QDeclarativeListProperty<DeclarativeXyPoint> *list,
DeclarativeXyPoint *element);
};
Tero Ahola
Spline to QML API
r732
QTCOMMERCIALCHART_END_NAMESPACE
#endif // DECLARATIVESPLINESERIES_H