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 artist albums query widget. More...
#include <musicartistquerywidget.h>
Public Slots | |
void | createArtistAlbumsItem (const MusicResultDataItem &item) |
void | currentItemClicked (const QString &id) |
void | buttonClicked (int index) |
![]() | |
void | downLoadFinished (const QByteArray &bytes) |
void | playAllButtonClicked () |
void | shareButtonClicked () |
void | playButtonClicked () |
void | downloadButtonClicked () |
void | addButtonClicked () |
Public Member Functions | |
MusicArtistAlbumsQueryWidget (QWidget *parent=nullptr) | |
~MusicArtistAlbumsQueryWidget () | |
virtual void | setCurrentValue (const QString &value) overridefinal |
virtual void | setCurrentID (const QString &id) overridefinal |
virtual void | resizeWidget () overridefinal |
![]() | |
MusicAbstractItemQueryWidget (QWidget *parent=nullptr) | |
~MusicAbstractItemQueryWidget () | |
![]() | |
virtual | ~TTKAbstractResizeInterface ()=default |
Private Attributes | |
bool | m_initialized |
QGridLayout * | m_gridLayout |
MusicPageQueryWidget * | m_pageQueryWidget |
Additional Inherited Members | |
![]() | |
virtual void | mousePressEvent (QMouseEvent *event) overridefinal |
virtual void | mouseMoveEvent (QMouseEvent *event) overridefinal |
virtual void | mouseReleaseEvent (QMouseEvent *event) overridefinal |
void | initFirstWidget () |
void | initSecondWidget () |
void | setSongCountText () |
![]() | |
QString | m_value |
QWidget * | m_mainWindow |
QPushButton * | m_songButton |
QLabel * | m_iconLabel |
QLabel * | m_statusLabel |
QLabel * | m_infoLabel |
QStackedWidget * | m_container |
MusicResultDataItem | m_currentPlaylistItem |
MusicItemQueryTableWidget * | m_queryTableWidget |
MusicAbstractQueryRequest * | m_networkRequest |
MusicSongSharingWidget::Module | m_shareType |
QList< TTKResizeWidget > | m_resizeWidgets |
The class of the artist albums query widget.
Definition at line 130 of file musicartistquerywidget.h.
|
explicit |
Object constructor.
Definition at line 188 of file musicartistquerywidget.cpp.
References MusicSongSharingWidget::Artist, createArtistAlbumsItem(), G_DOWNLOAD_QUERY_PTR, MusicAbstractItemQueryWidget::m_container, m_gridLayout, MusicAbstractItemQueryWidget::m_mainWindow, MusicAbstractItemQueryWidget::m_networkRequest, MusicAbstractItemQueryWidget::m_shareType, and MusicAbstractItemQueryWidget::m_statusLabel.
MusicArtistAlbumsQueryWidget::~MusicArtistAlbumsQueryWidget | ( | ) |
Object destructor.
Definition at line 208 of file musicartistquerywidget.cpp.
References m_gridLayout.
|
slot |
Page widget button has changed.
Definition at line 267 of file musicartistquerywidget.cpp.
References MusicPageQueryWidget::currentIndex(), m_gridLayout, MusicAbstractItemQueryWidget::m_networkRequest, m_pageQueryWidget, MusicAbstractItemQueryWidget::m_resizeWidgets, MusicPageQueryWidget::page(), MusicPageQueryRequest::pageTotalSize(), and MusicPageQueryRequest::startToPage().
Referenced by createArtistAlbumsItem().
|
slot |
Create the current albums item.
Definition at line 241 of file musicartistquerywidget.cpp.
References buttonClicked(), MusicPageQueryWidget::createPageWidget(), currentItemClicked(), LINE_SPACING_SIZE, m_gridLayout, m_initialized, MusicAbstractItemQueryWidget::m_mainWindow, MusicAbstractItemQueryWidget::m_networkRequest, m_pageQueryWidget, MusicAbstractItemQueryWidget::m_resizeWidgets, MusicPageQueryRequest::pageTotalSize(), QUERY_WIDGET_WIDTH, and MusicArtistAlbumsItemWidget::setResultDataItem().
Referenced by MusicArtistAlbumsQueryWidget().
|
slot |
Current item clicked.
Definition at line 262 of file musicartistquerywidget.cpp.
References MusicRightAreaWidget::albumSearchByID(), and MusicRightAreaWidget::instance().
Referenced by createArtistAlbumsItem().
|
finaloverridevirtual |
Resize widget bound by resize called.
Implements TTKAbstractResizeInterface.
Definition at line 224 of file musicartistquerywidget.cpp.
References LINE_SPACING_SIZE, m_gridLayout, MusicAbstractItemQueryWidget::m_resizeWidgets, qAsConst, and QUERY_WIDGET_WIDTH.
Referenced by MusicArtistQueryWidget::resizeWidget().
|
finaloverridevirtual |
Set current id to search founds.
Reimplemented from MusicAbstractItemQueryWidget.
Definition at line 219 of file musicartistquerywidget.cpp.
References setCurrentValue().
|
finaloverridevirtual |
Set current value to search founds.
Reimplemented from MusicAbstractItemQueryWidget.
Definition at line 213 of file musicartistquerywidget.cpp.
References MusicAbstractItemQueryWidget::m_networkRequest, MusicAbstractItemQueryWidget::setCurrentValue(), and MusicAbstractQueryRequest::startToSearch().
Referenced by setCurrentID(), and MusicArtistQueryWidget::setCurrentIndex().
|
private |
Definition at line 173 of file musicartistquerywidget.h.
Referenced by buttonClicked(), createArtistAlbumsItem(), MusicArtistAlbumsQueryWidget(), resizeWidget(), and ~MusicArtistAlbumsQueryWidget().
|
private |
Definition at line 172 of file musicartistquerywidget.h.
Referenced by createArtistAlbumsItem().
|
private |
Definition at line 174 of file musicartistquerywidget.h.
Referenced by buttonClicked(), and createArtistAlbumsItem().