1 #ifndef MUSICPREVIEWLABEL_H
2 #define MUSICPREVIEWLABEL_H
40 void setColors(
const QList<QColor> &colors);
44 QList<QColor> colors()
const;
54 virtual void paintEvent(QPaintEvent *event)
override final;
93 void setLinearGradient(
const QList<QColor> &front,
const QList<QColor> &back);
103 virtual void paintEvent(QPaintEvent *event)
override final;
112 #endif // MUSICPREVIEWLABEL_H
#define TTK_MODULE_EXPORT
QList< QColor > m_background
The class of the label previewed.
QLinearGradient m_maskLinearGradient
The class of the lrc color preview label.
The class of the lrc setting preview label.
The class of the label widget that can click.
QList< QColor > m_frontground
QLinearGradient m_linearGradient
#define TTK_DECLARE_MODULE(Class)
QList< QColor > m_gradientColors
QLinearGradient m_linearGradient
void setTransparent(int trans)