QCameraZoomControl¶
The
QCameraZoomControl
class supplies control for optical and digital camera zoom. More…
Detailed Description¶
The interface name of
QCameraZoomControl
isorg.qt-project.qt.camerazoomcontrol/5.0
as defined inQCameraZoomControl_iid
.See also
-
class
QCameraZoomControl
([parent=None])¶ - param parent
QObject
Constructs a camera zoom control object with
parent
.
-
PySide2.QtMultimedia.QCameraZoomControl.
currentDigitalZoom
()¶ - Return type
qreal
Return the current digital zoom value.
-
PySide2.QtMultimedia.QCameraZoomControl.
currentDigitalZoomChanged
(digitalZoom)¶ - Parameters
digitalZoom –
qreal
-
PySide2.QtMultimedia.QCameraZoomControl.
currentOpticalZoom
()¶ - Return type
qreal
Return the current optical zoom value.
-
PySide2.QtMultimedia.QCameraZoomControl.
currentOpticalZoomChanged
(opticalZoom)¶ - Parameters
opticalZoom –
qreal
-
PySide2.QtMultimedia.QCameraZoomControl.
maximumDigitalZoom
()¶ - Return type
qreal
Returns the maximum digital zoom value, or 1.0 if digital zoom is not supported.
-
PySide2.QtMultimedia.QCameraZoomControl.
maximumDigitalZoomChanged
(arg__1)¶ - Parameters
arg__1 –
qreal
-
PySide2.QtMultimedia.QCameraZoomControl.
maximumOpticalZoom
()¶ - Return type
qreal
Returns the maximum optical zoom value, or 1.0 if optical zoom is not supported.
-
PySide2.QtMultimedia.QCameraZoomControl.
maximumOpticalZoomChanged
(arg__1)¶ - Parameters
arg__1 –
qreal
-
PySide2.QtMultimedia.QCameraZoomControl.
requestedDigitalZoom
()¶ - Return type
qreal
Return the requested digital zoom value.
-
PySide2.QtMultimedia.QCameraZoomControl.
requestedDigitalZoomChanged
(digitalZoom)¶ - Parameters
digitalZoom –
qreal
-
PySide2.QtMultimedia.QCameraZoomControl.
requestedOpticalZoom
()¶ - Return type
qreal
Return the requested optical zoom value.
-
PySide2.QtMultimedia.QCameraZoomControl.
requestedOpticalZoomChanged
(opticalZoom)¶ - Parameters
opticalZoom –
qreal
-
PySide2.QtMultimedia.QCameraZoomControl.
zoomTo
(optical, digital)¶ - Parameters
optical –
qreal
digital –
qreal
Sets
optical
anddigital
zoom values.Zooming can be asynchronous with value changes reported with
currentDigitalZoomChanged()
andcurrentOpticalZoomChanged()
signals.The backend should expect and correctly handle frequent calls during zoom animations or slider movements.
© 2018 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.