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 Member Functions | Private Attributes | List of all members
MusicWebMVRadioQueryItemWidget Class Reference

The class of the music mv query item widget. More...

#include <musicwebmvradioquerywidget.h>

+ Inheritance diagram for MusicWebMVRadioQueryItemWidget:

Public Slots

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

Signals

void currentItemClicked (const MusicResultDataItem &item)
 

Public Member Functions

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

Private Member Functions

virtual void enterEvent (QtEnterEvent *event) overridefinal
 
virtual void leaveEvent (QEvent *event) overridefinal
 

Private Attributes

MusicResultDataItem m_itemData
 
QPushButton * m_playButton
 
QLabel * m_iconLabel
 
QLabel * m_nameLabel
 

Detailed Description

The class of the music mv query item widget.

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

Definition at line 31 of file musicwebmvradioquerywidget.h.

Constructor & Destructor Documentation

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

Object destructor.

Definition at line 38 of file musicwebmvradioquerywidget.cpp.

References m_iconLabel, m_nameLabel, and m_playButton.

Member Function Documentation

void MusicWebMVRadioQueryItemWidget::currentItemClicked ( const MusicResultDataItem item)
signal

Current item clicked.

void MusicWebMVRadioQueryItemWidget::currentItemClicked ( )
slot

Current item clicked.

Definition at line 81 of file musicwebmvradioquerywidget.cpp.

References m_itemData.

Referenced by MusicWebMVRadioQueryItemWidget().

void MusicWebMVRadioQueryItemWidget::downLoadFinished ( const QByteArray &  bytes)
slot
void MusicWebMVRadioQueryItemWidget::enterEvent ( QtEnterEvent event)
finaloverrideprivatevirtual

Override the widget event.

Definition at line 86 of file musicwebmvradioquerywidget.cpp.

References m_nameLabel, and m_playButton.

void MusicWebMVRadioQueryItemWidget::leaveEvent ( QEvent *  event)
finaloverrideprivatevirtual

Definition at line 94 of file musicwebmvradioquerywidget.cpp.

References m_nameLabel, and m_playButton.

void MusicWebMVRadioQueryItemWidget::renderFinished ( const QPixmap &  data)
slot

Image render finished.

Definition at line 75 of file musicwebmvradioquerywidget.cpp.

References m_iconLabel, and m_playButton.

Referenced by downLoadFinished().

void MusicWebMVRadioQueryItemWidget::setResultDataItem ( const MusicResultDataItem item)

Member Data Documentation

QLabel* MusicWebMVRadioQueryItemWidget::m_iconLabel
private
MusicResultDataItem MusicWebMVRadioQueryItemWidget::m_itemData
private

Definition at line 77 of file musicwebmvradioquerywidget.h.

Referenced by currentItemClicked(), and setResultDataItem().

QLabel * MusicWebMVRadioQueryItemWidget::m_nameLabel
private
QPushButton* MusicWebMVRadioQueryItemWidget::m_playButton
private

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