##// END OF EJS Templates
Fix setting custom color to pie. Now the pie knows if the color is set by the user.
Fix setting custom color to pie. Now the pie knows if the color is set by the user.

File last commit:

r646:a47b376c6f77
r691:02b456949de5
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