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
MusicWebDJRadioCategoryItemWidget Class Reference

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

#include <musicwebdjradiocategorywidget.h>

+ Inheritance diagram for MusicWebDJRadioCategoryItemWidget:

Public Slots

void downLoadFinished (const QByteArray &bytes)
 
void currentItemClicked ()
 

Signals

void currentItemClicked (const MusicResultDataItem &item)
 
- Signals inherited from TTKClickedLabel
void clicked ()
 

Public Member Functions

 MusicWebDJRadioCategoryItemWidget (QWidget *parent=nullptr)
 
 ~MusicWebDJRadioCategoryItemWidget ()
 
void setResultDataItem (const MusicResultDataItem &item)
 
- Public Member Functions inherited from TTKClickedLabel
 TTKClickedLabel (QWidget *parent=nullptr)
 
 TTKClickedLabel (const QString &text, QWidget *parent=nullptr)
 

Private Attributes

QLabel * m_iconLabel
 
QLabel * m_nameLabel
 
MusicResultDataItem m_itemData
 

Detailed Description

The class of the music dj radio category item widget.

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

Definition at line 31 of file musicwebdjradiocategorywidget.h.

Constructor & Destructor Documentation

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

Object destructor.

Definition at line 27 of file musicwebdjradiocategorywidget.cpp.

References m_iconLabel, and m_nameLabel.

Member Function Documentation

void MusicWebDJRadioCategoryItemWidget::currentItemClicked ( const MusicResultDataItem item)
signal

Current item clicked.

void MusicWebDJRadioCategoryItemWidget::currentItemClicked ( )
slot

Current item clicked.

Definition at line 63 of file musicwebdjradiocategorywidget.cpp.

References m_itemData.

Referenced by MusicWebDJRadioCategoryItemWidget().

void MusicWebDJRadioCategoryItemWidget::downLoadFinished ( const QByteArray &  bytes)
slot

Send recieved data from net.

Definition at line 47 of file musicwebdjradiocategorywidget.cpp.

References m_iconLabel, TTK_ERROR_STREAM, and WIDTH_LABEL_SIZE.

Referenced by setResultDataItem().

void MusicWebDJRadioCategoryItemWidget::setResultDataItem ( const MusicResultDataItem item)

Member Data Documentation

QLabel* MusicWebDJRadioCategoryItemWidget::m_iconLabel
private
MusicResultDataItem MusicWebDJRadioCategoryItemWidget::m_itemData
private

Definition at line 68 of file musicwebdjradiocategorywidget.h.

Referenced by currentItemClicked(), and setResultDataItem().

QLabel * MusicWebDJRadioCategoryItemWidget::m_nameLabel
private

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