Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QCameraFocusControl Class

The QCameraFocusControl class supplies control for focusing related camera parameters. More...

 #include <QCameraFocusControl>

Inherits: QMediaControl.

Public Functions

~QCameraFocusControl()
virtual QPointF customFocusPoint() const = 0
virtual QCameraFocus::FocusModes focusMode() const = 0
virtual QCameraFocus::FocusPointMode focusPointMode() const = 0
virtual QCameraFocusZoneList focusZones() const = 0
virtual bool isFocusModeSupported(QCameraFocus::FocusModes mode) const = 0
virtual bool isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const = 0
virtual void setCustomFocusPoint(const QPointF & point) = 0
virtual void setFocusMode(QCameraFocus::FocusModes mode) = 0
virtual void setFocusPointMode(QCameraFocus::FocusPointMode mode) = 0
  • 31 public functions inherited from QObject

Signals

void customFocusPointChanged(const QPointF & point)
void focusModeChanged(QCameraFocus::FocusModes mode)
void focusPointModeChanged(QCameraFocus::FocusPointMode mode)
void focusZonesChanged()

Protected Functions

QCameraFocusControl(QObject * parent = 0)
  • 9 protected functions inherited from QObject

Macros

QCameraFocusControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

The QCameraFocusControl class supplies control for focusing related camera parameters.

The interface name of QCameraFocusControl is org.qt-project.qt.camerafocuscontrol/5.0 as defined in QCameraFocusControl_iid.

See also QMediaService::requestControl() and QCamera.

Member Function Documentation

QCameraFocusControl::QCameraFocusControl(QObject * parent = 0) [protected]

Constructs a camera control object with parent.

QCameraFocusControl::~QCameraFocusControl()

Destruct the camera control object.

QPointF QCameraFocusControl::customFocusPoint() const [pure virtual]

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().

void QCameraFocusControl::customFocusPointChanged(const QPointF & point) [signal]

Signal is emitted when the custom focus point is changed.

See also QCameraFocusControl::customFocusPoint() and QCameraFocusControl::setCustomFocusPoint().

QCameraFocus::FocusModes QCameraFocusControl::focusMode() const [pure virtual]

Returns the focus mode being used.

See also setFocusMode().

void QCameraFocusControl::focusModeChanged(QCameraFocus::FocusModes mode) [signal]

Signal is emitted when the focus mode is changed, usually in result of QCameraFocusControl::setFocusMode call or capture mode changes.

See also QCameraFocusControl::focusMode() and QCameraFocusControl::setFocusMode().

QCameraFocus::FocusPointMode QCameraFocusControl::focusPointMode() const [pure virtual]

Returns the camera focus point selection mode.

See also setFocusPointMode().

void QCameraFocusControl::focusPointModeChanged(QCameraFocus::FocusPointMode mode) [signal]

Signal is emitted when the focus point mode is changed, usually in result of QCameraFocusControl::setFocusPointMode call or capture mode changes.

See also QCameraFocusControl::focusPointMode() and QCameraFocusControl::setFocusPointMode().

QCameraFocusZoneList QCameraFocusControl::focusZones() const [pure virtual]

Returns the list of zones, the camera is using for focusing or focused on.

void QCameraFocusControl::focusZonesChanged() [signal]

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().

bool QCameraFocusControl::isFocusModeSupported(QCameraFocus::FocusModes mode) const [pure virtual]

Returns true if focus mode is supported.

bool QCameraFocusControl::isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const [pure virtual]

Returns true if the camera focus point mode is supported.

void QCameraFocusControl::setCustomFocusPoint(const QPointF & point) [pure virtual]

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().

void QCameraFocusControl::setFocusMode(QCameraFocus::FocusModes mode) [pure virtual]

Set the focus mode to mode.

See also focusMode().

void QCameraFocusControl::setFocusPointMode(QCameraFocus::FocusPointMode mode) [pure virtual]

Sets the camera focus point selection mode.

See also focusPointMode().

Macro Documentation

QCameraFocusControl_iid

org.qt-project.qt.camerafocuscontrol/5.0

Defines the interface name of the QCameraFocusControl class.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web