1 #ifndef MUSICLRCMANAGER_H
2 #define MUSICLRCMANAGER_H
24 #include <QMouseEvent>
65 QList<QColor> m_frontColor;
66 QList<QColor> m_backColor;
117 void startDrawLrcMask(qint64 intervaltime);
126 void setFontFamily(
int index);
130 void setFontType(
int type);
148 void setSelfPosition(
int x,
int y) noexcept;
152 void setSelfPosition(
const QPoint &point) noexcept;
157 int x()
const noexcept;
161 int y()
const noexcept;
165 void setX(
int x) noexcept;
169 void setY(
int y) noexcept;
179 void setLrcFontSize(
int size);
183 inline
int lrcFontSize()
const noexcept {
return m_font.pointSize(); }
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.
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.
#define TTK_DECLARE_MODULE(Class)
void setSpeedLevel(int l) noexcept
MusicLrcColor mapIndexToColor(MusicLrcColor::Color index)
QList< QColor > readColorConfig(const QString &value)