##// END OF EJS Templates
Adaptive layout to legend. Tries to fit all items inside given maximum size
Adaptive layout to legend. Tries to fit all items inside given maximum size

File last commit:

r530:d482058261e4
r626:b05202e4f2ef
Show More
axisanimation_p.h
26 lines | 532 B | text/x-c | CLexer
Michal Klocek
Animation refactor...
r530 #ifndef AXISANIMATIONITEM_H_
#define AXISANIMATIONITEM_H_
#include "axisitem_p.h"
#include "chartanimation_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class AxisAnimation: public ChartAnimation
{
public:
AxisAnimation(AxisItem *axis);
~AxisAnimation();
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_ */