PonyPlayer
WaveView类 参考

#include <wave.hpp>

类 WaveView 继承关系图:

Public 槽

Q_INVOKABLE void setRadiusRatio (float radiusRatio)
 

信号

void signalPushLyricSentence (LyricSentence *lyricSentence)
 
void signalClearLyricSentence ()
 
void notifyRadiusRatio ()
 
void signalPushLyricSentenceCompleted ()
 

Public 成员函数

 WaveView (QQuickItem *parent=nullptr)
 
Q_INVOKABLE float getRadiusRatio () const
 
const QString & getPlayer () const
 
void setPlayer (const QString &player)
 
const QString & getLyricsDataName () const
 
void setLyricsDataName (const QString &lyricsDataName)
 
Q_INVOKABLE void readLyricsResponse (std::shared_ptr< lrc::Lyrics > lyrics)
 
Q_INVOKABLE bool readLyrics (const QString &filePath)
 
Q_INVOKABLE bool tryLoadLyrics (const QString &filePath)
 

属性

float radiusRatio
 
QString player
 
QString lyricsDataName
 

构造及析构函数说明

◆ WaveView()

WaveView::WaveView ( QQuickItem *  parent = nullptr)
inlineexplicit

成员函数说明

◆ getLyricsDataName()

const QString & WaveView::getLyricsDataName ( ) const
inline

◆ getPlayer()

const QString & WaveView::getPlayer ( ) const
inline

◆ getRadiusRatio()

Q_INVOKABLE float WaveView::getRadiusRatio ( ) const
inline

◆ notifyRadiusRatio

void WaveView::notifyRadiusRatio ( )
signal

◆ readLyrics()

Q_INVOKABLE bool WaveView::readLyrics ( const QString &  filePath)
inline

◆ readLyricsResponse()

Q_INVOKABLE void WaveView::readLyricsResponse ( std::shared_ptr< lrc::Lyrics lyrics)
inline

◆ setLyricsDataName()

void WaveView::setLyricsDataName ( const QString &  lyricsDataName)
inline

◆ setPlayer()

void WaveView::setPlayer ( const QString &  player)
inline

◆ setRadiusRatio

Q_INVOKABLE void WaveView::setRadiusRatio ( float  radiusRatio)
inlineslot

◆ signalClearLyricSentence

void WaveView::signalClearLyricSentence ( )
signal

◆ signalPushLyricSentence

void WaveView::signalPushLyricSentence ( LyricSentence lyricSentence)
signal

◆ signalPushLyricSentenceCompleted

void WaveView::signalPushLyricSentenceCompleted ( )
signal

◆ tryLoadLyrics()

Q_INVOKABLE bool WaveView::tryLoadLyrics ( const QString &  filePath)
inline

属性说明

◆ lyricsDataName

QString WaveView::lyricsDataName
readwrite

◆ player

QString WaveView::player
readwrite

◆ radiusRatio

float WaveView::radiusRatio
readwrite

该类的文档由以下文件生成: