##// END OF EJS Templates
Adds gitignore file
Adds gitignore file

File last commit:

r30:ef99599d15b7
r31:cf0811e96911
Show More
qxychartseries.h
40 lines | 907 B | text/x-c | CLexer
Michal Klocek
adds missing files form previous commit
r12 #ifndef QXYSERIES_H_
#define QXYSERIES_H_
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
Tero Ahola
Renamed to QtCommercialChart
r30 #include "qchartglobal.h"
Michal Klocek
Refactor current draft to fit int current design specs...
r21 #include "qchartseries.h"
Michal Klocek
adds missing files form previous commit
r12 #include <QDebug>
#include <QColor>
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
adds missing files form previous commit
r12
Tero Ahola
Renamed to QtCommercialChart
r30 class QTCOMMERCIALCHART_EXPORT QXYChartSeries : public QChartSeries
Michal Klocek
adds missing files form previous commit
r12 {
Michal Klocek
Refactor current draft to fit int current design specs...
r21 private:
QXYChartSeries(QObject* parent=0);
Michal Klocek
adds missing files form previous commit
r12 public:
Michal Klocek
Refactor current draft to fit int current design specs...
r21 virtual ~QXYChartSeries();
//implemented from QChartSeries
static QXYChartSeries* create(QObject* parent=0);
Tero Ahola
Renamed to QtCommercialChart
r30 virtual QChartSeriesType type() const { return QChartSeries::SeriesTypeLine;}
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
adds missing files form previous commit
r12 void add(qreal x, qreal y);
void clear();
void setColor(const QColor& color);
const QColor& color() const { return m_color;}
int count() const;
qreal x(int pos) const;
qreal y(int pos) const;
Michal Klocek
Refactor current draft to fit int current design specs...
r21 friend QDebug operator<< (QDebug d, const QXYChartSeries series);
Michal Klocek
adds missing files form previous commit
r12
private:
QColor m_color;
QList<qreal> m_x;
QList<qreal> m_y;
};
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
Michal Klocek
adds missing files form previous commit
r12 #endif