PonyPlayer
LyricSentence类 参考

#include <lyrics.h>

类 LyricSentence 继承关系图:

信号

void startTimeChanged ()
 
void endTimeChanged ()
 
void sentenceChanged ()
 

Public 成员函数

Q_INVOKABLE LyricSentence ()=default
 
Q_INVOKABLE LyricSentence (qreal startTime, qreal endTime, QString sentence)
 
Q_INVOKABLE bool operator< (const LyricSentence &t) const
 
Q_INVOKABLE bool operator== (const LyricSentence &t) const
 
Q_INVOKABLE qreal getStartTime () const
 
Q_INVOKABLE qreal getEndTime () const
 
Q_INVOKABLE QString getSentence () const
 
Q_INVOKABLE void setStartTime (const qreal &newTime)
 
Q_INVOKABLE void setEndTime (const qreal &newTime)
 
Q_INVOKABLE void setSentence (const QString &newSentence)
 

属性

qreal startTime
 
qreal endTime
 
QString sentence
 

构造及析构函数说明

◆ LyricSentence() [1/2]

Q_INVOKABLE LyricSentence::LyricSentence ( )
default

◆ LyricSentence() [2/2]

Q_INVOKABLE LyricSentence::LyricSentence ( qreal  startTime,
qreal  endTime,
QString  sentence 
)
inlineexplicit

成员函数说明

◆ endTimeChanged

void LyricSentence::endTimeChanged ( )
signal

◆ getEndTime()

Q_INVOKABLE qreal LyricSentence::getEndTime ( ) const
inline

◆ getSentence()

Q_INVOKABLE QString LyricSentence::getSentence ( ) const
inline

◆ getStartTime()

Q_INVOKABLE qreal LyricSentence::getStartTime ( ) const
inline

◆ operator<()

Q_INVOKABLE bool LyricSentence::operator< ( const LyricSentence t) const
inline

◆ operator==()

Q_INVOKABLE bool LyricSentence::operator== ( const LyricSentence t) const
inline

◆ sentenceChanged

void LyricSentence::sentenceChanged ( )
signal

◆ setEndTime()

Q_INVOKABLE void LyricSentence::setEndTime ( const qreal &  newTime)
inline

◆ setSentence()

Q_INVOKABLE void LyricSentence::setSentence ( const QString &  newSentence)
inline

◆ setStartTime()

Q_INVOKABLE void LyricSentence::setStartTime ( const qreal &  newTime)
inline

◆ startTimeChanged

void LyricSentence::startTimeChanged ( )
signal

属性说明

◆ endTime

qreal LyricSentence::endTime
readwrite

◆ sentence

QString LyricSentence::sentence
readwrite

◆ startTime

qreal LyricSentence::startTime
readwrite

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