TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the lrc search widget. More...
#include <musiclrcsearchwidget.h>
Public Slots | |
void | lrcSearchFinished () const |
void | lrcSearchButtonClicked () const |
void | lrcSearchDownloadClicked () |
void | lrcDownloadStateChanged (const QString &string) |
void | setCurrentSongName (const QString &name) const |
![]() | |
void | backgroundChanged () |
virtual int | exec () |
void | show () |
Public Member Functions | |
MusicLrcSearchWidget (QWidget *parent=nullptr) | |
~MusicLrcSearchWidget () | |
![]() | |
MusicAbstractMoveDialog (QWidget *parent=nullptr) | |
MusicAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveDialog () | |
![]() | |
TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (bool block) |
Private Attributes | |
Ui::MusicLrcSearchWidget * | m_ui |
Additional Inherited Members | |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
The class of the lrc search widget.
Definition at line 31 of file musiclrcsearchwidget.h.
|
explicit |
Object constructor.
Definition at line 6 of file musiclrcsearchwidget.cpp.
References TTK::UI::BackgroundStyle09, TTK::UI::CheckBoxStyle01, TTK::UI::ColorStyle03, TTK::UI::LineEditStyle01, lrcDownloadStateChanged(), lrcSearchButtonClicked(), lrcSearchDownloadClicked(), lrcSearchFinished(), m_ui, TTK::UI::PushButtonStyle04, MusicWidgetRenderer::setBackgroundLabel(), setCurrentSongName(), and TTK::UI::ToolButtonStyle04.
MusicLrcSearchWidget::~MusicLrcSearchWidget | ( | ) |
|
slot |
Lrc download state is finished.
Definition at line 96 of file musiclrcsearchwidget.cpp.
References DOWNLOAD_KEY_LRC, and m_ui.
Referenced by MusicLrcSearchWidget().
|
slot |
Lrc search button clicked.
Definition at line 70 of file musiclrcsearchwidget.cpp.
References TTK::Widget::elidedText(), and m_ui.
Referenced by MusicLrcSearchWidget(), and setCurrentSongName().
|
slot |
Lrc search download clicked.
Definition at line 78 of file musiclrcsearchwidget.cpp.
References m_ui, MusicToastLabel::popup(), and qAsConst.
Referenced by MusicLrcSearchWidget().
|
slot |
Set lrc search finished.
Definition at line 65 of file musiclrcsearchwidget.cpp.
References m_ui.
Referenced by MusicLrcSearchWidget(), and setCurrentSongName().
|
slot |
Set current song name.
Definition at line 53 of file musiclrcsearchwidget.cpp.
References lrcSearchButtonClicked(), lrcSearchFinished(), and m_ui.
Referenced by MusicLrcSearchWidget(), and MusicLrcContainer::searchMusicLrcs().
|
private |
Definition at line 68 of file musiclrcsearchwidget.h.
Referenced by lrcDownloadStateChanged(), lrcSearchButtonClicked(), lrcSearchDownloadClicked(), lrcSearchFinished(), MusicLrcSearchWidget(), setCurrentSongName(), and ~MusicLrcSearchWidget().