##// END OF EJS Templates
Removed setting scene rect in QChartView::resizeEvent
Removed setting scene rect in QChartView::resizeEvent

File last commit:

r726:5bffcd7b4ba5
r739:6c5910e9d6f4
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