QCameraFocusControl¶
The
QCameraFocusControl
class supplies control for focusing related camera parameters. More…
Detailed Description¶
The interface name of
QCameraFocusControl
isorg.qt-project.qt.camerafocuscontrol/5.0
as defined inQCameraFocusControl_iid
.See also
- class PySide2.QtMultimedia.QCameraFocusControl([parent=None])¶
- param parent:
Constructs a camera control object with
parent
.
- PySide2.QtMultimedia.QCameraFocusControl.customFocusPoint()¶
- Return type:
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.
See also
- PySide2.QtMultimedia.QCameraFocusControl.customFocusPointChanged(point)¶
- Parameters:
point –
PySide2.QtCore.QPointF
- PySide2.QtMultimedia.QCameraFocusControl.focusMode()¶
- Return type:
FocusModes
Returns the focus mode being used.
See also
- PySide2.QtMultimedia.QCameraFocusControl.focusModeChanged(mode)¶
- Parameters:
mode –
FocusModes
- PySide2.QtMultimedia.QCameraFocusControl.focusPointMode()¶
- Return type:
Returns the camera focus point selection mode.
See also
- PySide2.QtMultimedia.QCameraFocusControl.focusPointModeChanged(mode)¶
- Parameters:
mode –
FocusPointMode
- 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:
mode –
FocusModes
- Return type:
bool
Returns true if focus
mode
is supported.
- PySide2.QtMultimedia.QCameraFocusControl.isFocusPointModeSupported(mode)¶
- Parameters:
mode –
FocusPointMode
- Return type:
bool
Returns true if the camera focus point
mode
is supported.
- PySide2.QtMultimedia.QCameraFocusControl.setCustomFocusPoint(point)¶
- Parameters:
point –
PySide2.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()
.See also
- PySide2.QtMultimedia.QCameraFocusControl.setFocusMode(mode)¶
- Parameters:
mode –
FocusModes
Set the focus mode to
mode
.See also
- PySide2.QtMultimedia.QCameraFocusControl.setFocusPointMode(mode)¶
- Parameters:
mode –
FocusPointMode
Sets the camera focus point selection
mode
.See also
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.