QCameraViewfinder

The QCameraViewfinder class provides a camera viewfinder widget. More

Inheritance diagram of PySide2.QtMultimediaWidgets.QCameraViewfinder

Detailed Description

camera = new QCamera;

viewfinder = new QCameraViewfinder();
viewfinder->show();

camera->setViewfinder(viewfinder);

imageCapture = new QCameraImageCapture(camera);

camera->setCaptureMode(QCamera::CaptureStillImage);
camera->start();
class PySide2.QtMultimediaWidgets.QCameraViewfinder([parent=None])

Constructs a new camera viewfinder widget.

The parent is passed to QVideoWidget .