##// END OF EJS Templates
Added QML api for bar series
Added QML api for bar series

File last commit:

r646:a47b376c6f77
r646:a47b376c6f77
Show More
declarativebarseries.h
34 lines | 578 B | text/x-c | CLexer
/ qmlplugin / declarativebarseries.h
#ifndef DECLARATIVEBARSERIES_H
#define DECLARATIVEBARSERIES_H
#include "qchartglobal.h"
#include "scatterelement.h" // TODO: rename header
#include <QDeclarativeItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QChart;
class QBarSeries;
class DeclarativeBarSeries : public QDeclarativeItem
{
Q_OBJECT
public:
explicit DeclarativeBarSeries(QDeclarativeItem *parent = 0);
signals:
public slots:
private slots:
void setParentForSeries();
private:
QChart *m_chart;
QBarSeries *m_series;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // DECLARATIVEBARSERIES_H