The QCameraFocusControl class supplies control for focusing related camera parameters. More...
#include <QCameraFocusControl>
Inherits QMediaControl.
~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.
See also setCustomFocusPoint().
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 camera focus point selection mode.
See also setFocusPointMode().
Returns the list of zones, the camera is using for focusing or focused on.
Signal is emitted when the set of zones, camera focused on is changed.
Usually the zones list is changed when the camera is focused.
See also QCameraFocusControl::focusZones().
Returns true if focus mode is supported.
Returns true if the camera focus point mode is supported.
Returns the maximum digital zoom value, or 1.0 if digital zoom is not supported.
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.
Returns the maximum optical zoom value, or 1.0 if optical zoom is not supported.
Signal emitted when the maximum supported optical zoom value changed.
Return the current optical zoom value.
Signal emitted when the optical zoom value changed.
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().
See also QCameraFocusControl::customFocusPoint() and QCameraFocusControl::focusZones().
Set the focus mode to mode.
See also focusMode().
Sets the camera focus point selection mode.
See also focusPointMode().
Sets optical and digital zoom values.
com.nokia.Qt.QCameraFocusControl/1.0
Defines the interface name of the QCameraFocusControl class.