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 batch download widget. More...
#include <musiclrcdownloadbatchwidget.h>
Public Slots | |
void | addButtonClicked () |
void | downloadButtonClicked () |
![]() | |
void | backgroundChanged () |
void | show () |
Public Member Functions | |
MusicLrcDownloadBatchWidget (QWidget *parent=nullptr) | |
~MusicLrcDownloadBatchWidget () | |
![]() | |
MusicAbstractMoveWidget (QWidget *parent=nullptr) | |
MusicAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveWidget () | |
![]() | |
TTKAbstractMoveWidget (QWidget *parent=nullptr) | |
TTKAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (bool block) |
Private Attributes | |
Ui::MusicLrcDownloadBatchWidget * | m_ui |
MusicSongList | m_localSongs |
Additional Inherited Members | |
![]() | |
virtual void | paintEvent (QPaintEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
![]() | |
QPoint | m_mousePressedAt |
bool | m_blockOption |
bool | m_shadowOption |
bool | m_mouseLeftPressed |
The class of the lrc batch download widget.
Definition at line 55 of file musiclrcdownloadbatchwidget.h.
|
explicit |
Object constructor.
Definition at line 65 of file musiclrcdownloadbatchwidget.cpp.
References addButtonClicked(), TTK::UI::CheckBoxStyle01, downloadButtonClicked(), m_ui, TTK::UI::PushButtonStyle04, TTK::UI::RadioButtonStyle01, MusicWidgetRenderer::setBackgroundLabel(), and TTK::UI::ToolButtonStyle04.
MusicLrcDownloadBatchWidget::~MusicLrcDownloadBatchWidget | ( | ) |
Object destructor.
Definition at line 100 of file musiclrcdownloadbatchwidget.cpp.
References m_ui, and TTKRemoveSingleWidget.
|
slot |
Add button clicked.
Definition at line 106 of file musiclrcdownloadbatchwidget.cpp.
References m_localSongs, and m_ui.
Referenced by MusicLrcDownloadBatchWidget().
|
slot |
Download button clicked.
Definition at line 112 of file musiclrcdownloadbatchwidget.cpp.
References TTK::UI::Color02, TTKSemaphoreLoop::exec(), G_DOWNLOAD_QUERY_PTR, MusicAbstractQueryRequest::isEmpty(), MusicAbstractQueryRequest::items(), LRC_FILE, TTK::String::lrcDirPrefix(), m_localSongs, TTK::MusicSongInformation::m_lrcUrl, m_ui, MusicAbstractQueryRequest::Meta, MusicSong::name(), MusicSong::path(), MusicAbstractQueryRequest::setQueryMode(), MusicAbstractDownLoadRequest::startToRequest(), MusicAbstractQueryRequest::startToSearch(), and TTK_SEPARATOR.
Referenced by MusicLrcDownloadBatchWidget().
|
private |
Definition at line 81 of file musiclrcdownloadbatchwidget.h.
Referenced by addButtonClicked(), and downloadButtonClicked().
|
private |
Definition at line 80 of file musiclrcdownloadbatchwidget.h.
Referenced by addButtonClicked(), downloadButtonClicked(), MusicLrcDownloadBatchWidget(), and ~MusicLrcDownloadBatchWidget().