##// END OF EJS Templates
Documented couple of missing parameters in QPieSeries
Documented couple of missing parameters in QPieSeries

File last commit:

r303:281730f0b1cb
r347:7cfd1fcf5481
Show More
axisanimationitem_p.h
44 lines | 889 B | text/x-c | CLexer
/ src / axisanimationitem_p.h
Michal Klocek
Refactors axis layout managment...
r291 #ifndef AXISANIMATIONITEM_H_
#define AXISANIMATIONITEM_H_
#include "domain_p.h"
#include "axisitem_p.h"
#include <QGraphicsItem>
#include <QVariantAnimation>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QChartAxis;
class AxisAnimationItem : public AxisItem
{
Q_OBJECT
public:
AxisAnimationItem(AxisType type = X_AXIS,QGraphicsItem* parent = 0);
~AxisAnimationItem();
void setLabelsAngle(int angle);
protected:
void updateItems(QVector<qreal>& vector);
};
class AxisAnimator: public QVariantAnimation
{
public:
Michal Klocek
Bugfix missing parent intialization in axis animations
r303 AxisAnimator(AxisItem *axis,QObject *parent = 0);
Michal Klocek
Refactors axis layout managment...
r291 virtual ~AxisAnimator();
protected:
virtual QVariant interpolated (const QVariant & from, const QVariant & to, qreal progress ) const;
virtual void updateCurrentValue (const QVariant & value );
private:
AxisItem* m_axis;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* AXISITEM_H_ */