Phonon.VideoWidget Class Reference
[phonon module]
Inherits QWidget and AbstractVideoOutput.
Types
- enum AspectRatio { AspectRatioAuto, AspectRatioWidget, AspectRatio4_3, AspectRatio16_9 }
- enum ScaleMode { FitInView, ScaleAndCrop }
Methods
- __init__ (self, QWidget parent = None)
- AspectRatio aspectRatio (self)
- float brightness (self)
- float contrast (self)
- enterFullScreen (self)
- bool event (self, QEvent)
- exitFullScreen (self)
- float hue (self)
- mouseMoveEvent (self, QMouseEvent)
- float saturation (self)
- ScaleMode scaleMode (self)
- setAspectRatio (self, AspectRatio)
- setBrightness (self, float)
- setContrast (self, float)
- setFullScreen (self, bool)
- setHue (self, float)
- setSaturation (self, float)
- setScaleMode (self, ScaleMode)
- QImage snapshot (self)
Detailed Description
Type Documentation
VideoWidget.AspectRatio
VideoWidget.ScaleMode
Method Documentation
VideoWidget.__init__ (self, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
AspectRatio VideoWidget.aspectRatio (self)
float VideoWidget.brightness (self)
float VideoWidget.contrast (self)
VideoWidget.enterFullScreen (self)
This method is also a Qt slot with the C++ signature void enterFullScreen().
bool VideoWidget.event (self, QEvent)
VideoWidget.exitFullScreen (self)
This method is also a Qt slot with the C++ signature void exitFullScreen().
float VideoWidget.hue (self)
VideoWidget.mouseMoveEvent (self, QMouseEvent)
float VideoWidget.saturation (self)
ScaleMode VideoWidget.scaleMode (self)
VideoWidget.setAspectRatio (self, AspectRatio)
This method is also a Qt slot with the C++ signature void setAspectRatio(Phonon::VideoWidget::AspectRatio).
VideoWidget.setBrightness (self, float)
This method is also a Qt slot with the C++ signature void setBrightness(qreal).
VideoWidget.setContrast (self, float)
This method is also a Qt slot with the C++ signature void setContrast(qreal).
VideoWidget.setFullScreen (self, bool)
This method is also a Qt slot with the C++ signature void setFullScreen(bool).
VideoWidget.setHue (self, float)
This method is also a Qt slot with the C++ signature void setHue(qreal).
VideoWidget.setSaturation (self, float)
This method is also a Qt slot with the C++ signature void setSaturation(qreal).
VideoWidget.setScaleMode (self, ScaleMode)
This method is also a Qt slot with the C++ signature void setScaleMode(Phonon::VideoWidget::ScaleMode).
QImage VideoWidget.snapshot (self)