![]() |
Home · All Classes · All Functions · | ![]() |
The QCameraFocusControl class supplies control for focusing related camera parameters. More...
#include <QCameraFocusControl>
This class is under development and is subject to change.
Inherits QMediaControl.
~QCameraFocusControl () | |
virtual qreal | digitalZoom () const = 0 |
virtual QCamera::FocusMode | focusMode () const = 0 |
virtual QCamera::FocusStatus | focusStatus () const = 0 |
virtual bool | isMacroFocusingSupported () const = 0 |
virtual bool | macroFocusingEnabled () const = 0 |
virtual qreal | maximumDigitalZoom () const = 0 |
virtual qreal | maximumOpticalZoom () const = 0 |
virtual qreal | opticalZoom () const = 0 |
virtual void | setFocusMode ( QCamera::FocusMode mode ) = 0 |
virtual void | setMacroFocusingEnabled ( bool enable ) = 0 |
virtual QCamera::FocusModes | supportedFocusModes () const = 0 |
virtual void | zoomTo ( qreal opticalZoom, qreal digitalZoom ) = 0 |
virtual void | cancelFocusing () = 0 |
virtual void | startFocusing () = 0 |
void | digitalZoomChanged ( qreal zoom ) |
void | focusStatusChanged ( QCamera::FocusStatus status ) |
void | opticalZoomChanged ( qreal zoom ) |
QCameraFocusControl ( QObject * parent = 0 ) |
QCameraFocusControl_iid |
The QCameraFocusControl class supplies control for focusing related camera parameters.
The interface name of QCameraFocusControl is com.nokia.Qt.QCameraFocusControl/1.0 as defined in QCameraFocusControl_iid.
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.
See also QMediaService::control() and QCamera.
Constructs a camera control object with parent.
Destruct the camera control object.
Cancels the single autofocus request or stops continuous focusing.
Does nothing in hyperfocal or infinity focus modes.
If supported by camera, startFocusing() turns off the manual focusing notifications, otherwise it does nothing in manual mode.
Return the current digital zoom value.
Signal emitted when the digital zoom value changed.
Returns the focus mode being used.
See also setFocusMode().
Returns the focus status.
Signal emitted when focus status changed.
Returns true if macro focusing is available.
Returns true if macro focusing enabled.
See also setMacroFocusingEnabled().
Returns the maximum digital zoom value, or 1.0 if digital zoom is not supported.
Returns the maximum optical zoom value, or 1.0 if optical zoom is not supported.
Return the current optical zoom value.
Signal emitted when the optical zoom value changed.
Set the focus mode to mode.
See also focusMode().
Set macro focusing to enable
See also macroFocusingEnabled().
Starts single or continuous autofocus.
Does nothing in hyperfocal or infinity focus modes.
If supported by camera, startFocusing() turns on the manual focusing notifications, otherwise it does nothing in manual mode.
Returns focus modes available.
Set the zoom value to value
com.nokia.Qt.QCameraFocusControl/1.0
Defines the interface name of the QCameraFocusControl class.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |