内容表

上一话题

QCameraControl

下一话题

QCameraExposureControl

QCameraExposure

QCameraExposure class provides interface for exposure related camera settings. 更多

Inheritance diagram of PySide2.QtMultimedia.QCameraExposure

详细描述

PySide2.QtMultimedia.QCameraExposure. FlashMode

常量

描述

QCameraExposure.FlashAuto

自动闪光。

QCameraExposure.FlashOff

Flash is Off.

QCameraExposure.FlashOn

Flash is On.

QCameraExposure.FlashRedEyeReduction

Red eye reduction flash.

QCameraExposure.FlashFill

Use flash to fillin shadows.

QCameraExposure.FlashTorch

Constant light source. If supported, torch can be enabled without loading the camera.

QCameraExposure.FlashVideoLight

Constant light source, useful for video capture. The light is turned on only while camera is active.

QCameraExposure.FlashSlowSyncFrontCurtain

Use the flash in conjunction with a slow shutter speed. This mode allows better exposure of distant objects and/or motion blur effect.

QCameraExposure.FlashSlowSyncRearCurtain

The similar mode to but flash is fired at the end of exposure.

QCameraExposure.FlashManual

Flash power is manualy set.

PySide2.QtMultimedia.QCameraExposure. ExposureMode

常量

描述

QCameraExposure.ExposureAuto

自动模式。

QCameraExposure.ExposureManual

手动模式。

QCameraExposure.ExposurePortrait

肖象曝光模式。

QCameraExposure.ExposureNight

夜间模式。

QCameraExposure.ExposureBacklight

背光曝光模式。

QCameraExposure.ExposureSpotlight

聚光灯曝光模式。

QCameraExposure.ExposureSports

亮点曝光模式。

QCameraExposure.ExposureSnow

Snow exposure mode.

QCameraExposure.ExposureBeach

Beach exposure mode.

QCameraExposure.ExposureLargeAperture

Use larger aperture with small depth of field.

QCameraExposure.ExposureSmallAperture

Use smaller aperture.

QCameraExposure.ExposureAction

Action mode. Since 5.5

QCameraExposure.ExposureLandscape

Landscape mode. Since 5.5

QCameraExposure.ExposureNightPortrait

Night portrait mode. Since 5.5

QCameraExposure.ExposureTheatre

Theatre mode. Since 5.5

QCameraExposure.ExposureSunset

Sunset mode. Since 5.5

QCameraExposure.ExposureSteadyPhoto

Steady photo mode. Since 5.5

QCameraExposure.ExposureFireworks

Fireworks mode. Since 5.5

QCameraExposure.ExposureParty

Party mode. Since 5.5

QCameraExposure.ExposureCandlelight

Candlelight mode. Since 5.5

QCameraExposure.ExposureBarcode

Barcode mode. Since 5.5

QCameraExposure.ExposureModeVendor

The base value for device specific exposure modes.

PySide2.QtMultimedia.QCameraExposure. MeteringMode

常量

描述

QCameraExposure.MeteringMatrix

Matrix metering mode.

QCameraExposure.MeteringAverage

Center weighted average metering mode.

QCameraExposure.MeteringSpot

Spot metering mode.

PySide2.QtMultimedia.QCameraExposure. aperture ( )
返回类型

qreal

PySide2.QtMultimedia.QCameraExposure. apertureChanged ( arg__1 )
参数

arg__1 qreal

PySide2.QtMultimedia.QCameraExposure. apertureRangeChanged ( )
PySide2.QtMultimedia.QCameraExposure. exposureCompensation ( )
返回类型

qreal

PySide2.QtMultimedia.QCameraExposure. exposureCompensationChanged ( arg__1 )
参数

arg__1 qreal

PySide2.QtMultimedia.QCameraExposure. exposureMode ( )
返回类型

ExposureMode

另请参阅

setExposureMode()

PySide2.QtMultimedia.QCameraExposure. flashMode ( )
返回类型

FlashModes

另请参阅

setFlashMode()

PySide2.QtMultimedia.QCameraExposure. flashReady ( arg__1 )
参数

arg__1 bool

PySide2.QtMultimedia.QCameraExposure. isAvailable ( )
返回类型

bool

Returns true if exposure settings are supported by this camera.

PySide2.QtMultimedia.QCameraExposure. isExposureModeSupported ( mode )
参数

mode ExposureMode

返回类型

bool

Returns true if the exposure mode is supported.

PySide2.QtMultimedia.QCameraExposure. isFlashModeSupported ( mode )
参数

mode FlashModes

返回类型

bool

Returns true if the flash mode is supported.

PySide2.QtMultimedia.QCameraExposure. isFlashReady ( )
返回类型

bool

Returns true if flash is charged.

PySide2.QtMultimedia.QCameraExposure. isMeteringModeSupported ( mode )
参数

mode MeteringMode

返回类型

bool

Returns true if the metering mode is supported.

PySide2.QtMultimedia.QCameraExposure. isoSensitivity ( )
返回类型

int

PySide2.QtMultimedia.QCameraExposure. isoSensitivityChanged ( arg__1 )
参数

arg__1 int

PySide2.QtMultimedia.QCameraExposure. meteringMode ( )
返回类型

MeteringMode

另请参阅

setMeteringMode()

PySide2.QtMultimedia.QCameraExposure. requestedAperture ( )
返回类型

qreal

Returns the requested manual aperture or -1.0 if automatic aperture is turned on.

PySide2.QtMultimedia.QCameraExposure. requestedIsoSensitivity ( )
返回类型

int

Returns the requested ISO sensitivity or -1 if automatic ISO is turned on.

PySide2.QtMultimedia.QCameraExposure. requestedShutterSpeed ( )
返回类型

qreal

Returns the requested manual shutter speed in seconds or -1.0 if automatic shutter speed is turned on.

PySide2.QtMultimedia.QCameraExposure. setAutoAperture ( )

Turn on auto aperture

PySide2.QtMultimedia.QCameraExposure. setAutoIsoSensitivity ( )

Turn on auto sensitivity

PySide2.QtMultimedia.QCameraExposure. setAutoShutterSpeed ( )

Turn on auto shutter speed

PySide2.QtMultimedia.QCameraExposure. setExposureCompensation ( ev )
参数

ev qreal

PySide2.QtMultimedia.QCameraExposure. setExposureMode ( mode )
参数

mode ExposureMode

另请参阅

exposureMode()

PySide2.QtMultimedia.QCameraExposure. setFlashMode ( mode )
参数

mode FlashModes

另请参阅

flashMode()

PySide2.QtMultimedia.QCameraExposure. setManualAperture ( aperture )
参数

aperture qreal

Sets the manual camera aperture 值。

PySide2.QtMultimedia.QCameraExposure. setManualIsoSensitivity ( iso )
参数

iso int

Sets the manual sensitivity to iso

PySide2.QtMultimedia.QCameraExposure. setManualShutterSpeed ( seconds )
参数

seconds qreal

Set the manual shutter speed to seconds

PySide2.QtMultimedia.QCameraExposure. setMeteringMode ( mode )
参数

mode MeteringMode

另请参阅

meteringMode()

PySide2.QtMultimedia.QCameraExposure. setSpotMeteringPoint ( point )
参数

point QPointF

Allows setting the spot metering point to point .

PySide2.QtMultimedia.QCameraExposure. shutterSpeed ( )
返回类型

qreal

Returns the current shutter speed in seconds.

PySide2.QtMultimedia.QCameraExposure. shutterSpeedChanged ( speed )
参数

speed qreal

PySide2.QtMultimedia.QCameraExposure. shutterSpeedRangeChanged ( )
PySide2.QtMultimedia.QCameraExposure. spotMeteringPoint ( )
返回类型

QPointF

When supported, the spot metering point is the (normalized) position of the point of the image where exposure metering will be performed. This is typically used to indicate an “interesting” area of the image that should be exposed properly.

The coordinates are relative frame coordinates: QPointF (0,0) points to the left top frame point, QPointF (0.5,0.5) points to the frame center, which is typically the default spot metering point.

The spot metering point is only used with spot metering mode.