##// END OF EJS Templates
Declarative series classed now derived from QSeries childs
Declarative series classed now derived from QSeries childs

File last commit:

r789:a31eb092569c
r789:a31eb092569c
Show More
declarativexypoint.h
22 lines | 501 B | text/x-c | CLexer
#ifndef DECLARATIVE_XY_POINT_H
#define DECLARATIVE_XY_POINT_H
#include "qchartglobal.h"
#include <QObject>
#include <QPointF>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class DeclarativeXyPoint : public QObject, public QPointF
{
Q_OBJECT
Q_PROPERTY(qreal x READ x WRITE setX /*NOTIFY dataXChanged*/)
Q_PROPERTY(qreal y READ y WRITE setY /*NOTIFY dataYChanged*/)
public:
explicit DeclarativeXyPoint(QObject *parent = 0);
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // DECLARATIVE_XY_POINT_H