Video control class.
More...
#include <VLCQtWidgets/ControlVideo.h>
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.
- Parameters
-
player | media player |
language | default subtitle language |
parent | video controller's parent object |
void VlcControlVideo::actions |
( |
QList< QAction * > |
actions, |
|
|
const Vlc::ActionsType |
type |
|
) |
| |
|
signal |
Signal sending actions for changing video and subititle tracks.
- Parameters
-
actions | list of actions |
type | type of actions |
void VlcControlVideo::loadSubtitle |
( |
const QString & |
subtitle | ) |
|
|
slot |
Open and load subtitles from file.
- Parameters
-
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.
- Parameters
-
language | comma separated languages |
void VlcControlVideo::subtitleTracks |
( |
QList< QAction * > |
actions | ) |
|
|
signal |
Signal sending actions for changing subititle tracks.
- Parameters
-
void VlcControlVideo::videoTracks |
( |
QList< QAction * > |
actions | ) |
|
|
signal |
Signal sending actions for changing video tracks.
- Parameters
-
The documentation for this class was generated from the following files:
- ControlVideo.h
- ControlVideo.cpp