1 #ifndef MUSICANIMATIONSTACKEDWIDGET_H
2 #define MUSICANIMATIONSTACKEDWIDGET_H
22 #include <QStackedWidget>
23 #include <QPropertyAnimation>
54 void start(
int index);
58 void setIndex(
int previous,
int current);
62 void setLength(
int length, Module type);
66 int previousIndex()
const;
70 int currentIndex()
const;
75 void setDuration(
int duration);
85 void valueChanged(
const QVariant &value);
89 void animationFinished();
95 virtual void paintEvent(QPaintEvent *event)
override final;
99 void renderPreviousWidget(QPainter *painter);
103 void renderCurrentWidget(QPainter *painter);
113 #endif // MUSICANIMATIONSTACKEDWIDGET_H
#define TTK_MODULE_EXPORT
#define TTK_DECLARE_MODULE(Class)