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