##// END OF EJS Templates
Fix compilation error...
Fix compilation error Change-Id: I6f83baa0916ebb822030f1028c25aa77858e4a06 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2483:f494279b6366
r2485:b0caebd0eecc
Show More
splinechartitem_p.h
89 lines | 2.6 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Miikka Heikkinen
Fixed the copyright year 2012 -> 2013
r2432 ** Copyright (C) 2013 Digia Plc
Jani Honkonen
Add license headers
r794 ** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com
**
** This file is part of the Qt Commercial Charts Add-on.
**
** $QT_BEGIN_LICENSE$
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.
**
** If you have questions regarding the use of this file, please use
** contact form at http://qt.digia.com
** $QT_END_LICENSE$
**
****************************************************************************/
unknown
Added missing warning about private implementation
r1366 // W A R N I N G
// -------------
//
// This file is not part of the QtCommercial Chart API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
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 xychartitem -> xychart
r1218 #include "xychart_p.h"
Michal Klocek
Improves spline interpolation...
r622
Marek Rosa
Spline initial
r295 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor animator...
r1735 class SplineAnimation;
Michal Klocek
Refactors internals...
r2273 class SplineChartItem : public XYChart
Marek Rosa
Spline initial
r295 {
Q_OBJECT
Michal Klocek
Refactor xychartitem -> xychart
r1218 Q_INTERFACES(QGraphicsItem)
Marek Rosa
Spline initial
r295 public:
Miikka Heikkinen
Add Polar chart support...
r2483 SplineChartItem(QSplineSeries *series, QGraphicsItem *item = 0);
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
Refactors animation handling for xyseries
r1217 void setControlGeometryPoints(QVector<QPointF>& points);
QVector<QPointF> controlGeometryPoints() const;
Jani Honkonen
more coding style fixes for src-folder...
r2104 void setAnimation(SplineAnimation *animation);
ChartAnimation *animation() const;
Michal Klocek
Refactors animation handling for xyseries
r1217
sauimone
Q_SIGNALS and Q_SLOTS
r775 public Q_SLOTS:
Michal Klocek
Refactor animation to fit line,spline,scatter...
r476 void handleUpdated();
Michal Klocek
Refactor line spline to common xyline...
r465 protected:
Michal Klocek
Refactors animation handling for xyseries
r1217 void updateGeometry();
Marek Rosa
QSplineSeries calculateControlPoints moved to splinechartitem. This way we don't need to deal with controlPoints on logaritmic scale
r2372 QVector<QPointF> calculateControlPoints(const QVector<QPointF> &points);
QVector<qreal> firstControlPoints(const QVector<qreal>& vector);
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 void updateChart(QVector<QPointF> &oldPoints, QVector<QPointF> &newPoints, int index);
Michal Klocek
Refactor xychartitem -> xychart
r1218 void mousePressEvent(QGraphicsSceneMouseEvent *event);
Marek Rosa
Added hover support to splinechart and updated callout example
r2256 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
Marek Rosa
Spline with problems
r419
Michal Klocek
Refactor line spline to common xyline...
r465 private:
Marek Rosa
tablemodelchart moved to test folder
r961 QSplineSeries *m_series;
Michal Klocek
Refactor line spline to common xyline...
r465 QPainterPath m_path;
Miikka Heikkinen
Add Polar chart support...
r2483 QPainterPath m_pathPolarRight;
QPainterPath m_pathPolarLeft;
QPainterPath m_fullPath;
Michal Klocek
Refactor line spline to common xyline...
r465 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;
Miikka Heikkinen
Add Polar chart support...
r2483 QVector<QPointF> m_visiblePoints;
Jani Honkonen
more coding style fixes for src-folder...
r2104 SplineAnimation *m_animation;
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