TTKMusicPlayer
3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the music dj radio category widget. More...
#include <musicwebdjradiocategorywidget.h>
Public Slots | |
void | createCategoryItems () |
Signals | |
void | currentCategoryClicked (const MusicResultDataItem &item) |
Public Member Functions | |
MusicWebDJRadioCategoryWidget (QWidget *parent=nullptr) | |
~MusicWebDJRadioCategoryWidget () | |
void | initialize () |
void | resizeWindow () |
Private Attributes | |
QGridLayout * | m_gridLayout |
QWidgetList | m_resizeWidgets |
MusicDJRadioCategoryRequest * | m_networkRequest |
The class of the music dj radio category widget.
Definition at line 76 of file musicwebdjradiocategorywidget.h.
|
explicit |
Object constructor.
Definition at line 70 of file musicwebdjradiocategorywidget.cpp.
References createCategoryItems(), TTK::Widget::generateVScrollAreaFormat(), m_gridLayout, and m_networkRequest.
MusicWebDJRadioCategoryWidget::~MusicWebDJRadioCategoryWidget | ( | ) |
Object destructor.
Definition at line 92 of file musicwebdjradiocategorywidget.cpp.
References m_gridLayout, and m_networkRequest.
|
slot |
Query all quality musics is finished.
Definition at line 120 of file musicwebdjradiocategorywidget.cpp.
References currentCategoryClicked(), MusicAbstractDJRadioRequest::items(), LINE_SPACING_SIZE, m_gridLayout, m_networkRequest, m_resizeWidgets, QUERY_WIDGET_WIDTH, and MusicWebDJRadioCategoryItemWidget::setResultDataItem().
Referenced by MusicWebDJRadioCategoryWidget().
|
signal |
Current category clicked.
Referenced by createCategoryItems().
void MusicWebDJRadioCategoryWidget::initialize | ( | ) |
Init parameters.
Definition at line 98 of file musicwebdjradiocategorywidget.cpp.
References m_networkRequest, and MusicDJRadioCategoryRequest::startToRequest().
Referenced by MusicWebDJRadioWidget::initialize().
void MusicWebDJRadioCategoryWidget::resizeWindow | ( | ) |
Resize window bound by resize called.
Definition at line 103 of file musicwebdjradiocategorywidget.cpp.
References LINE_SPACING_SIZE, m_gridLayout, m_resizeWidgets, qAsConst, and QUERY_WIDGET_WIDTH.
Referenced by MusicWebDJRadioWidget::resizeWidget().
|
private |
Definition at line 112 of file musicwebdjradiocategorywidget.h.
Referenced by createCategoryItems(), MusicWebDJRadioCategoryWidget(), resizeWindow(), and ~MusicWebDJRadioCategoryWidget().
|
private |
Definition at line 114 of file musicwebdjradiocategorywidget.h.
Referenced by createCategoryItems(), initialize(), MusicWebDJRadioCategoryWidget(), and ~MusicWebDJRadioCategoryWidget().
|
private |
Definition at line 113 of file musicwebdjradiocategorywidget.h.
Referenced by createCategoryItems(), and resizeWindow().