QCameraViewfinderSettingsControl2

The QCameraViewfinderSettingsControl2 class provides access to the viewfinder settings of a camera media service. More

Inheritance diagram of PySide2.QtMultimedia.QCameraViewfinderSettingsControl2

Detailed Description

The functionality provided by this control is exposed to application code through the QCamera class.

The interface name of QCameraViewfinderSettingsControl2 is org.qt-project.qt.cameraviewfindersettingscontrol2/5.5 as defined in QCameraViewfinderSettingsControl2_iid .

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

PySide2.QtCore.QObject

Constructs a camera viewfinder settings control object with parent .

PySide2.QtMultimedia.QCameraViewfinderSettingsControl2.setViewfinderSettings(settings)
Parameters:

settingsPySide2.QtMultimedia.QCameraViewfinderSettings

Sets the camera viewfinder settings .

PySide2.QtMultimedia.QCameraViewfinderSettingsControl2.supportedViewfinderSettings()
Return type:

Returns a list of supported camera viewfinder settings.

The list is ordered by preference; preferred settings come first.

PySide2.QtMultimedia.QCameraViewfinderSettingsControl2.viewfinderSettings()
Return type:

PySide2.QtMultimedia.QCameraViewfinderSettings

Returns the viewfinder settings.

If undefined or unsupported values are passed to setViewfinderSettings() , this function returns the actual settings used by the camera viewfinder. These may be available only once the camera is active.