##// END OF EJS Templates
Spline to QML API
Spline to QML API

File last commit:

r726:5bffcd7b4ba5
r732:4aded284df80
Show More
declarativebarseries.h
39 lines | 758 B | text/x-c | CLexer
/ qmlplugin / declarativebarseries.h
#ifndef DECLARATIVEBARSERIES_H
#define DECLARATIVEBARSERIES_H
#include "qchartglobal.h"
#include <QDeclarativeItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QChart;
class QBarSeries;
class DeclarativeBarSeries : public QDeclarativeItem
{
Q_OBJECT
Q_PROPERTY(QStringList barCategories READ barCategories WRITE setBarCategories)
public:
explicit DeclarativeBarSeries(QDeclarativeItem *parent = 0);
public: // from QDeclarativeParserStatus
void componentComplete();
public:
void setBarCategories(QStringList categories);
QStringList barCategories();
signals:
public slots:
public:
QChart *m_chart;
QBarSeries *m_series;
QStringList m_categories;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // DECLARATIVEBARSERIES_H