![]() |
VLC-Qt 0.8.0- (Different version)
|
Video widget. More...
#include <vlc-qt/WidgetVideo.h>
Public Slots | |
void | enableDefaultSettings () |
Enable default video settings. | |
void | enablePreviousSettings () |
Enable previous video settings. | |
void | initDefaultSettings () |
Initialize default video settings. | |
void | setAspectRatio (const Vlc::Ratio &ratio) |
Set aspect ratio. | |
void | setCropRatio (const Vlc::Ratio &ratio) |
Set crop ratio. | |
void | setDeinterlacing (const Vlc::Deinterlacing &deinterlacing) |
Set deinterlace filter. | |
void | setScale (const Vlc::Scale &scale) |
Set scale ratio. | |
Public Member Functions | |
VlcWidgetVideo (VlcMediaPlayer *player, QWidget *parent=0) | |
VlcWidgetVideo constructor. | |
VlcWidgetVideo (QWidget *parent=0) | |
VlcWidgetVideo constructor. | |
~VlcWidgetVideo () | |
VlcWidgetVideo destructor. | |
Vlc::Ratio | currentAspectRatio () const |
Get current aspect ratio setting. | |
Vlc::Ratio | defaultAspectRatio () const |
Get default aspect ratio setting. | |
void | setCurrentAspectRatio (const Vlc::Ratio &ratio) |
Set current aspect ratio setting. | |
void | setDefaultAspectRatio (const Vlc::Ratio &ratio) |
Set default aspect ratio setting. | |
Vlc::Ratio | currentCropRatio () const |
Get current crop ratio setting. | |
Vlc::Ratio | defaultCropRatio () const |
Get default crop ratio setting. | |
void | setCurrentCropRatio (const Vlc::Ratio &ratio) |
Set current crop ratio setting. | |
void | setDefaultCropRatio (const Vlc::Ratio &ratio) |
Set default crop ratio setting. | |
Vlc::Deinterlacing | currentDeinterlacing () const |
Get current deinterlacing filter setting. | |
Vlc::Deinterlacing | defaultDeinterlacing () const |
Get default deinterlacing filter setting. | |
void | setCurrentDeinterlacing (const Vlc::Deinterlacing &deinterlacing) |
Set current deinterlacing filter setting. | |
void | setDefaultDeinterlacing (const Vlc::Deinterlacing &deinterlacing) |
Set default deinterlacing filter setting. | |
Vlc::Scale | currentScale () const |
Get current scale ratio setting. | |
Vlc::Scale | defaultScale () const |
Get default scale ratio setting. | |
void | setCurrentScale (const Vlc::Scale &scale) |
Set current scale ratio setting. | |
void | setDefaultScale (const Vlc::Scale &scale) |
Set default scale ratio setting. | |
void | setMediaPlayer (VlcMediaPlayer *player) |
Set media player if initialised without it. | |
WId | request () |
Request new video frame. | |
void | release () |
Release current video frame. |
Video widget.
This is one of VLC-Qt GUI classes. It provides video display and mouse control.
VlcWidgetVideo::VlcWidgetVideo | ( | VlcMediaPlayer * | player, |
QWidget * | parent = 0 |
||
) | [explicit] |
VlcWidgetVideo constructor.
player | media player (VlcMediaPlayer *) |
parent | video widget's parent GUI widget (QWidget) |
VlcWidgetVideo::VlcWidgetVideo | ( | QWidget * | parent = 0 | ) | [explicit] |
VlcWidgetVideo constructor.
parent | video widget's parent GUI widget (QWidget) |
Vlc::Ratio VlcWidgetVideo::currentAspectRatio | ( | ) | const [inline] |
Get current aspect ratio setting.
Vlc::Ratio VlcWidgetVideo::currentCropRatio | ( | ) | const [inline] |
Get current crop ratio setting.
Vlc::Deinterlacing VlcWidgetVideo::currentDeinterlacing | ( | ) | const [inline] |
Get current deinterlacing filter setting.
Vlc::Scale VlcWidgetVideo::currentScale | ( | ) | const [inline] |
Get current scale ratio setting.
Vlc::Ratio VlcWidgetVideo::defaultAspectRatio | ( | ) | const [inline] |
Get default aspect ratio setting.
Vlc::Ratio VlcWidgetVideo::defaultCropRatio | ( | ) | const [inline] |
Get default crop ratio setting.
Vlc::Deinterlacing VlcWidgetVideo::defaultDeinterlacing | ( | ) | const [inline] |
Get default deinterlacing filter setting.
Vlc::Scale VlcWidgetVideo::defaultScale | ( | ) | const [inline] |
Get default scale ratio setting.
void VlcWidgetVideo::enableDefaultSettings | ( | ) | [slot] |
Enable default video settings.
crop, ratio, deinterlacing filter, scale
void VlcWidgetVideo::enablePreviousSettings | ( | ) | [slot] |
Enable previous video settings.
crop, ratio, deinterlacing filter, scale
void VlcWidgetVideo::initDefaultSettings | ( | ) | [slot] |
Initialize default video settings.
Set but not apply crop, ratio, deinterlacing filter, scale
WId VlcWidgetVideo::request | ( | ) | [virtual] |
Request new video frame.
Request new video frame and its widget ID to set it in the instance.
Implements VlcVideoDelegate.
void VlcWidgetVideo::setAspectRatio | ( | const Vlc::Ratio & | ratio | ) | [slot] |
Set aspect ratio.
ratio | aspect ratio (const Vlc::Ratio) |
void VlcWidgetVideo::setCropRatio | ( | const Vlc::Ratio & | ratio | ) | [slot] |
Set crop ratio.
ratio | crop ratio (const Vlc::Ratio) |
void VlcWidgetVideo::setCurrentAspectRatio | ( | const Vlc::Ratio & | ratio | ) |
Set current aspect ratio setting.
ratio | current aspect ratio (const Vlc::Ratio) |
void VlcWidgetVideo::setCurrentCropRatio | ( | const Vlc::Ratio & | ratio | ) |
Set current crop ratio setting.
ratio | current crop ratio (const Vlc::Ratio) |
void VlcWidgetVideo::setCurrentDeinterlacing | ( | const Vlc::Deinterlacing & | deinterlacing | ) |
Set current deinterlacing filter setting.
ratio | current deinterlacing filter (const Vlc::Deinterlacing) |
void VlcWidgetVideo::setCurrentScale | ( | const Vlc::Scale & | scale | ) |
Set current scale ratio setting.
scale | current scale ratio (const Vlc::Scale) |
void VlcWidgetVideo::setDefaultAspectRatio | ( | const Vlc::Ratio & | ratio | ) |
Set default aspect ratio setting.
ratio | default aspect ratio (const Vlc::Ratio) |
void VlcWidgetVideo::setDefaultCropRatio | ( | const Vlc::Ratio & | ratio | ) |
Set default crop ratio setting.
ratio | default crop ratio (const Vlc::Ratio) |
void VlcWidgetVideo::setDefaultDeinterlacing | ( | const Vlc::Deinterlacing & | deinterlacing | ) |
Set default deinterlacing filter setting.
ratio | default deinterlacing filter (const Vlc::Deinterlacing) |
void VlcWidgetVideo::setDefaultScale | ( | const Vlc::Scale & | scale | ) |
Set default scale ratio setting.
scale | default scale ratio (const Vlc::Scale) |
void VlcWidgetVideo::setDeinterlacing | ( | const Vlc::Deinterlacing & | deinterlacing | ) | [slot] |
Set deinterlace filter.
ratio | crop ratio (const Vlc::Deinterlacing) |
void VlcWidgetVideo::setMediaPlayer | ( | VlcMediaPlayer * | player | ) |
Set media player if initialised without it.
player | media player (VlcMediaPlayer *) |
void VlcWidgetVideo::setScale | ( | const Vlc::Scale & | scale | ) | [slot] |
Set scale ratio.
scale | scale ratio (const Vlc::Scale) |