QCameraCaptureDestinationControlclass provides a control for setting capture destination. 更多 …
Depending on backend capabilities capture to file, buffer or both can be supported.
The interface name of
QCameraCaptureDestinationControlisorg.qt-project.qt.cameracapturedestinationcontrol/5.0作为定义在QCameraCaptureDestinationControl_iid.另请参阅
QCameraCaptureDestinationControl
(
[
parent=None
]
)
¶
- param parent
QObject
Constructs a new image capture destination control object with the given
parent
PySide2.QtMultimedia.QCameraCaptureDestinationControl.
captureDestination
(
)
¶
CaptureDestinations
Returns the current capture destination. The default destination is
CaptureToFile
.
PySide2.QtMultimedia.QCameraCaptureDestinationControl.
captureDestinationChanged
(
destination
)
¶
destination
–
CaptureDestinations
PySide2.QtMultimedia.QCameraCaptureDestinationControl.
isCaptureDestinationSupported
(
destination
)
¶
destination
–
CaptureDestinations
bool
Returns true if the capture
destination
is supported; and false if it is not.
PySide2.QtMultimedia.QCameraCaptureDestinationControl.
setCaptureDestination
(
destination
)
¶
destination
–
CaptureDestinations
Sets the capture
destination
.
另请参阅