1 #ifndef MUSICTRANSITIONANIMATIONLABEL_H
2 #define MUSICTRANSITIONANIMATIONLABEL_H
25 class QPropertyAnimation;
62 inline void setAnimation(
bool enable) { m_animationEnabled = enable; }
66 inline bool animation()
const {
return m_animationEnabled; }
71 const QPixmap& renderPixmap()
const;
85 bool isRunning()
const;
91 void setPixmap(
const QPixmap &pix);
97 void valueChanged(
const QVariant &value);
101 void animationFinished();
107 virtual void paintEvent(QPaintEvent *event)
override final;
120 #endif // MUSICTRANSITIONANIMATIONLABEL_H
#define TTK_MODULE_EXPORT
void setAnimation(bool enable)
The class of the image render.
QPropertyAnimation * m_animation
The namespace of the algorithm.
The class of the label transition animation.
#define TTK_DECLARE_MODULE(Class)
QAlgorithm::ImageRender * m_imageRender