The QCameraViewfinder class provides a camera viewfinder widget. More...
#include <QCameraViewfinder>
Inherits: QVideoWidget.
This class was introduced in Qt Mobility 1.1.
QCameraViewfinder ( QWidget * parent = 0 ) | |
~QCameraViewfinder () |
virtual QMediaObject * | mediaObject () const |
virtual bool | setMediaObject ( QMediaObject * object ) |
The QCameraViewfinder class provides a camera viewfinder widget.
camera = new QCamera; viewfinder = new QCameraViewfinder(); viewfinder->show(); camera->setViewfinder(viewfinder); recorder = new QMediaRecorder(camera); imageCapture = new QCameraImageCapture(camera); camera->setCaptureMode(QCamera::CaptureStillImage); camera->start();
Constructs a new camera viewfinder widget.
The parent is passed to QVideoWidget.
Destroys a camera viewfinder widget.
Reimplemented from QMediaBindableInterface::mediaObject().
This function was introduced in Qt Mobility 1.1.
See also setMediaObject().
Reimplemented from QMediaBindableInterface::setMediaObject().
This function was introduced in Qt Mobility 1.1.
See also mediaObject().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.