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  · 

QCameraZoomControl Class

The QCameraZoomControl class supplies control for optical and digital camera zoom. More...

 #include <QCameraZoomControl>

Inherits: QMediaControl.

Public Functions

~QCameraZoomControl()
virtual qreal currentDigitalZoom() const = 0
virtual qreal currentOpticalZoom() const = 0
virtual qreal maximumDigitalZoom() const = 0
virtual qreal maximumOpticalZoom() const = 0
virtual qreal requestedDigitalZoom() const = 0
virtual qreal requestedOpticalZoom() const = 0
virtual void zoomTo(qreal optical, qreal digital) = 0
  • 31 public functions inherited from QObject

Signals

void currentDigitalZoomChanged(qreal zoom)
void currentOpticalZoomChanged(qreal zoom)
void maximumDigitalZoomChanged(qreal zoom)
void maximumOpticalZoomChanged(qreal zoom)
void requestedDigitalZoomChanged(qreal zoom)
void requestedOpticalZoomChanged(qreal zoom)

Protected Functions

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

Macros

QCameraZoomControl_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 QCameraZoomControl class supplies control for optical and digital camera zoom.

The interface name of QCameraZoomControl is org.qt-project.qt.camerazoomcontrol/5.0 as defined in QCameraZoomControl_iid.

See also QMediaService::requestControl() and QCamera.

Member Function Documentation

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

Constructs a camera zoom control object with parent.

QCameraZoomControl::~QCameraZoomControl()

Destruct the camera zoom control object.

qreal QCameraZoomControl::currentDigitalZoom() const [pure virtual]

Return the current digital zoom value.

void QCameraZoomControl::currentDigitalZoomChanged(qreal zoom) [signal]

Signal emitted when the current digital zoom value changed.

qreal QCameraZoomControl::currentOpticalZoom() const [pure virtual]

Return the current optical zoom value.

void QCameraZoomControl::currentOpticalZoomChanged(qreal zoom) [signal]

Signal emitted when the current optical zoom value changed.

qreal QCameraZoomControl::maximumDigitalZoom() const [pure virtual]

Returns the maximum digital zoom value, or 1.0 if digital zoom is not supported.

void QCameraZoomControl::maximumDigitalZoomChanged(qreal zoom) [signal]

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.

qreal QCameraZoomControl::maximumOpticalZoom() const [pure virtual]

Returns the maximum optical zoom value, or 1.0 if optical zoom is not supported.

void QCameraZoomControl::maximumOpticalZoomChanged(qreal zoom) [signal]

Signal emitted when the maximum supported optical zoom value changed.

The maximum supported zoom value can depend on other camera settings, like focusing mode.

qreal QCameraZoomControl::requestedDigitalZoom() const [pure virtual]

Return the requested digital zoom value.

void QCameraZoomControl::requestedDigitalZoomChanged(qreal zoom) [signal]

Signal emitted when the requested digital zoom value changed.

qreal QCameraZoomControl::requestedOpticalZoom() const [pure virtual]

Return the requested optical zoom value.

void QCameraZoomControl::requestedOpticalZoomChanged(qreal zoom) [signal]

Signal emitted when the requested optical zoom value changed.

void QCameraZoomControl::zoomTo(qreal optical, qreal digital) [pure virtual]

Sets optical and digital zoom values.

Zooming can be asynchronous with value changes reported with currentDigitalZoomChanged() and currentOpticalZoomChanged() signals.

The backend should expect and correctly handle frequent zoomTo() calls during zoom animations or slider movements.

Macro Documentation

QCameraZoomControl_iid

org.qt-project.qt.camerazoomcontrol/5.0

Defines the interface name of the QCameraZoomControl 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