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

The class of the song identify widget. More...

#include <musicidentifysongwidget.h>

+ Inheritance diagram for MusicIdentifySongWidget:

Public Slots

void detectedButtonClicked ()
 
void reDetectButtonClicked ()
 
void detectedTimeOut ()
 
void playSong ()
 
void showDownloadWidget ()
 
void showSongShareWidget ()
 
void positionChanged (qint64 position)
 

Public Member Functions

 MusicIdentifySongWidget (QWidget *parent=nullptr)
 
 ~MusicIdentifySongWidget ()
 
void queryIdentifyKey ()
 

Private Member Functions

void createDetectedWidget ()
 
void createDetectedSuccessedWidget ()
 
void createDetectedFailedWidget ()
 

Private Attributes

QTimer * m_timer
 
QStackedWidget * m_mainWindow
 
QLabel * m_detectedLabel
 
QLabel * m_lrcLabel
 
QMovie * m_detectedMovie
 
QPushButton * m_detectedButton
 
MusicCoreMPlayerm_player
 
MusicLrcAnalysism_analysis
 
MusicAudioRecorderModulem_recordCore
 
MusicIdentifySongRequestm_networkRequest
 
TTK::MusicSongInformation m_songInfo
 

Detailed Description

The class of the song identify widget.

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

Definition at line 35 of file musicidentifysongwidget.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void MusicIdentifySongWidget::createDetectedFailedWidget ( )
private
void MusicIdentifySongWidget::createDetectedSuccessedWidget ( )
private
void MusicIdentifySongWidget::createDetectedWidget ( )
private
void MusicIdentifySongWidget::detectedButtonClicked ( )
slot
void MusicIdentifySongWidget::detectedTimeOut ( )
slot
void MusicIdentifySongWidget::playSong ( )
slot
void MusicIdentifySongWidget::positionChanged ( qint64  position)
slot
void MusicIdentifySongWidget::queryIdentifyKey ( )
void MusicIdentifySongWidget::reDetectButtonClicked ( )
slot

Retected the song button clicked.

Definition at line 103 of file musicidentifysongwidget.cpp.

References m_mainWindow, m_player, and MusicCoreMPlayer::stop().

Referenced by createDetectedFailedWidget(), and createDetectedSuccessedWidget().

void MusicIdentifySongWidget::showDownloadWidget ( )
slot
void MusicIdentifySongWidget::showSongShareWidget ( )
slot

Member Data Documentation

MusicLrcAnalysis* MusicIdentifySongWidget::m_analysis
private
QPushButton* MusicIdentifySongWidget::m_detectedButton
private
QLabel* MusicIdentifySongWidget::m_detectedLabel
private
QMovie* MusicIdentifySongWidget::m_detectedMovie
private
QLabel * MusicIdentifySongWidget::m_lrcLabel
private

Definition at line 100 of file musicidentifysongwidget.h.

Referenced by createDetectedSuccessedWidget(), and positionChanged().

QStackedWidget* MusicIdentifySongWidget::m_mainWindow
private
MusicIdentifySongRequest* MusicIdentifySongWidget::m_networkRequest
private
MusicCoreMPlayer* MusicIdentifySongWidget::m_player
private
MusicAudioRecorderModule* MusicIdentifySongWidget::m_recordCore
private
TTK::MusicSongInformation MusicIdentifySongWidget::m_songInfo
private
QTimer* MusicIdentifySongWidget::m_timer
private

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