Home · All Classes · All Functions ·

QCameraExposureControl Class Reference

The QCameraExposureControl class supplies control for exposure related camera parameters. More...

    #include <QCameraExposureControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Functions

~QCameraExposureControl ()
virtual qreal aperture () const = 0
virtual qreal exposureCompensation () const = 0
virtual QCamera::ExposureMode exposureMode () const = 0
virtual QCamera::FlashMode flashMode () const = 0
virtual bool isExposureLocked () const = 0
virtual bool isFlashReady () const = 0
virtual int isoSensitivity () const = 0
virtual QCamera::MeteringMode meteringMode () const = 0
virtual void setAutoAperture () = 0
virtual void setAutoIsoSensitivity () = 0
virtual void setAutoShutterSpeed () = 0
virtual void setExposureCompensation ( qreal ev ) = 0
virtual void setExposureMode ( QCamera::ExposureMode mode ) = 0
virtual void setFlashMode ( QCamera::FlashMode mode ) = 0
virtual void setManualAperture ( qreal aperture ) = 0
virtual void setManualIsoSensitivity ( int iso ) = 0
virtual void setManualShutterSpeed ( qreal seconds ) = 0
virtual void setMeteringMode ( QCamera::MeteringMode mode ) = 0
virtual qreal shutterSpeed () const = 0
virtual QList<qreal> supportedApertures ( bool * continuous = 0 ) const = 0
virtual QCamera::ExposureModes supportedExposureModes () const = 0
virtual QCamera::FlashModes supportedFlashModes () const = 0
virtual QList<int> supportedIsoSensitivities ( bool * continuous = 0 ) const = 0
virtual QCamera::MeteringModes supportedMeteringModes () const = 0
virtual QList<qreal> supportedShutterSpeeds ( bool * continuous = 0 ) const = 0

Public Slots

virtual void lockExposure () = 0
virtual void unlockExposure () = 0

Signals

void apertureChanged ( qreal value )
void apertureRangeChanged ()
void exposureLocked ()
void flashReady ( bool ready )
void isoSensitivityChanged ( int value )
void shutterSpeedChanged ( qreal value )

Protected Functions

QCameraExposureControl ( QObject * parent = 0 )

Macros

QCameraExposureControl_iid

Additional Inherited Members


Detailed Description

The QCameraExposureControl class supplies control for exposure related camera parameters.

The interface name of QCameraExposureControl is com.nokia.Qt.QCameraExposureControl/1.0 as defined in QCameraExposureControl_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.


Member Function Documentation

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

Constructs a camera exposure control object with parent.

QCameraExposureControl::~QCameraExposureControl ()

Destruct the camera control object.

qreal QCameraExposureControl::aperture () const   [pure virtual]

Returns the aperture

void QCameraExposureControl::apertureChanged ( qreal value )   [signal]

Signal emitted when the aperture value has changed to value.

void QCameraExposureControl::apertureRangeChanged ()   [signal]

Signal emitted when the aperture range has changed.

qreal QCameraExposureControl::exposureCompensation () const   [pure virtual]

Returns the exposure compensation in EV.

See also setExposureCompensation().

void QCameraExposureControl::exposureLocked ()   [signal]

Signal emitted when exposure locked.

QCamera::ExposureMode QCameraExposureControl::exposureMode () const   [pure virtual]

Returns the exposure mode.

See also setExposureMode().

QCamera::FlashMode QCameraExposureControl::flashMode () const   [pure virtual]

Returns the current flash mode.

See also setFlashMode().

void QCameraExposureControl::flashReady ( bool ready )   [signal]

Signal emitted when flash state changes, flash is charged ready.

bool QCameraExposureControl::isExposureLocked () const   [pure virtual]

Returns true if exposure locked

bool QCameraExposureControl::isFlashReady () const   [pure virtual]

Returns true if flash is charged.

int QCameraExposureControl::isoSensitivity () const   [pure virtual]

Returns the ISO sensitivity, or -1 if unknown.

void QCameraExposureControl::isoSensitivityChanged ( int value )   [signal]

Signal emitted when sensitity value changes to value.

void QCameraExposureControl::lockExposure ()   [pure virtual slot]

Lock the exposure.

QCamera::MeteringMode QCameraExposureControl::meteringMode () const   [pure virtual]

Returns the current metering mode.

See also setMeteringMode().

void QCameraExposureControl::setAutoAperture ()   [pure virtual]

Turn on auto aperture

void QCameraExposureControl::setAutoIsoSensitivity ()   [pure virtual]

Turn on auto sensitivity

void QCameraExposureControl::setAutoShutterSpeed ()   [pure virtual]

Turn on auto shutter speed

void QCameraExposureControl::setExposureCompensation ( qreal ev )   [pure virtual]

Set the exposure compensation to ev

See also exposureCompensation().

void QCameraExposureControl::setExposureMode ( QCamera::ExposureMode mode )   [pure virtual]

Set the exposure mode to mode.

See also exposureMode().

void QCameraExposureControl::setFlashMode ( QCamera::FlashMode mode )   [pure virtual]

Set the current flash mode.

See also flashMode().

void QCameraExposureControl::setManualAperture ( qreal aperture )   [pure virtual]

Set the aperture to aperture

void QCameraExposureControl::setManualIsoSensitivity ( int iso )   [pure virtual]

Set the sensitivity to iso

void QCameraExposureControl::setManualShutterSpeed ( qreal seconds )   [pure virtual]

Set the shutter speed to seconds

void QCameraExposureControl::setMeteringMode ( QCamera::MeteringMode mode )   [pure virtual]

Set the metering mode to mode.

See also meteringMode().

qreal QCameraExposureControl::shutterSpeed () const   [pure virtual]

Returns the shutter speed

void QCameraExposureControl::shutterSpeedChanged ( qreal value )   [signal]

Signal emitted when the shutter speed changes to value.

QList<qreal> QCameraExposureControl::supportedApertures ( bool * continuous = 0 ) const   [pure virtual]

Returns the list of aperture values camera supports. The apertures list can change depending on the focal length, in such a case the apertureRangeChanged() signal is emited.

If the camera supports arbitrary aperture values within the supported range, *continuous is set to true, otherwise *continuous is set to false.

QCamera::ExposureModes QCameraExposureControl::supportedExposureModes () const   [pure virtual]

Returns the available exposure modes.

QCamera::FlashModes QCameraExposureControl::supportedFlashModes () const   [pure virtual]

Returns the flash modes available.

QList<int> QCameraExposureControl::supportedIsoSensitivities ( bool * continuous = 0 ) const   [pure virtual]

Returns the list of ISO senitivities camera supports.

If the camera supports arbitrary ISO sensitivities within the supported range, *continuous is set to true, otherwise *continuous is set to false.

QCamera::MeteringModes QCameraExposureControl::supportedMeteringModes () const   [pure virtual]

Return the metering modes available.

QList<qreal> QCameraExposureControl::supportedShutterSpeeds ( bool * continuous = 0 ) const   [pure virtual]

Returns the list of shutter speed values in seconds camera supports.

If the camera supports arbitrary shutter speed values within the supported range, *continuous is set to true, otherwise *continuous is set to false.

void QCameraExposureControl::unlockExposure ()   [pure virtual slot]

Unlock the exposure.


Macro Documentation

QCameraExposureControl_iid

com.nokia.Qt.QCameraExposureControl/1.0

Defines the interface name of the QCameraExposureControl class.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0