Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtMultimedia »

Classe « QCamera »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QCamera

Définition

class QCamera(QObject):

Description [extrait de QCamera.__doc__]

QCamera(self, cameraDevice: PySide6.QtMultimedia.QCameraDevice, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QCamera(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QCamera(self, position: PySide6.QtMultimedia.QCameraDevice.Position, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
CameraErrorPySide6.QtMultimedia.QCamera.Error.CameraError
ExposureActionPySide6.QtMultimedia.QCamera.ExposureMode.ExposureAction
ExposureAutoPySide6.QtMultimedia.QCamera.ExposureMode.ExposureAuto
ExposureBarcodePySide6.QtMultimedia.QCamera.ExposureMode.ExposureBarcode
ExposureBeachPySide6.QtMultimedia.QCamera.ExposureMode.ExposureBeach
ExposureCandlelightPySide6.QtMultimedia.QCamera.ExposureMode.ExposureCandlelight
ExposureFireworksPySide6.QtMultimedia.QCamera.ExposureMode.ExposureFireworks
ExposureLandscapePySide6.QtMultimedia.QCamera.ExposureMode.ExposureLandscape
ExposureManualPySide6.QtMultimedia.QCamera.ExposureMode.ExposureManual
ExposureNightPySide6.QtMultimedia.QCamera.ExposureMode.ExposureNight
ExposureNightPortraitPySide6.QtMultimedia.QCamera.ExposureMode.ExposureNightPortrait
ExposurePartyPySide6.QtMultimedia.QCamera.ExposureMode.ExposureParty
ExposurePortraitPySide6.QtMultimedia.QCamera.ExposureMode.ExposurePortrait
ExposureSnowPySide6.QtMultimedia.QCamera.ExposureMode.ExposureSnow
ExposureSportsPySide6.QtMultimedia.QCamera.ExposureMode.ExposureSports
ExposureSteadyPhotoPySide6.QtMultimedia.QCamera.ExposureMode.ExposureSteadyPhoto
ExposureSunsetPySide6.QtMultimedia.QCamera.ExposureMode.ExposureSunset
ExposureTheatrePySide6.QtMultimedia.QCamera.ExposureMode.ExposureTheatre
FlashAutoPySide6.QtMultimedia.QCamera.FlashMode.FlashAuto
FlashOffPySide6.QtMultimedia.QCamera.FlashMode.FlashOff
FlashOnPySide6.QtMultimedia.QCamera.FlashMode.FlashOn
FocusModeAutoPySide6.QtMultimedia.QCamera.FocusMode.FocusModeAuto
FocusModeAutoFarPySide6.QtMultimedia.QCamera.FocusMode.FocusModeAutoFar
FocusModeAutoNearPySide6.QtMultimedia.QCamera.FocusMode.FocusModeAutoNear
FocusModeHyperfocalPySide6.QtMultimedia.QCamera.FocusMode.FocusModeHyperfocal
FocusModeInfinityPySide6.QtMultimedia.QCamera.FocusMode.FocusModeInfinity
FocusModeManualPySide6.QtMultimedia.QCamera.FocusMode.FocusModeManual
NoErrorPySide6.QtMultimedia.QCamera.Error.NoError
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dcf113c0>
TorchAutoPySide6.QtMultimedia.QCamera.TorchMode.TorchAuto
TorchOffPySide6.QtMultimedia.QCamera.TorchMode.TorchOff
TorchOnPySide6.QtMultimedia.QCamera.TorchMode.TorchOn
WhiteBalanceAutoPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceAuto
WhiteBalanceCloudyPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceCloudy
WhiteBalanceFlashPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceFlash
WhiteBalanceFluorescentPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceFluorescent
WhiteBalanceManualPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceManual
WhiteBalanceShadePySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceShade
WhiteBalanceSunlightPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceSunlight
WhiteBalanceSunsetPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceSunset
WhiteBalanceTungstenPySide6.QtMultimedia.QCamera.WhiteBalanceMode.WhiteBalanceTungsten

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
activeChanged
brightnessChanged
cameraDevice(self) -> PySide6.QtMultimedia.QCameraDevice cameraDevice(self) -> PySide6.QtMultimedia.QCameraDevice [extrait de cameraDevice.__doc__]
cameraDeviceChanged
cameraFormat(self) -> PySide6.QtMultimedia.QCameraFormat cameraFormat(self) -> PySide6.QtMultimedia.QCameraFormat [extrait de cameraFormat.__doc__]
cameraFormatChanged
captureSession(self) -> PySide6.QtMultimedia.QMediaCaptureSession captureSession(self) -> PySide6.QtMultimedia.QMediaCaptureSession [extrait de captureSession.__doc__]
colorTemperature(self) -> int colorTemperature(self) -> int [extrait de colorTemperature.__doc__]
colorTemperatureChanged
contrastChanged
customFocusPoint(self) -> PySide6.QtCore.QPointF customFocusPoint(self) -> PySide6.QtCore.QPointF [extrait de customFocusPoint.__doc__]
customFocusPointChanged
destroyed
Error
error(self) -> PySide6.QtMultimedia.QCamera.Error error(self) -> PySide6.QtMultimedia.QCamera.Error [extrait de error.__doc__]
errorChanged
errorOccurred
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
exposureCompensation(self) -> float exposureCompensation(self) -> float [extrait de exposureCompensation.__doc__]
exposureCompensationChanged
ExposureMode
exposureMode(self) -> PySide6.QtMultimedia.QCamera.ExposureMode exposureMode(self) -> PySide6.QtMultimedia.QCamera.ExposureMode [extrait de exposureMode.__doc__]
exposureModeChanged
exposureTime(self) -> float exposureTime(self) -> float [extrait de exposureTime.__doc__]
exposureTimeChanged
Feature
Features
FlashMode
flashMode(self) -> PySide6.QtMultimedia.QCamera.FlashMode flashMode(self) -> PySide6.QtMultimedia.QCamera.FlashMode [extrait de flashMode.__doc__]
flashModeChanged
flashReady
focusDistance(self) -> float focusDistance(self) -> float [extrait de focusDistance.__doc__]
focusDistanceChanged
FocusMode
focusMode(self) -> PySide6.QtMultimedia.QCamera.FocusMode focusMode(self) -> PySide6.QtMultimedia.QCamera.FocusMode [extrait de focusMode.__doc__]
focusModeChanged
focusPoint(self) -> PySide6.QtCore.QPointF focusPoint(self) -> PySide6.QtCore.QPointF [extrait de focusPoint.__doc__]
focusPointChanged
hueChanged
isActive(self) -> bool isActive(self) -> bool [extrait de isActive.__doc__]
isAvailable(self) -> bool isAvailable(self) -> bool [extrait de isAvailable.__doc__]
isExposureModeSupported(self, mode: PySide6.QtMultimedia.QCamera.ExposureMode) -> bool isExposureModeSupported(self, mode: PySide6.QtMultimedia.QCamera.ExposureMode) -> bool [extrait de isExposureModeSupported.__doc__]
isFlashModeSupported(self, mode: PySide6.QtMultimedia.QCamera.FlashMode) -> bool isFlashModeSupported(self, mode: PySide6.QtMultimedia.QCamera.FlashMode) -> bool [extrait de isFlashModeSupported.__doc__]
isFlashReady(self) -> bool isFlashReady(self) -> bool [extrait de isFlashReady.__doc__]
isFocusModeSupported(self, mode: PySide6.QtMultimedia.QCamera.FocusMode) -> bool isFocusModeSupported(self, mode: PySide6.QtMultimedia.QCamera.FocusMode) -> bool [extrait de isFocusModeSupported.__doc__]
isoSensitivity(self) -> int isoSensitivity(self) -> int [extrait de isoSensitivity.__doc__]
isoSensitivityChanged
isTorchModeSupported(self, mode: PySide6.QtMultimedia.QCamera.TorchMode) -> bool isTorchModeSupported(self, mode: PySide6.QtMultimedia.QCamera.TorchMode) -> bool [extrait de isTorchModeSupported.__doc__]
isWhiteBalanceModeSupported(self, mode: PySide6.QtMultimedia.QCamera.WhiteBalanceMode) -> bool isWhiteBalanceModeSupported(self, mode: PySide6.QtMultimedia.QCamera.WhiteBalanceMode) -> bool [extrait de isWhiteBalanceModeSupported.__doc__]
manualExposureTime(self) -> float manualExposureTime(self) -> float [extrait de manualExposureTime.__doc__]
manualExposureTimeChanged
manualIsoSensitivity(self) -> int manualIsoSensitivity(self) -> int [extrait de manualIsoSensitivity.__doc__]
manualIsoSensitivityChanged
maximumExposureTime(self) -> float maximumExposureTime(self) -> float [extrait de maximumExposureTime.__doc__]
maximumIsoSensitivity(self) -> int maximumIsoSensitivity(self) -> int [extrait de maximumIsoSensitivity.__doc__]
maximumZoomFactor(self) -> float maximumZoomFactor(self) -> float [extrait de maximumZoomFactor.__doc__]
maximumZoomFactorChanged
minimumExposureTime(self) -> float minimumExposureTime(self) -> float [extrait de minimumExposureTime.__doc__]
minimumIsoSensitivity(self) -> int minimumIsoSensitivity(self) -> int [extrait de minimumIsoSensitivity.__doc__]
minimumZoomFactor(self) -> float minimumZoomFactor(self) -> float [extrait de minimumZoomFactor.__doc__]
minimumZoomFactorChanged
objectNameChanged
saturationChanged
setActive(self, active: bool) -> None setActive(self, active: bool) -> None [extrait de setActive.__doc__]
setAutoExposureTime(self) -> None setAutoExposureTime(self) -> None [extrait de setAutoExposureTime.__doc__]
setAutoIsoSensitivity(self) -> None setAutoIsoSensitivity(self) -> None [extrait de setAutoIsoSensitivity.__doc__]
setCameraDevice(self, cameraDevice: PySide6.QtMultimedia.QCameraDevice) -> None setCameraDevice(self, cameraDevice: PySide6.QtMultimedia.QCameraDevice) -> None [extrait de setCameraDevice.__doc__]
setCameraFormat(self, format: PySide6.QtMultimedia.QCameraFormat) -> None setCameraFormat(self, format: PySide6.QtMultimedia.QCameraFormat) -> None [extrait de setCameraFormat.__doc__]
setColorTemperature(self, colorTemperature: int) -> None setColorTemperature(self, colorTemperature: int) -> None [extrait de setColorTemperature.__doc__]
setCustomFocusPoint(self, point: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> None setCustomFocusPoint(self, point: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> None [extrait de setCustomFocusPoint.__doc__]
setExposureCompensation(self, ev: float) -> None setExposureCompensation(self, ev: float) -> None [extrait de setExposureCompensation.__doc__]
setExposureMode(self, mode: PySide6.QtMultimedia.QCamera.ExposureMode) -> None setExposureMode(self, mode: PySide6.QtMultimedia.QCamera.ExposureMode) -> None [extrait de setExposureMode.__doc__]
setFlashMode(self, mode: PySide6.QtMultimedia.QCamera.FlashMode) -> None setFlashMode(self, mode: PySide6.QtMultimedia.QCamera.FlashMode) -> None [extrait de setFlashMode.__doc__]
setFocusDistance(self, d: float) -> None setFocusDistance(self, d: float) -> None [extrait de setFocusDistance.__doc__]
setFocusMode(self, mode: PySide6.QtMultimedia.QCamera.FocusMode) -> None setFocusMode(self, mode: PySide6.QtMultimedia.QCamera.FocusMode) -> None [extrait de setFocusMode.__doc__]
setManualExposureTime(self, seconds: float) -> None setManualExposureTime(self, seconds: float) -> None [extrait de setManualExposureTime.__doc__]
setManualIsoSensitivity(self, iso: int) -> None setManualIsoSensitivity(self, iso: int) -> None [extrait de setManualIsoSensitivity.__doc__]
setTorchMode(self, mode: PySide6.QtMultimedia.QCamera.TorchMode) -> None setTorchMode(self, mode: PySide6.QtMultimedia.QCamera.TorchMode) -> None [extrait de setTorchMode.__doc__]
setWhiteBalanceMode(self, mode: PySide6.QtMultimedia.QCamera.WhiteBalanceMode) -> None setWhiteBalanceMode(self, mode: PySide6.QtMultimedia.QCamera.WhiteBalanceMode) -> None [extrait de setWhiteBalanceMode.__doc__]
setZoomFactor(self, factor: float) -> None setZoomFactor(self, factor: float) -> None [extrait de setZoomFactor.__doc__]
start(self) -> None start(self) -> None [extrait de start.__doc__]
stop(self) -> None stop(self) -> None [extrait de stop.__doc__]
supportedFeatures(self) -> PySide6.QtMultimedia.QCamera.Features supportedFeatures(self) -> PySide6.QtMultimedia.QCamera.Features [extrait de supportedFeatures.__doc__]
supportedFeaturesChanged
TorchMode
torchMode(self) -> PySide6.QtMultimedia.QCamera.TorchMode torchMode(self) -> PySide6.QtMultimedia.QCamera.TorchMode [extrait de torchMode.__doc__]
torchModeChanged
tr
WhiteBalanceMode
whiteBalanceMode(self) -> PySide6.QtMultimedia.QCamera.WhiteBalanceMode whiteBalanceMode(self) -> PySide6.QtMultimedia.QCamera.WhiteBalanceMode [extrait de whiteBalanceMode.__doc__]
whiteBalanceModeChanged
zoomFactor(self) -> float zoomFactor(self) -> float [extrait de zoomFactor.__doc__]
zoomFactorChanged
zoomTo(self, zoom: float, rate: float) -> None zoomTo(self, zoom: float, rate: float) -> None [extrait de zoomTo.__doc__]

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__