##// END OF EJS Templates
Named all series in example applications
Named all series in example applications

File last commit:

r1217:b0870dfe6522
r1226:bae2376cbfec
Show More
chartanimator_p.h
76 lines | 2.3 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
** Copyright (C) 2012 Digia Plc
** 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$
**
****************************************************************************/
Michal Klocek
Fixes header guard style issues
r969 #ifndef CHARTANIMATOR_P_H
#define CHARTANIMATOR_P_H
Michal Klocek
Animation refactor...
r530 #include "qchartglobal.h"
#include "chartanimation_p.h"
Jani Honkonen
Add animations to pie. Works but has some visual issues when adding slices.
r618 #include "piechartitem_p.h"
sauimone
Animation framework for barchart.
r671 #include "barchartitem_p.h"
Michal Klocek
Adds scroll support...
r531 #include <QPointF>
Michal Klocek
Animation refactor...
r530
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartItem;
Michal Klocek
Changes QChartAxis -> QAxis
r1006 class ChartAxis;
Michal Klocek
Adds area chart animations...
r560 class AreaChartItem;
Michal Klocek
Improves spline interpolation...
r622 class SplineChartItem;
class ScatterChartItem;
class LineChartItem;
class XYChartItem;
Michal Klocek
Refactors animation handling for xyseries
r1217 class XYAnimation;
Michal Klocek
Animation refactor...
r530
Michal Klocek
Krazy reported errors...
r974 class ChartAnimator : public QObject
{
Q_OBJECT
Michal Klocek
Animation refactor...
r530 public:
Marek Rosa
Animation folder formating: white spaces, brackets, etc fixed
r738 enum State{ShowState, ScrollUpState, ScrollDownState, ScrollLeftState, ScrollRightState, ZoomInState, ZoomOutState};
Michal Klocek
Refactors chartitem...
r677
Michal Klocek
Animation refactor...
r530 ChartAnimator(QObject *parent = 0);
virtual ~ChartAnimator();
Michal Klocek
Changes QChartAxis -> QAxis
r1006 void addAnimation(ChartAxis *item);
Marek Rosa
Animation folder formating: white spaces, brackets, etc fixed
r738 void addAnimation(PieChartItem *item);
void addAnimation(BarChartItem *item);
void removeAnimation(Chart *item);
Michal Klocek
Animation refactor...
r530
void animationStarted();
Michal Klocek
Changes QChartAxis -> QAxis
r1006 void updateLayout(ChartAxis *item, QVector<qreal> &layout);
Michal Klocek
Animation refactor...
r530
Jani Honkonen
Refactor piechart to avoid using invalid QPieSlice pointers....
r1053 void addAnimation(PieChartItem *item, PieSliceItem *sliceItem, const PieSliceData &sliceData, bool isEmpty);
void removeAnimation(PieChartItem *item, PieSliceItem *sliceItem);
Jani Honkonen
Refactor graphical side of pie to simplify the implementation.
r1074 void updateAnimation(PieChartItem *item, PieSliceItem *sliceItem, const PieSliceData &sliceData);
Jani Honkonen
Add animations to pie. Works but has some visual issues when adding slices.
r618
Marek Rosa
Animation folder formating: white spaces, brackets, etc fixed
r738 void updateLayout(BarChartItem *item, const QVector<QRectF> &oldLayout, const QVector<QRectF> &newLayout);
sauimone
Animation framework for barchart.
r671
Marek Rosa
Animation folder formating: white spaces, brackets, etc fixed
r738 void setState(State state,const QPointF &point = QPointF());
Michal Klocek
Adds scroll support...
r531
Michal Klocek
Refactors animation handling for xyseries
r1217 void startAnimation(XYAnimation* animation);
Michal Klocek
Animation refactor...
r530 private:
Marek Rosa
Animation folder formating: white spaces, brackets, etc fixed
r738 QMap<Chart *, ChartAnimation *> m_animations;
Michal Klocek
Adds scroll support...
r531 State m_state;
QPointF m_point;
Michal Klocek
Animation refactor...
r530 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif