##// END OF EJS Templates
Minor fix
Minor fix

File last commit:

r423:b60b8b7d9d8b
r428:acd7ae840ecc
Show More
splinepresenter_p.h
33 lines | 672 B | text/x-c | CLexer
Marek Rosa
Spline initial
r295 #ifndef SPLINEPRESENTER_P_H
#define SPLINEPRESENTER_P_H
#include "chartitem_p.h"
#include <QObject>
Marek Rosa
Spline working somewhat
r401 #include "qsplineseries.h"
Marek Rosa
Experimenting
r417 #include "linechartitem_p.h"
Marek Rosa
Spline initial
r295
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Marek Rosa
Experimenting
r417 class SplinePresenter : public LineChartItem
Marek Rosa
Spline initial
r295 {
Q_OBJECT
public:
Marek Rosa
Spline working somewhat
r401 SplinePresenter(QSplineSeries* series, QGraphicsObject *parent = 0);
Marek Rosa
Spline initial
r295
Marek Rosa
Experimenting
r417 void updateGeometry();
Marek Rosa
Spline with problems
r419 void applyGeometry(QVector<QPointF>& points);
QPointF calculateGeometryControlPoint(int index) const;
Marek Rosa
Spline somewhat working
r423 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
Marek Rosa
Spline initial
r295
signals:
public slots:
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // SPLINEPRESENTER_P_H