QCameraFocusControl

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

Inheritance diagram of PySide2.QtMultimedia.QCameraFocusControl

Detailed Description

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

class PySide2.QtMultimedia.QCameraFocusControl([parent=None])
param parent:

PySide2.QtCore.QObject

Constructs a camera control object with parent .

PySide2.QtMultimedia.QCameraFocusControl.customFocusPoint()
Return type:

PySide2.QtCore.QPointF

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.

PySide2.QtMultimedia.QCameraFocusControl.customFocusPointChanged(point)
Parameters:

pointPySide2.QtCore.QPointF

PySide2.QtMultimedia.QCameraFocusControl.focusMode()
Return type:

FocusModes

Returns the focus mode being used.

See also

setFocusMode()

PySide2.QtMultimedia.QCameraFocusControl.focusModeChanged(mode)
Parameters:

modeFocusModes

PySide2.QtMultimedia.QCameraFocusControl.focusPointMode()
Return type:

FocusPointMode

Returns the camera focus point selection mode.

PySide2.QtMultimedia.QCameraFocusControl.focusPointModeChanged(mode)
Parameters:

modeFocusPointMode

PySide2.QtMultimedia.QCameraFocusControl.focusZones()
Return type:

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

PySide2.QtMultimedia.QCameraFocusControl.focusZonesChanged()
PySide2.QtMultimedia.QCameraFocusControl.isFocusModeSupported(mode)
Parameters:

modeFocusModes

Return type:

bool

Returns true if focus mode is supported.

PySide2.QtMultimedia.QCameraFocusControl.isFocusPointModeSupported(mode)
Parameters:

modeFocusPointMode

Return type:

bool

Returns true if the camera focus point mode is supported.

PySide2.QtMultimedia.QCameraFocusControl.setCustomFocusPoint(point)
Parameters:

pointPySide2.QtCore.QPointF

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

PySide2.QtMultimedia.QCameraFocusControl.setFocusMode(mode)
Parameters:

modeFocusModes

Set the focus mode to mode .

See also

focusMode()

PySide2.QtMultimedia.QCameraFocusControl.setFocusPointMode(mode)
Parameters:

modeFocusPointMode

Sets the camera focus point selection mode .

See also

focusPointMode()