The PlayerSubtitle class Bind Subtitle to AVPlayer.
More...
#include <PlayerSubtitle.h>
The PlayerSubtitle class Bind Subtitle to AVPlayer.
Used by SubtitleFilter and QuickSubtitle. Subtitle load priority: user specified file (setFile(...)) > auto load external (autoLoad() must be true) > embedded subtitle
QtAV::PlayerSubtitle::PlayerSubtitle |
( |
QObject * |
parent = 0 | ) |
|
bool QtAV::PlayerSubtitle::autoLoad |
( |
| ) |
const |
void QtAV::PlayerSubtitle::autoLoadChanged |
( |
bool |
value | ) |
|
|
signal |
QString QtAV::PlayerSubtitle::file |
( |
| ) |
const |
void QtAV::PlayerSubtitle::fileChanged |
( |
| ) |
|
|
signal |
void QtAV::PlayerSubtitle::onEnabledChanged |
( |
bool |
value | ) |
|
|
slot |
void QtAV::PlayerSubtitle::setAutoLoad |
( |
bool |
value | ) |
|
autoLoad Auto find and load a suitable external subtitle if file() is not empty.
void QtAV::PlayerSubtitle::setFile |
( |
const QString & |
file | ) |
|
setFile Load user selected subtitle.
The subtitle will not change unless you manually setFile(QString()).
void QtAV::PlayerSubtitle::setPlayer |
( |
AVPlayer * |
player | ) |
|
Subtitle* QtAV::PlayerSubtitle::subtitle |
( |
| ) |
|
The documentation for this class was generated from the following file: