Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QCameraZoomInterface Class Reference
[QtMediaModule]

The QCameraZoomInterface class is an Interface class for zooming When implementing this functionality, Zooming should affect preview, still and video capture. More...

    #include <QCameraZoomInterface>

Inherited by QCameraPreviewCapture.

Public Functions


Detailed Description

The QCameraZoomInterface class is an Interface class for zooming When implementing this functionality, Zooming should affect preview, still and video capture.


Member Function Documentation

bool QCameraZoomInterface::hasZoom () const   [pure virtual]

Returns true if the camera device has zoom capabilities otherwise returns false

void QCameraZoomInterface::zoomIn ()   [pure virtual]

Zoom in by one step. Note: zoom steps begin from the minimum zoom value given by the function

void QCameraZoomInterface::zoomOut ()   [pure virtual]

Zoom out by one step

QPair<unsigned int, unsigned int> QCameraZoomInterface::zoomRange ()   [pure virtual]

Returns the minimum and maximum supported zoom. A value of QPair<0,0>() indicates zoom not supported.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3