1 #ifndef MUSICLRCMANAGER_H
2 #define MUSICLRCMANAGER_H
24 #include <QMouseEvent>
65 QList<QColor> m_frontColor;
66 QList<QColor> m_backColor;
112 void start(qint64 time = 0);
121 void setFontFamily(
int index);
125 void setFontType(
int type);
143 void setSelfPosition(
int x,
int y) noexcept;
147 void setSelfPosition(
const QPoint &point) noexcept;
152 int x()
const noexcept;
156 int y()
const noexcept;
160 void setX(
int x) noexcept;
164 void setY(
int y) noexcept;
174 void setLrcFontSize(
int size);
178 inline
int lrcFontSize()
const noexcept {
return m_font.pointSize(); }
188 void setText(
const QString &str);
201 #endif // MUSICLRCMANAGER_H
#define TTK_MODULE_EXPORT
The class of the lrc manager base.
The class of the lrc color.
void setFontTransparent(int t) noexcept
static constexpr int LRC_PER_TIME
float m_lrcMaskWidthInterval
QString writeColorConfig(const QList< QColor > &colors)
static constexpr int LRC_COLOR_OFFSET
QLinearGradient m_maskLinearGradient
The namespace of the application object.
void setSpeedLevel(int l) noexcept
MusicLrcColor mapIndexToColor(MusicLrcColor::Color index)
QList< QColor > readColorConfig(const QString &value)