The QCameraExposureControl class supplies control for exposure related camera parameters. More...
#include <QCameraExposureControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.1.
enum | ExposureParameter { InvalidParameter, ISO, Aperture, ShutterSpeed, ..., ExtendedExposureParameter } |
enum | ParameterFlag { AutomaticValue, ReadOnly, ContinuousRange } |
flags | ParameterFlags |
~QCameraExposureControl () | |
virtual QCameraExposure::ExposureMode | exposureMode () const = 0 |
virtual QVariant | exposureParameter ( ExposureParameter parameter ) const = 0 |
virtual ParameterFlags | exposureParameterFlags ( ExposureParameter parameter ) const = 0 |
virtual QString | extendedParameterName ( ExposureParameter parameter ) = 0 |
virtual bool | isExposureModeSupported ( QCameraExposure::ExposureMode mode ) const = 0 |
virtual bool | isMeteringModeSupported ( QCameraExposure::MeteringMode mode ) const = 0 |
virtual bool | isParameterSupported ( ExposureParameter parameter ) const = 0 |
virtual QCameraExposure::MeteringMode | meteringMode () const = 0 |
virtual void | setExposureMode ( QCameraExposure::ExposureMode mode ) = 0 |
virtual bool | setExposureParameter ( ExposureParameter parameter, const QVariant & value ) = 0 |
virtual void | setMeteringMode ( QCameraExposure::MeteringMode mode ) = 0 |
virtual QVariantList | supportedParameterRange ( ExposureParameter parameter ) const = 0 |
void | exposureParameterChanged ( int parameter ) |
void | exposureParameterRangeChanged ( int parameter ) |
void | flashReady ( bool ready ) |
QCameraExposureControl ( QObject * parent = 0 ) |
QCameraExposureControl_iid |
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.
See also QCamera.
Constant | Value | Description |
---|---|---|
QCameraExposureControl::InvalidParameter | 0 | Parameter is invalid. |
QCameraExposureControl::ISO | 1 | Camera ISO sensitivity, specified as integer value. |
QCameraExposureControl::Aperture | 2 | Lens aperture is specified as an qreal F number. The supported apertures list can change depending on the focal length, in such a case the exposureParameterRangeChanged() signal is emitted. |
QCameraExposureControl::ShutterSpeed | 3 | Shutter speed in seconds, specified as qreal. |
QCameraExposureControl::ExposureCompensation | 4 | Exposure compensation, specified as qreal EV value. |
QCameraExposureControl::FlashPower | 5 | Manual flash power, specified as qreal value. Accepted power range is [0..1.0], with 0 value means no flash and 1.0 corresponds to full flash power. |
This value is only used in the manual flash mode.
Constant | Value | Description |
---|---|---|
QCameraExposureControl::FlashCompensation | 6 | Flash compensation, specified as qreal EV value. |
QCameraExposureControl::ExtendedExposureParameter | 1000 | The base value for platform specific extended parameters. For such parameters the sequential values starting from ExtendedExposureParameter shuld be used. |
Constant | Value | Description |
---|---|---|
QCameraExposureControl::AutomaticValue | 0x01 | Use the automatic values for parameters. |
QCameraExposureControl::ReadOnly | 0x02 | Parameters are read only. |
QCameraExposureControl::ContinuousRange | 0x04 | Parameters are continuous in their range. |
The ParameterFlags type is a typedef for QFlags<ParameterFlag>. It stores an OR combination of ParameterFlag values.
Constructs a camera exposure control object with parent.
Destruct the camera control object.
Returns the exposure mode.
This function was introduced in Qt Mobility 1.1.
See also setExposureMode().
Returns the exposure parameter value, or invalid QVariant() if the value is unknown or not supported.
This function was introduced in Qt Mobility 1.1.
See also setExposureParameter().
Signal emitted when the exposure parameter has changed.
This function was introduced in Qt Mobility 1.1.
Returns the properties of exposure parameter.
This function was introduced in Qt Mobility 1.1.
Signal emitted when the exposure parameter range has changed.
This function was introduced in Qt Mobility 1.1.
Returns the extended exposure parameter name.
This function was introduced in Qt Mobility 1.1.
Signal emitted when flash state changes, flash is charged ready.
This function was introduced in Qt Mobility 1.1.
Returns true if the exposure mode is supported.
This function was introduced in Qt Mobility 1.1.
Returns true if the metering mode is supported.
This function was introduced in Qt Mobility 1.1.
Returns true is exposure parameter is supported by backend.
This function was introduced in Qt Mobility 1.1.
Returns the current metering mode.
This function was introduced in Qt Mobility 1.1.
See also setMeteringMode().
Set the exposure mode to mode.
This function was introduced in Qt Mobility 1.1.
See also exposureMode().
Set the exposure parameter to value. If a null or invalid QVariant is passed, backend should choose the value automatically, and if possible report the actual value to user with QCameraExposureControl::exposureParameter().
Returns true if parameter is supported and value is correct.
This function was introduced in Qt Mobility 1.1.
See also exposureParameter().
Set the metering mode to mode.
This function was introduced in Qt Mobility 1.1.
See also meteringMode().
Returns the list of supported parameter values;
This function was introduced in Qt Mobility 1.1.
com.nokia.Qt.QCameraExposureControl/1.0
Defines the interface name of the QCameraExposureControl class.