##// END OF EJS Templates
Fixed build error caused by QSeries name change
Fixed build error caused by QSeries name change

File last commit:

r677:2b967c4f6e8e
r733:a8e3d9a5ee37
Show More
splinechartitem_p.h
46 lines | 1.0 KiB | text/x-c | CLexer
Marek Rosa
Renamed SplinePresenter to SplineChartItem
r460 #ifndef SPLINECHARTITEM_P_H
#define SPLINECHARTITEM_P_H
Marek Rosa
Spline initial
r295
Marek Rosa
Spline working somewhat
r401 #include "qsplineseries.h"
Michal Klocek
Refactor line spline to common xyline...
r465 #include "xychartitem_p.h"
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476 #include <QGraphicsItem>
Marek Rosa
Spline initial
r295
Michal Klocek
Improves spline interpolation...
r622
Marek Rosa
Spline initial
r295 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor line spline to common xyline...
r465 class SplineChartItem : public XYChartItem
Marek Rosa
Spline initial
r295 {
Q_OBJECT
public:
Michal Klocek
Refactors chartitem...
r677 SplineChartItem(QSplineSeries* series, ChartPresenter *presenter);
Marek Rosa
Spline initial
r295
Michal Klocek
Refactor line spline to common xyline...
r465 //from QGraphicsItem
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
QPainterPath shape() const;
Marek Rosa
Experimenting
r417
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476 public slots:
void handleUpdated();
Michal Klocek
Refactor line spline to common xyline...
r465 protected:
Michal Klocek
Improves spline interpolation...
r622 void setLayout(QVector<QPointF>& points,QVector<QPointF>& controlPoints);
void updateLayout(QVector<QPointF>& oldPoints,QVector<QPointF>& newPoints,int index);
Marek Rosa
Spline with problems
r419
Michal Klocek
Refactor line spline to common xyline...
r465 private:
Marek Rosa
Spline with problems
r419 QPointF calculateGeometryControlPoint(int index) const;
Michal Klocek
Refactor line spline to common xyline...
r465 private:
QSplineSeries* m_series;
QPainterPath m_path;
QRectF m_rect;
Michal Klocek
Adds visible points handling to spline
r580 QPen m_linePen;
QPen m_pointPen;
bool m_pointsVisible;
Michal Klocek
Improves spline interpolation...
r622 QVector<QPointF> m_controlPoints;
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476
Michal Klocek
Improves spline interpolation...
r622 friend class SplineAnimation;
Marek Rosa
Spline initial
r295 };
QTCOMMERCIALCHART_END_NAMESPACE
Marek Rosa
Renamed SplinePresenter to SplineChartItem
r460 #endif // SPLINECHARTITEM_P_H