##// END OF EJS Templates
Checkbox for anti-alias to chartwidgettest
Checkbox for anti-alias to chartwidgettest

File last commit:

r374:d3fe1a118d91
r379:ef3b0565576e
Show More
qlineseries.h
56 lines | 1.3 KiB | text/x-c | CLexer
Michal Klocek
Rename QChartSeries to QSeries
r360 #ifndef QLINESERIES_H_
#define QLINESERIES_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
Rename QChartSeries to QSeries
r360 #include "qseries.h"
Michal Klocek
adds missing files form previous commit
r12 #include <QDebug>
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85 #include <QPen>
#include <QBrush>
Michal Klocek
adds missing files form previous commit
r12
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
adds missing files form previous commit
r12
Michal Klocek
Rename QChartSeries to QSeries
r360 class QTCOMMERCIALCHART_EXPORT QLineSeries : public QSeries
Michal Klocek
adds missing files form previous commit
r12 {
Michal Klocek
Refactors qchart , adds line animation...
r131 Q_OBJECT
Michal Klocek
adds missing files form previous commit
r12 public:
Michal Klocek
Rename QLineChartSeries to QLineSeries
r349 QLineSeries(QObject* parent=0);
virtual ~QLineSeries();
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Tero Ahola
One more alternative for changing themes
r108 public: // from QChartSeries
Michal Klocek
Rename QChartSeries to QSeries
r360 virtual QSeriesType type() const { return QSeries::SeriesTypeLine;}
Michal Klocek
Remove index from QLineChartSeries API
r348 void add(qreal x, qreal y);
void add(const QPointF& point);
void replace(qreal x,qreal y);
void replace(const QPointF& point);
void remove(qreal x);
void remove(const QPointF& point);
Michal Klocek
adds missing files form previous commit
r12 void clear();
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85
void setPen(const QPen& pen);
Michal Klocek
Refactor documentation...
r331 QPen pen() const { return m_pen;}
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85
Michal Klocek
minor. missing setter for line series
r186 void setPointsVisible(bool visible);
Michal Klocek
Fixes pointsVisible naming convention in qlineseries
r367 bool pointsVisible() const {return m_pointsVisible;}
Michal Klocek
Add pointsVisible setting for line series
r185
Michal Klocek
adds missing files form previous commit
r12 int count() const;
qreal x(int pos) const;
qreal y(int pos) const;
Michal Klocek
Adds stream operator to qlinechart
r372
QLineSeries& operator << (const QPointF &point);
Michal Klocek
Rename QLineChartSeries to QLineSeries
r349 friend QDebug operator<< (QDebug d, const QLineSeries series);
Michal Klocek
adds missing files form previous commit
r12
Michal Klocek
Refactors qchart , adds line animation...
r131 signals:
Michal Klocek
Adds replace,remove,add signals to qchartline
r374 void pointChanged(int index);
void pointRemoved(int index);
void pointAdded(int index);
Michal Klocek
Refactors qchart , adds line animation...
r131
Michal Klocek
adds missing files form previous commit
r12 private:
Michal Klocek
Refactors qchart , adds line animation...
r131 QVector<qreal> m_x;
QVector<qreal> m_y;
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85 QPen m_pen;
Michal Klocek
Add pointsVisible setting for line series
r185 bool m_pointsVisible;
Michal Klocek
adds missing files form previous commit
r12 };
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