1 #ifndef MUSICLRCCCONTAINERFORINTERIOR_H
2 #define MUSICLRCCCONTAINERFORINTERIOR_H
64 void updateCurrentLrc(qint64 time);
76 qint64 setSongTimeSpeed(qint64 time);
80 void initFunctionLabel();
98 void setLrcSize(
int size);
102 int lrcSize()
const noexcept;
111 void createFloatPlayWidget();
115 void lrcWidgetShowFullScreen();
121 void backgroundChanged();
125 void updateCurrentTime(qint64 time);
131 void lrcSizeChanged(QAction *action);
135 void lrcTimeSpeedChanged(QAction *action);
139 void revertLrcTimeSpeed();
143 void saveLrcTimeChanged();
147 void artistBackgroundChanged();
151 void lrcOpenFileDir()
const;
155 void lrcCopyClipboard() const;
159 void showLocalLinkWidget();
163 void showSongCommentsWidget();
167 void showLrcPosterWidget();
173 void queryTranslatedLrcFinished(const QString &bytes);
177 void showSongMovieClicked();
181 void updateAnimationLrc();
185 void translatedLrcData();
191 virtual
void contextMenuEvent(QContextMenuEvent *event) override final;
192 virtual
void mousePressEvent(QMouseEvent *event) override final;
193 virtual
void mouseMoveEvent(QMouseEvent *event) override final;
194 virtual
void mouseReleaseEvent(QMouseEvent *event) override final;
195 virtual
void mouseDoubleClickEvent(QMouseEvent *event) override final;
196 virtual
void paintEvent(QPaintEvent *event) override final;
197 virtual
void resizeEvent(QResizeEvent *event) override final;
201 void createColorMenu(QMenu *menu);
205 void revertTimeSpeed(qint64 pos);
209 void createNoLrcCurrentInfo();
213 void showNoLrcCurrentInfo();
217 void initCurrentLrc(const QString &str);
221 void setItemStyleSheet();
225 void setItemStyleSheet(
int index,
int size,
int transparent);
229 int mapLrcSizeProperty(
int size);
233 void setLrcSizeProperty(
int property);
237 void resizeWidth(
int w,
int h);
239 QPoint m_mousePressedAt;
240 int m_lrcChangeOffset, m_lrcChangeDelta;
241 bool m_mouseLeftPressed, m_lrcChangeState, m_mouseMoved;
243 bool m_lrcDisplayAll, m_showArtistBackground;
244 int m_animationFreshTime, m_lrcSizeProperty;
246 qint64 m_changeSpeedValue;
247 QWidget *m_functionLabel;
257 #endif // MUSICLRCCCONTAINERFORINTERIOR_H
The class of the interior lrc container.
#define TTK_MODULE_EXPORT
bool isShowArtistBackground() const noexcept
void setLrcDisplayExpand(bool expand) noexcept
The class of the label widget that can click.
The class of the lrc container base.
virtual void stopDrawLrc()=0
virtual void applyParameter()
#define TTK_DECLARE_MODULE(Class)
bool lrcDisplayExpand() const noexcept
virtual void startDrawLrc()=0