1 #ifndef MUSICLRCMANAGER_H
2 #define MUSICLRCMANAGER_H
24 #include <QMouseEvent>
63 MusicLrcColor(
const QList<QColor> &front,
const QList<QColor> &back, Color index = Color::Null);
117 void startDrawLrcMask(qint64 intervaltime);
126 void setFontFamily(
int index);
130 void setFontType(
int type);
148 void setSelfPosition(
int x,
int y);
152 void setSelfPosition(
const QPoint &point);
179 void setLrcFontSize(
int size);
193 void setText(
const QString &str);
206 #endif // MUSICLRCMANAGER_H
#define TTK_MODULE_EXPORT
The class of the lrc manager base.
The class of the lrc color.
static constexpr int LRC_PER_TIME
MusicLrcColor::Color m_index
float m_lrcMaskWidthInterval
QString writeColorConfig(const QList< QColor > &colors)
static constexpr int LRC_COLOR_OFFSET
QList< QColor > m_backColor
QLinearGradient m_maskLinearGradient
void setSpeedLevel(int l)
The namespace of the process utils.
#define TTK_DECLARE_MODULE(Class)
MusicLrcColor mapIndexToColor(MusicLrcColor::Color index)
QList< QColor > m_frontColor
QList< QColor > readColorConfig(const QString &value)
void setFontTransparent(int t)