The QCameraFocusControl class supplies control for focusing related camera parameters. More...
#include <QCameraFocusControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.1.
~QCameraFocusControl () | |
virtual QPointF | customFocusPoint () const = 0 |
virtual qreal | digitalZoom () const = 0 |
virtual QCameraFocus::FocusMode | focusMode () const = 0 |
virtual QCameraFocus::FocusPointMode | focusPointMode () const = 0 |
virtual QCameraFocusZoneList | focusZones () const = 0 |
virtual bool | isFocusModeSupported ( QCameraFocus::FocusMode mode ) const = 0 |
virtual bool | isFocusPointModeSupported ( QCameraFocus::FocusPointMode mode ) const = 0 |
virtual qreal | maximumDigitalZoom () const = 0 |
virtual qreal | maximumOpticalZoom () const = 0 |
virtual qreal | opticalZoom () const = 0 |
virtual void | setCustomFocusPoint ( const QPointF & point ) = 0 |
virtual void | setFocusMode ( QCameraFocus::FocusMode mode ) = 0 |
virtual void | setFocusPointMode ( QCameraFocus::FocusPointMode mode ) = 0 |
virtual void | zoomTo ( qreal optical, qreal digital ) = 0 |
void | digitalZoomChanged ( qreal zoom ) |
void | focusZonesChanged () |
void | maximumDigitalZoomChanged ( qreal zoom ) |
void | maximumOpticalZoomChanged ( qreal zoom ) |
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.
See also QMediaService::requestControl() and QCamera.
Constructs a camera control object with parent.
Destruct the camera control object.
Return the position of custom focus point, in relative frame coordinates: QPointF(0,0) points to the left top frame point, QPointF(0.5,0.5) points to the frame center.
Custom focus point is used only in FocusPointCustom focus mode.
This function was introduced in Qt Mobility 1.1.
See also setCustomFocusPoint().
Return the current digital zoom value.
This function was introduced in Qt Mobility 1.1.
Signal emitted when the digital zoom value changed.
This function was introduced in Qt Mobility 1.1.
Returns the focus mode being used.
This function was introduced in Qt Mobility 1.1.
See also setFocusMode().
Returns the camera focus point selection mode.
This function was introduced in Qt Mobility 1.1.
See also setFocusPointMode().
Returns the list of zones, the camera is using for focusing or focused on.
This function was introduced in Qt Mobility 1.1.
Signal is emitted when the set of zones, camera focused on is changed.
Usually the zones list is changed when the camera is focused.
This function was introduced in Qt Mobility 1.1.
See also QCameraFocusControl::focusZones().
Returns true if focus mode is supported.
This function was introduced in Qt Mobility 1.1.
Returns true if the camera focus point mode is supported.
This function was introduced in Qt Mobility 1.1.
Returns the maximum digital zoom value, or 1.0 if digital zoom is not supported.
This function was introduced in Qt Mobility 1.1.
Signal emitted when the maximum supported digital zoom value changed.
The maximum supported zoom value can depend on other camera settings, like capture mode or resolution.
This function was introduced in Qt Mobility 1.1.
Returns the maximum optical zoom value, or 1.0 if optical zoom is not supported.
This function was introduced in Qt Mobility 1.1.
Signal emitted when the maximum supported optical zoom value changed.
This function was introduced in Qt Mobility 1.1.
Return the current optical zoom value.
This function was introduced in Qt Mobility 1.1.
Signal emitted when the optical zoom value changed.
This function was introduced in Qt Mobility 1.1.
Sets the custom focus point.
If camera supports fixed set of focus points, it should use the nearest supported focus point, and return the actual focus point with QCameraFocusControl::focusZones().
This function was introduced in Qt Mobility 1.1.
See also QCameraFocusControl::customFocusPoint() and QCameraFocusControl::focusZones().
Set the focus mode to mode.
This function was introduced in Qt Mobility 1.1.
See also focusMode().
Sets the camera focus point selection mode.
This function was introduced in Qt Mobility 1.1.
See also focusPointMode().
Sets optical and digital zoom values.
This function was introduced in Qt Mobility 1.1.
com.nokia.Qt.QCameraFocusControl/1.0
Defines the interface name of the QCameraFocusControl class.
© 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.