10 m_animationFreshTime(0)
12 QVBoxLayout *vBoxLayout =
new QVBoxLayout(
this);
13 vBoxLayout->setContentsMargins(0, 0, 0, 0);
14 vBoxLayout->setSpacing(0);
15 setLayout(vBoxLayout);
22 bBoxLayout->setContentsMargins(0, 0, 0, 0);
23 bBoxLayout->setSpacing(0);
36 SetParent((HWND)winId(),
m_wallThread->findDesktopIconWnd());
66 w->setFixedHeight(35 + 36);
75 else if(i == 1 || i == 9)
79 else if(i == 2 || i == 8)
83 else if(i == 3 || i == 7)
87 else if(i == 4 || i == 6)
132 m_lrcManagers[MUSIC_LRC_INTERIOR_MAX_LINE / 2]->setText(text);
MusicLrcContainerForWallpaper(QWidget *parent=nullptr)
void updateBackground(const QPixmap &pix)
#define TTKStaticCast(x, y)
The class of the lrc manager base.
MusicLrcAnalysis * m_lrcAnalysis
void start(bool immediate)
void setPixmap(const QPixmap &pix)
void setLrcPerWidth(int width)
void changeCurrentLrcColor()
~MusicLrcContainerForWallpaper()
void setLrcAnalysisModel(MusicLrcAnalysis *analysis)
The class of the lrc container base.
The class of the desktop wallpaper thread.
MusicDesktopWallpaperThread * m_wallThread
The class of the label transition animation.
void setFontSize(int size)
The class of the core lrc analysis.
The class of the interior lrc manager.
static constexpr int LRC_PER_WIDTH
QString text(int index) const
void setLrcFontSize(int size)
MusicVLayoutAnimationWidget * m_layoutWidget
static constexpr const char * LRC_WALLPAPER_TPYE
MusicTransitionAnimationLabel * m_background
void setTransparent(int tran)
static constexpr int MUSIC_LRC_INTERIOR_MAX_LINE
void setImagePath(const QStringList &list)
void clearAllMusicLRCManager()
void setItemStyleSheet(int index, int size, int transparent)
virtual void startDrawLrc() overridefinal
virtual void applyParameter() overridefinal
void setLrcAnalysisModel(MusicLrcAnalysis *analysis)
QList< MusicLrcManager * > m_lrcManagers
void initCurrentLrc(const QString &str)
void setLinearGradientColor(MusicLrcColor::Color color)
QList< QColor > readColorConfig(const QString &value)
virtual void stopDrawLrc() overridefinal
void updateAnimationLrc()
void setFontTransparent(int t)
void updateCurrentLrc(qint64 time)
#define TTKObjectCast(x, y)