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. | |
This is one of VLC-Qt GUI classes. It provides video display and mouse control.
|
explicit |
| player | media player |
| parent | video widget's parent GUI widget |
|
explicit |
| parent | video widget's parent GUI widget |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
slot |
crop, ratio, deinterlacing filter, scale
|
slot |
crop, ratio, deinterlacing filter, scale
|
slot |
Set but not apply crop, ratio, deinterlacing filter, scale
|
virtual |
Request new video frame and its widget ID to set it in the instance.
Implements VlcVideoDelegate.
|
slot |
| ratio | aspect ratio |
|
slot |
| ratio | crop ratio |
| void VlcWidgetVideo::setCurrentAspectRatio | ( | const Vlc::Ratio & | ratio | ) |
| ratio | current aspect ratio |
| void VlcWidgetVideo::setCurrentCropRatio | ( | const Vlc::Ratio & | ratio | ) |
| ratio | current crop ratio |
| void VlcWidgetVideo::setCurrentDeinterlacing | ( | const Vlc::Deinterlacing & | deinterlacing | ) |
| deinterlacing | current deinterlacing filter |
| void VlcWidgetVideo::setCurrentScale | ( | const Vlc::Scale & | scale | ) |
| scale | current scale ratio |
| void VlcWidgetVideo::setDefaultAspectRatio | ( | const Vlc::Ratio & | ratio | ) |
| ratio | default aspect ratio |
| void VlcWidgetVideo::setDefaultCropRatio | ( | const Vlc::Ratio & | ratio | ) |
| ratio | default crop ratio |
| void VlcWidgetVideo::setDefaultDeinterlacing | ( | const Vlc::Deinterlacing & | deinterlacing | ) |
| deinterlacing | default deinterlacing filter |
| void VlcWidgetVideo::setDefaultScale | ( | const Vlc::Scale & | scale | ) |
| scale | default scale ratio |
|
slot |
| deinterlacing | deinterlacing filter |
| void VlcWidgetVideo::setMediaPlayer | ( | VlcMediaPlayer * | player | ) |
| player | media player |
|
slot |
| scale | scale ratio |