##// END OF EJS Templates
Fixed regression in declarative impl
Fixed regression in declarative impl

File last commit:

r139:167329998526
r168:23b5a494bf5a
Show More
chartdataset_p.h
36 lines | 745 B | text/x-c | CLexer
#ifndef CHARTENGINE_P_H_
#define CHARTENGINE_P_H_
#include <qchartseries.h>
#include "domain_p.h"
#include <QVector>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartDataSet : public QObject
{
Q_OBJECT
public:
ChartDataSet(QObject* parent =0);
virtual ~ChartDataSet();
void addSeries(QChartSeries* series);
void addDomain(const Domain& domain);
bool nextDomain();
bool previousDomain();
void clearDomains();
const Domain& domain() const;
signals:
void seriesAdded(QChartSeries* series);
void domainChanged(const Domain& domain);
private:
QList<QChartSeries*> m_chartSeries;
QVector<Domain> m_domains;
int m_domainIndex;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTENGINE_P_H_ */