The QCameraViewfinder class provides camera viewfinder widget. More...
#include <QCameraViewfinder>
This class is under development and is subject to change.
Inherits QVideoWidget.
QCameraViewfinder ( QWidget * parent = 0 ) | |
~QCameraViewfinder () |
virtual QMediaObject * | mediaObject () const |
virtual bool | setMediaObject ( QMediaObject * object ) |
The QCameraViewfinder class provides camera viewfinder widget.
camera = new QCamera; viewFinder = new QCameraViewfinder(); viewFinder->show(); camera->setViewfinder(viewFinder); camera->setCaptureMode(QCamera::CaptureStillImage); camera->start();
The Camera API of Qt Mobility is still in Technology Preview. It has not undergone the same level of review and testing as the rest of the APIs.
The API exposed by the classes in this component are not stable, and will undergo modification or removal prior to the final release of Qt Mobility.
Constructs a new camera viewfinder widget.
The parent is passed to QVideoWidget.
Destroys a camera viewfinder widget.
Reimplemented from QMediaBindableInterface::mediaObject().
See also setMediaObject().
Reimplemented from QMediaBindableInterface::setMediaObject().
See also mediaObject().