Camera QML Type
An interface for focus and zoom related camera settings. More...
Import Statement: | import QtMultimedia |
Detailed Description
This type allows control over manual and automatic focus settings, including information about any parts of the camera frame that are selected for auto focusing.
It should not be constructed separately, instead the focus
property of a Camera should be used.
Item { width: 640 height: 360 Camera { id: camera focus { focusMode: Camera.FocusMacro customFocusPoint: Qt.point(0.2, 0.2) // Focus relative to top-left corner } } VideoOutput { source: camera anchors.fill: parent } }