Qt 4.5: VideoWidget Class Reference

|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# VideoWidget Class Reference
(Phonon::Gstreamer::VideoWidget)

Inherits QWidget, MediaNode, QWidget, and MediaNode.

- List of all members, including inherited members

### Public Functions

- VideoWidget ( Backend * backend, QWidget * parent = 0 )
- ~VideoWidget ()
- virtual Phonon::VideoWidget::AspectRatio aspectRatio () const
- virtual qreal brightness () const
- QRect calculateDrawFrameRect () const
- virtual qreal contrast () const
- virtual bool event ( QEvent * )
- virtual qreal hue () const
- virtual void mediaNodeEvent ( const MediaNodeEvent * event )
- QSize movieSize () const
- virtual void paintEvent ( QPaintEvent * event )
- virtual qreal saturation () const
- virtual Phonon::VideoWidget::ScaleMode scaleMode () const
- QRect scaleToAspect ( QRect srcRect, int w, int h ) const
- virtual void setAspectRatio ( Phonon::VideoWidget::AspectRatio aspectRatio )
- virtual void setBrightness ( qreal )
- virtual void setContrast ( qreal )
- virtual void setHue ( qreal )
- void setMovieSize ( const QSize & size )
- virtual void setSaturation ( qreal )
- virtual void setScaleMode ( Phonon::VideoWidget::ScaleMode )
- virtual void setVisible ( bool )
- void setupVideoBin ()
- virtual QSize sizeHint () const
- virtual GstElement * videoElement ()
- virtual QWidget * widget ()

- 207 public functions inherited from QWidget
- 15 public functions inherited from Phonon::Gstreamer::MediaNode
- 207 public functions inherited from QWidget
- 15 public functions inherited from Phonon::Gstreamer::MediaNode
- 29 public functions inherited from QObject
- 12 public functions inherited from QPaintDevice
- 29 public functions inherited from QObject
- 12 public functions inherited from QPaintDevice

### Additional Inherited Members

- 114 properties inherited from QWidget
- 2 properties inherited from QObject
- 38 public slots inherited from QWidget
- 2 public slots inherited from QObject
- 2 signals inherited from QWidget
- 2 signals inherited from QObject
- 8 static public members inherited from QWidget
- 5 static public members inherited from QObject
- 1 static public member inherited from QPaintDevice
- 5 static public members inherited from QObject
- 1 static public member inherited from QPaintDevice
- 38 protected functions inherited from QWidget
- 4 protected functions inherited from Phonon::Gstreamer::MediaNode
- 38 protected functions inherited from QWidget
- 4 protected functions inherited from Phonon::Gstreamer::MediaNode
- 7 protected functions inherited from QObject
- 1 protected function inherited from QPaintDevice
- 7 protected functions inherited from QObject
- 1 protected function inherited from QPaintDevice
- 2 protected slots inherited from QWidget

## Member Function Documentation

### VideoWidget::VideoWidget ( Backend * backend, QWidget * parent = 0 )

### VideoWidget::~VideoWidget ()

### Phonon::VideoWidget::AspectRatio VideoWidget::aspectRatio () const `[virtual]`

See also setAspectRatio().

### qreal VideoWidget::brightness () const `[virtual]`

See also setBrightness().

### QRect VideoWidget::calculateDrawFrameRect () const

### qreal VideoWidget::contrast () const `[virtual]`

See also setContrast().

### bool VideoWidget::event ( QEvent * ) `[virtual]`

### qreal VideoWidget::hue () const `[virtual]`

See also setHue().

### void VideoWidget::mediaNodeEvent ( const MediaNodeEvent * event ) `[virtual]`

### QSize VideoWidget::movieSize () const

See also setMovieSize().

### void VideoWidget::paintEvent ( QPaintEvent * event ) `[virtual]`

### qreal VideoWidget::saturation () const `[virtual]`

See also setSaturation().

### Phonon::VideoWidget::ScaleMode VideoWidget::scaleMode () const `[virtual]`

See also setScaleMode().

### QRect VideoWidget::scaleToAspect ( QRect srcRect, int w, int h ) const

### void VideoWidget::setAspectRatio ( Phonon::VideoWidget::AspectRatio aspectRatio ) `[virtual]`

See also aspectRatio().

### void VideoWidget::setBrightness ( qreal ) `[virtual]`

See also brightness().

### void VideoWidget::setContrast ( qreal ) `[virtual]`

See also contrast().

### void VideoWidget::setHue ( qreal ) `[virtual]`

See also hue().

### void VideoWidget::setMovieSize ( const QSize & size )

See also movieSize().

### void VideoWidget::setSaturation ( qreal ) `[virtual]`

See also saturation().

### void VideoWidget::setScaleMode ( Phonon::VideoWidget::ScaleMode ) `[virtual]`

See also scaleMode().

### void VideoWidget::setVisible ( bool ) `[virtual]`

### void VideoWidget::setupVideoBin ()

### QSize VideoWidget::sizeHint () const `[virtual]`

### GstElement * VideoWidget::videoElement () `[virtual]`

### QWidget * VideoWidget::widget () `[virtual]`