![]() |
VLC-Qt 0.8.0- (Different version)
|
Video control class. More...
#include <vlc-qt/ControlVideo.h>
Public Slots | |
| void | loadSubtitle (const QString &subtitle) |
| Open and load subtitles from file. | |
Signals | |
| void | actions (QList< QAction * >, const Vlc::ActionsType) |
| Signal sending actions for changing video and subititle tracks. | |
| void | subtitleTracks (QList< QAction * >) |
| Signal sending actions for changing subititle tracks. | |
| void | videoTracks (QList< QAction * >) |
| Signal sending actions for changing video tracks. | |
Public Member Functions | |
| VlcControlVideo (VlcMediaPlayer *player, const QString &language=0, QObject *parent=0) | |
| VideoControl constructor. | |
| ~VlcControlVideo () | |
| VideoControl destructor. | |
| void | reset () |
| Reset all settings and selected video and subtitle tracks. | |
| void | setDefaultSubtitleLanguage (const QString &language) |
| Set default subtitle language. | |
Video control class.
This is one of VLC-Qt control classes. It provides video and subtitle tracks management.
| VlcControlVideo::VlcControlVideo | ( | VlcMediaPlayer * | player, |
| const QString & | language = 0, |
||
| QObject * | parent = 0 |
||
| ) | [explicit] |
VideoControl constructor.
| player | media player (VlcMediaPlayer *) |
| language | default subtitle language (QString) |
| parent | video controller's parent object (QObject) |
| void VlcControlVideo::actions | ( | QList< QAction * > | _t1, |
| const Vlc::ActionsType | _t2 | ||
| ) | [signal] |
Signal sending actions for changing video and subititle tracks.
| QList<QAction*> | list of actions |
| Vlc::ActionsType | type of actions |
| void VlcControlVideo::loadSubtitle | ( | const QString & | subtitle | ) | [slot] |
Open and load subtitles from file.
| subtitle | full path to subtitles file |
| void VlcControlVideo::reset | ( | ) |
Reset all settings and selected video and subtitle tracks.
Usually called on media change.
| void VlcControlVideo::setDefaultSubtitleLanguage | ( | const QString & | language | ) |
Set default subtitle language.
| language | comma separated languages (QString) |
| void VlcControlVideo::subtitleTracks | ( | QList< QAction * > | _t1 | ) | [signal] |
Signal sending actions for changing subititle tracks.
| Vlc::ActionsType | type of actions |
| QList<QAction*> | list of actions |
| void VlcControlVideo::videoTracks | ( | QList< QAction * > | _t1 | ) | [signal] |
Signal sending actions for changing video tracks.
| Vlc::ActionsType | type of actions |
| QList<QAction*> | list of actions |