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.QtSensors »

Classe « QSensor »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QSensor

Définition

class QSensor(QObject):

Description [extrait de QSensor.__doc__]

QSensor(self, type: Union[PySide6.QtCore.QByteArray, bytes], 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__]
__init__(self, type: Union[PySide6.QtCore.QByteArray, bytes], parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, type: Union[PySide6.QtCore.QByteArray, bytes], parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AccelerationModePySide6.QtSensors.QSensor.Feature.AccelerationMode
AlwaysOnPySide6.QtSensors.QSensor.Feature.AlwaysOn
AutomaticOrientationPySide6.QtSensors.QSensor.AxesOrientationMode.AutomaticOrientation
AxesOrientationPySide6.QtSensors.QSensor.Feature.AxesOrientation
BufferingPySide6.QtSensors.QSensor.Feature.Buffering
FieldOfViewPySide6.QtSensors.QSensor.Feature.FieldOfView
FixedOrientationPySide6.QtSensors.QSensor.AxesOrientationMode.FixedOrientation
GeoValuesPySide6.QtSensors.QSensor.Feature.GeoValues
PressureSensorTemperaturePySide6.QtSensors.QSensor.Feature.PressureSensorTemperature
ReservedPySide6.QtSensors.QSensor.Feature.Reserved
SkipDuplicatesPySide6.QtSensors.QSensor.Feature.SkipDuplicates
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40db11b840>
UserOrientationPySide6.QtSensors.QSensor.AxesOrientationMode.UserOrientation

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
addFilter(self, filter: PySide6.QtSensors.QSensorFilter) -> None addFilter(self, filter: PySide6.QtSensors.QSensorFilter) -> None [extrait de addFilter.__doc__]
alwaysOnChanged
availableDataRates(self) -> List[Tuple[int, int]] availableDataRates(self) -> List[Tuple[int, int]] [extrait de availableDataRates.__doc__]
availableSensorsChanged
AxesOrientationMode
axesOrientationMode(self) -> PySide6.QtSensors.QSensor.AxesOrientationMode axesOrientationMode(self) -> PySide6.QtSensors.QSensor.AxesOrientationMode [extrait de axesOrientationMode.__doc__]
axesOrientationModeChanged
backend(self) -> PySide6.QtSensors.QSensorBackend backend(self) -> PySide6.QtSensors.QSensorBackend [extrait de backend.__doc__]
bufferSize(self) -> int bufferSize(self) -> int [extrait de bufferSize.__doc__]
bufferSizeChanged
busyChanged
connectToBackend(self) -> bool connectToBackend(self) -> bool [extrait de connectToBackend.__doc__]
currentOrientation(self) -> int currentOrientation(self) -> int [extrait de currentOrientation.__doc__]
currentOrientationChanged
dataRate(self) -> int dataRate(self) -> int [extrait de dataRate.__doc__]
dataRateChanged
defaultSensorForType(type: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QByteArray defaultSensorForType(type: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QByteArray [extrait de defaultSensorForType.__doc__]
description(self) -> str description(self) -> str [extrait de description.__doc__]
destroyed
efficientBufferSize(self) -> int efficientBufferSize(self) -> int [extrait de efficientBufferSize.__doc__]
efficientBufferSizeChanged
error(self) -> int error(self) -> int [extrait de error.__doc__]
Feature
filters(self) -> List[PySide6.QtSensors.QSensorFilter] filters(self) -> List[PySide6.QtSensors.QSensorFilter] [extrait de filters.__doc__]
identifier(self) -> PySide6.QtCore.QByteArray identifier(self) -> PySide6.QtCore.QByteArray [extrait de identifier.__doc__]
identifierChanged
isActive(self) -> bool isActive(self) -> bool [extrait de isActive.__doc__]
isAlwaysOn(self) -> bool isAlwaysOn(self) -> bool [extrait de isAlwaysOn.__doc__]
isBusy(self) -> bool isBusy(self) -> bool [extrait de isBusy.__doc__]
isConnectedToBackend(self) -> bool isConnectedToBackend(self) -> bool [extrait de isConnectedToBackend.__doc__]
isFeatureSupported(self, feature: PySide6.QtSensors.QSensor.Feature) -> bool isFeatureSupported(self, feature: PySide6.QtSensors.QSensor.Feature) -> bool [extrait de isFeatureSupported.__doc__]
maxBufferSize(self) -> int maxBufferSize(self) -> int [extrait de maxBufferSize.__doc__]
maxBufferSizeChanged
objectNameChanged
outputRange(self) -> int outputRange(self) -> int [extrait de outputRange.__doc__]
outputRanges(self) -> List[PySide6.QtSensors.qoutputrange] outputRanges(self) -> List[PySide6.QtSensors.qoutputrange] [extrait de outputRanges.__doc__]
reading(self) -> PySide6.QtSensors.QSensorReading reading(self) -> PySide6.QtSensors.QSensorReading [extrait de reading.__doc__]
readingChanged
removeFilter(self, filter: PySide6.QtSensors.QSensorFilter) -> None removeFilter(self, filter: PySide6.QtSensors.QSensorFilter) -> None [extrait de removeFilter.__doc__]
sensorError
sensorsForType(type: Union[PySide6.QtCore.QByteArray, bytes]) -> List[PySide6.QtCore.QByteArray] sensorsForType(type: Union[PySide6.QtCore.QByteArray, bytes]) -> List[PySide6.QtCore.QByteArray] [extrait de sensorsForType.__doc__]
sensorTypes() -> List[PySide6.QtCore.QByteArray] sensorTypes() -> List[PySide6.QtCore.QByteArray] [extrait de sensorTypes.__doc__]
setActive(self, active: bool) -> None setActive(self, active: bool) -> None [extrait de setActive.__doc__]
setAlwaysOn(self, alwaysOn: bool) -> None setAlwaysOn(self, alwaysOn: bool) -> None [extrait de setAlwaysOn.__doc__]
setAxesOrientationMode(self, axesOrientationMode: PySide6.QtSensors.QSensor.AxesOrientationMode) -> None setAxesOrientationMode(self, axesOrientationMode: PySide6.QtSensors.QSensor.AxesOrientationMode) -> None [extrait de setAxesOrientationMode.__doc__]
setBufferSize(self, bufferSize: int) -> None setBufferSize(self, bufferSize: int) -> None [extrait de setBufferSize.__doc__]
setCurrentOrientation(self, currentOrientation: int) -> None setCurrentOrientation(self, currentOrientation: int) -> None [extrait de setCurrentOrientation.__doc__]
setDataRate(self, rate: int) -> None setDataRate(self, rate: int) -> None [extrait de setDataRate.__doc__]
setEfficientBufferSize(self, efficientBufferSize: int) -> None setEfficientBufferSize(self, efficientBufferSize: int) -> None [extrait de setEfficientBufferSize.__doc__]
setIdentifier(self, identifier: Union[PySide6.QtCore.QByteArray, bytes]) -> None setIdentifier(self, identifier: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setIdentifier.__doc__]
setMaxBufferSize(self, maxBufferSize: int) -> None setMaxBufferSize(self, maxBufferSize: int) -> None [extrait de setMaxBufferSize.__doc__]
setOutputRange(self, index: int) -> None setOutputRange(self, index: int) -> None [extrait de setOutputRange.__doc__]
setSkipDuplicates(self, skipDuplicates: bool) -> None setSkipDuplicates(self, skipDuplicates: bool) -> None [extrait de setSkipDuplicates.__doc__]
setUserOrientation(self, userOrientation: int) -> None setUserOrientation(self, userOrientation: int) -> None [extrait de setUserOrientation.__doc__]
skipDuplicates(self) -> bool skipDuplicates(self) -> bool [extrait de skipDuplicates.__doc__]
skipDuplicatesChanged
start(self) -> bool start(self) -> bool [extrait de start.__doc__]
stop(self) -> None stop(self) -> None [extrait de stop.__doc__]
tr
type(self) -> PySide6.QtCore.QByteArray type(self) -> PySide6.QtCore.QByteArray [extrait de type.__doc__]
userOrientation(self) -> int userOrientation(self) -> int [extrait de userOrientation.__doc__]
userOrientationChanged

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__