TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
MusicWebDJRadioQueryItemWidget Class Reference

The class of the dj radio music item widget. More...

#include <musicwebdjradioquerywidget.h>

+ Inheritance diagram for MusicWebDJRadioQueryItemWidget:

Public Slots

void downLoadFinished (const QByteArray &bytes)
 
void renderFinished (const QPixmap &data)
 
void currentItemClicked ()
 

Signals

void currentItemClicked (const MusicResultDataItem &item)
 

Public Member Functions

 MusicWebDJRadioQueryItemWidget (QWidget *parent=nullptr)
 
 ~MusicWebDJRadioQueryItemWidget ()
 
void setResultDataItem (const MusicResultDataItem &item)
 

Private Attributes

MusicResultDataItem m_itemData
 
QPushButton * m_playButton
 
QLabel * m_iconLabel
 
QLabel * m_nameLabel
 
QLabel * m_creatorLabel
 

Detailed Description

The class of the dj radio music item widget.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 31 of file musicwebdjradioquerywidget.h.

Constructor & Destructor Documentation

MusicWebDJRadioQueryItemWidget::MusicWebDJRadioQueryItemWidget ( QWidget *  parent = nullptr)
explicit
MusicWebDJRadioQueryItemWidget::~MusicWebDJRadioQueryItemWidget ( )

Object destructor.

Definition at line 40 of file musicwebdjradioquerywidget.cpp.

References m_creatorLabel, m_iconLabel, m_nameLabel, and m_playButton.

Member Function Documentation

void MusicWebDJRadioQueryItemWidget::currentItemClicked ( const MusicResultDataItem item)
signal

Current item clicked.

void MusicWebDJRadioQueryItemWidget::currentItemClicked ( )
slot

Current item clicked.

Definition at line 84 of file musicwebdjradioquerywidget.cpp.

References m_itemData.

Referenced by MusicWebDJRadioQueryItemWidget().

void MusicWebDJRadioQueryItemWidget::downLoadFinished ( const QByteArray &  bytes)
slot
void MusicWebDJRadioQueryItemWidget::renderFinished ( const QPixmap &  data)
slot

Image render finished.

Definition at line 78 of file musicwebdjradioquerywidget.cpp.

References m_iconLabel, and m_playButton.

Referenced by downLoadFinished().

void MusicWebDJRadioQueryItemWidget::setResultDataItem ( const MusicResultDataItem item)

Member Data Documentation

QLabel * MusicWebDJRadioQueryItemWidget::m_creatorLabel
private
QLabel* MusicWebDJRadioQueryItemWidget::m_iconLabel
private
MusicResultDataItem MusicWebDJRadioQueryItemWidget::m_itemData
private

Definition at line 71 of file musicwebdjradioquerywidget.h.

Referenced by currentItemClicked(), and setResultDataItem().

QLabel * MusicWebDJRadioQueryItemWidget::m_nameLabel
private
QPushButton* MusicWebDJRadioQueryItemWidget::m_playButton
private

The documentation for this class was generated from the following files: