1 #ifndef MUSICPREVIEWLABEL_H
2 #define MUSICPREVIEWLABEL_H
39 void setColors(
const QList<QColor> &colors);
43 QList<QColor> colors()
const noexcept;
53 virtual void paintEvent(QPaintEvent *event)
override final;
91 void setLinearGradient(
const QList<QColor> &front,
const QList<QColor> &back);
101 virtual void paintEvent(QPaintEvent *event)
override final;
110 #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
QList< QColor > m_gradientColors
QLinearGradient m_linearGradient
void setTransparent(int trans) noexcept