VlcControlVideo Class Reference

Video control class. More...

#include <VLCQtWidgets/ControlVideo.h>

Public Slots

void loadSubtitle (const QString &subtitle)
 Open and load subtitles from file. More...
 

Signals

void actions (QList< QAction * > actions, const Vlc::ActionsType type)
 Signal sending actions for changing video and subititle tracks. More...
 
void subtitleTracks (QList< QAction * > actions)
 Signal sending actions for changing subititle tracks. More...
 
void videoTracks (QList< QAction * > actions)
 Signal sending actions for changing video tracks. More...
 

Public Member Functions

 VlcControlVideo (VlcMediaPlayer *player, const QString &language=0, QObject *parent=0)
 VideoControl constructor. More...
 
 ~VlcControlVideo ()
 VideoControl destructor.
 
void reset ()
 Reset all settings and selected video and subtitle tracks. More...
 
void setDefaultSubtitleLanguage (const QString &language)
 Set default subtitle language. More...
 

Detailed Description

Video control class.

This is one of VLC-Qt control classes. It provides video and subtitle tracks management.

Constructor & Destructor Documentation

VlcControlVideo::VlcControlVideo ( VlcMediaPlayer player,
const QString &  language = 0,
QObject *  parent = 0 
)
explicit

VideoControl constructor.

Parameters
playermedia player
languagedefault subtitle language
parentvideo controller's parent object

Member Function Documentation

void VlcControlVideo::actions ( QList< QAction * >  actions,
const Vlc::ActionsType  type 
)
signal

Signal sending actions for changing video and subititle tracks.

Parameters
actionslist of actions
typetype of actions
void VlcControlVideo::loadSubtitle ( const QString &  subtitle)
slot

Open and load subtitles from file.

Parameters
subtitlefull 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
languagecomma separated languages
void VlcControlVideo::subtitleTracks ( QList< QAction * >  actions)
signal

Signal sending actions for changing subititle tracks.

Parameters
actionslist of actions
void VlcControlVideo::videoTracks ( QList< QAction * >  actions)
signal

Signal sending actions for changing video tracks.

Parameters
actionslist of actions

The documentation for this class was generated from the following files: