##// END OF EJS Templates
Do not add tests to subdirs if it doesn't exist....
Do not add tests to subdirs if it doesn't exist. Facilitates release package creation - no need to edit charts.pro manually when creating the package anymore. Change-Id: I25ec7d762f465d93591ac77320c10a1e3ff6d761 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2574:599370d0561c
r2622:f115d51b86d8
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
**
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** This file is part of the Qt Enterprise Charts Add-on.
Jani Honkonen
Add license headers
r794 **
** $QT_BEGIN_LICENSE$
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** Licensees holding valid Qt Enterprise licenses may use this file in
** accordance with the Qt Enterprise License Agreement provided with the
Jani Honkonen
Add license headers
r794 ** 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
// -------------
//
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 // This file is not part of the Qt Enterprise Chart API. It exists purely as an
unknown
Added missing warning about private implementation
r1366 // 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