| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659 |
- # Copyright (C) 2022 The Qt Company Ltd.
- # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
- """
- This file contains the exact signatures for all functions in module
- PySide6.QtSensors, except for defaults which are replaced by "...".
- """
- # mypy: disable-error-code="override, overload-overlap"
- # Module `PySide6.QtSensors`
- import PySide6.QtSensors
- import PySide6.QtCore
- import os
- import enum
- import typing
- import collections.abc
- from PySide6.QtCore import Signal
- from shiboken6 import Shiboken
- class QAccelerometer(PySide6.QtSensors.QSensor):
- accelerationModeChanged : typing.ClassVar[Signal] = ... # accelerationModeChanged(AccelerationMode)
- class AccelerationMode(enum.Enum):
- Combined = 0x0
- Gravity = 0x1
- User = 0x2
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, accelerationMode: PySide6.QtSensors.QAccelerometer.AccelerationMode | None = ...) -> None: ...
- def accelerationMode(self, /) -> PySide6.QtSensors.QAccelerometer.AccelerationMode: ...
- def reading(self, /) -> PySide6.QtSensors.QAccelerometerReading: ...
- def setAccelerationMode(self, accelerationMode: PySide6.QtSensors.QAccelerometer.AccelerationMode, /) -> None: ...
- class QAccelerometerFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QAccelerometerReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QAccelerometerReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setX(self, x: float, /) -> None: ...
- def setY(self, y: float, /) -> None: ...
- def setZ(self, z: float, /) -> None: ...
- def x(self, /) -> float: ...
- def y(self, /) -> float: ...
- def z(self, /) -> float: ...
- class QAmbientLightFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QAmbientLightReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QAmbientLightReading(PySide6.QtSensors.QSensorReading):
- class LightLevel(enum.Enum):
- Undefined = 0x0
- Dark = 0x1
- Twilight = 0x2
- Light = 0x3
- Bright = 0x4
- Sunny = 0x5
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, lightLevel: PySide6.QtSensors.QAmbientLightReading.LightLevel | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def lightLevel(self, /) -> PySide6.QtSensors.QAmbientLightReading.LightLevel: ...
- def setLightLevel(self, lightLevel: PySide6.QtSensors.QAmbientLightReading.LightLevel, /) -> None: ...
- class QAmbientLightSensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QAmbientLightReading: ...
- class QAmbientTemperatureFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QAmbientTemperatureReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QAmbientTemperatureReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, temperature: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setTemperature(self, temperature: float, /) -> None: ...
- def temperature(self, /) -> float: ...
- class QAmbientTemperatureSensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QAmbientTemperatureReading: ...
- class QCompass(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QCompassReading: ...
- class QCompassFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QCompassReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QCompassReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, azimuth: float | None = ..., calibrationLevel: float | None = ...) -> None: ...
- def azimuth(self, /) -> float: ...
- def calibrationLevel(self, /) -> float: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setAzimuth(self, azimuth: float, /) -> None: ...
- def setCalibrationLevel(self, calibrationLevel: float, /) -> None: ...
- class QGyroscope(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QGyroscopeReading: ...
- class QGyroscopeFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QGyroscopeReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QGyroscopeReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setX(self, x: float, /) -> None: ...
- def setY(self, y: float, /) -> None: ...
- def setZ(self, z: float, /) -> None: ...
- def x(self, /) -> float: ...
- def y(self, /) -> float: ...
- def z(self, /) -> float: ...
- class QHumidityFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QHumidityReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QHumidityReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, relativeHumidity: float | None = ..., absoluteHumidity: float | None = ...) -> None: ...
- def absoluteHumidity(self, /) -> float: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def relativeHumidity(self, /) -> float: ...
- def setAbsoluteHumidity(self, value: float, /) -> None: ...
- def setRelativeHumidity(self, percent: float, /) -> None: ...
- class QHumiditySensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QHumidityReading: ...
- class QIRProximityFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QIRProximityReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QIRProximityReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, reflectance: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def reflectance(self, /) -> float: ...
- def setReflectance(self, reflectance: float, /) -> None: ...
- class QIRProximitySensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QIRProximityReading: ...
- class QIntList: ...
- class QLidFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QLidReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QLidReading(PySide6.QtSensors.QSensorReading):
- backLidChanged : typing.ClassVar[Signal] = ... # backLidChanged(bool)
- frontLidChanged : typing.ClassVar[Signal] = ... # frontLidChanged(bool)
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, backLidClosed: bool | None = ..., frontLidClosed: bool | None = ...) -> None: ...
- def backLidClosed(self, /) -> bool: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def frontLidClosed(self, /) -> bool: ...
- def setBackLidClosed(self, closed: bool, /) -> None: ...
- def setFrontLidClosed(self, closed: bool, /) -> None: ...
- class QLidSensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QLidReading: ...
- class QLightFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QLightReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QLightReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, lux: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def lux(self, /) -> float: ...
- def setLux(self, lux: float, /) -> None: ...
- class QLightSensor(PySide6.QtSensors.QSensor):
- fieldOfViewChanged : typing.ClassVar[Signal] = ... # fieldOfViewChanged(double)
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, fieldOfView: float | None = ...) -> None: ...
- def fieldOfView(self, /) -> float: ...
- def reading(self, /) -> PySide6.QtSensors.QLightReading: ...
- def setFieldOfView(self, fieldOfView: float, /) -> None: ...
- class QMagnetometer(PySide6.QtSensors.QSensor):
- returnGeoValuesChanged : typing.ClassVar[Signal] = ... # returnGeoValuesChanged(bool)
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, returnGeoValues: bool | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QMagnetometerReading: ...
- def returnGeoValues(self, /) -> bool: ...
- def setReturnGeoValues(self, returnGeoValues: bool, /) -> None: ...
- class QMagnetometerFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QMagnetometerReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QMagnetometerReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ..., calibrationLevel: float | None = ...) -> None: ...
- def calibrationLevel(self, /) -> float: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setCalibrationLevel(self, calibrationLevel: float, /) -> None: ...
- def setX(self, x: float, /) -> None: ...
- def setY(self, y: float, /) -> None: ...
- def setZ(self, z: float, /) -> None: ...
- def x(self, /) -> float: ...
- def y(self, /) -> float: ...
- def z(self, /) -> float: ...
- class QOrientationFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QOrientationReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QOrientationReading(PySide6.QtSensors.QSensorReading):
- class Orientation(enum.Enum):
- Undefined = 0x0
- TopUp = 0x1
- TopDown = 0x2
- LeftUp = 0x3
- RightUp = 0x4
- FaceUp = 0x5
- FaceDown = 0x6
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, orientation: PySide6.QtSensors.QOrientationReading.Orientation | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def orientation(self, /) -> PySide6.QtSensors.QOrientationReading.Orientation: ...
- def setOrientation(self, orientation: PySide6.QtSensors.QOrientationReading.Orientation, /) -> None: ...
- class QOrientationSensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QOrientationReading: ...
- class QPressureFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QPressureReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QPressureReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, pressure: float | None = ..., temperature: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def pressure(self, /) -> float: ...
- def setPressure(self, pressure: float, /) -> None: ...
- def setTemperature(self, temperature: float, /) -> None: ...
- def temperature(self, /) -> float: ...
- class QPressureSensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QPressureReading: ...
- class QProximityFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QProximityReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QProximityReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, close: bool | None = ...) -> None: ...
- def close(self, /) -> bool: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setClose(self, close: bool, /) -> None: ...
- class QProximitySensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QProximityReading: ...
- class QRotationFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QRotationReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QRotationReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setFromEuler(self, x: float, y: float, z: float, /) -> None: ...
- def x(self, /) -> float: ...
- def y(self, /) -> float: ...
- def z(self, /) -> float: ...
- class QRotationSensor(PySide6.QtSensors.QSensor):
- hasZChanged : typing.ClassVar[Signal] = ... # hasZChanged(bool)
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, hasZ: bool | None = ...) -> None: ...
- def hasZ(self, /) -> bool: ...
- def reading(self, /) -> PySide6.QtSensors.QRotationReading: ...
- def setHasZ(self, hasZ: bool, /) -> None: ...
- class QSensor(PySide6.QtCore.QObject):
- activeChanged : typing.ClassVar[Signal] = ... # activeChanged()
- alwaysOnChanged : typing.ClassVar[Signal] = ... # alwaysOnChanged()
- availableSensorsChanged : typing.ClassVar[Signal] = ... # availableSensorsChanged()
- axesOrientationModeChanged: typing.ClassVar[Signal] = ... # axesOrientationModeChanged(AxesOrientationMode)
- bufferSizeChanged : typing.ClassVar[Signal] = ... # bufferSizeChanged(int)
- busyChanged : typing.ClassVar[Signal] = ... # busyChanged()
- currentOrientationChanged: typing.ClassVar[Signal] = ... # currentOrientationChanged(int)
- dataRateChanged : typing.ClassVar[Signal] = ... # dataRateChanged()
- efficientBufferSizeChanged: typing.ClassVar[Signal] = ... # efficientBufferSizeChanged(int)
- identifierChanged : typing.ClassVar[Signal] = ... # identifierChanged()
- maxBufferSizeChanged : typing.ClassVar[Signal] = ... # maxBufferSizeChanged(int)
- readingChanged : typing.ClassVar[Signal] = ... # readingChanged()
- sensorError : typing.ClassVar[Signal] = ... # sensorError(int)
- skipDuplicatesChanged : typing.ClassVar[Signal] = ... # skipDuplicatesChanged(bool)
- userOrientationChanged : typing.ClassVar[Signal] = ... # userOrientationChanged(int)
- class AxesOrientationMode(enum.Enum):
- FixedOrientation = 0x0
- AutomaticOrientation = 0x1
- UserOrientation = 0x2
- class Feature(enum.Enum):
- Buffering = 0x0
- AlwaysOn = 0x1
- GeoValues = 0x2
- FieldOfView = 0x3
- AccelerationMode = 0x4
- SkipDuplicates = 0x5
- AxesOrientation = 0x6
- PressureSensorTemperature = 0x7
- Reserved = 0x101
- def __init__(self, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, parent: PySide6.QtCore.QObject | None = ..., *, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview | None = ..., connectedToBackend: bool | None = ..., availableDataRates: collections.abc.Sequence[typing.Tuple[int, int]] | None = ..., dataRate: int | None = ..., reading: PySide6.QtSensors.QSensorReading | None = ..., busy: bool | None = ..., active: bool | None = ..., outputRanges: collections.abc.Sequence[PySide6.QtSensors.qoutputrange] | None = ..., outputRange: int | None = ..., description: str | None = ..., error: int | None = ..., alwaysOn: bool | None = ..., skipDuplicates: bool | None = ..., axesOrientationMode: PySide6.QtSensors.QSensor.AxesOrientationMode | None = ..., currentOrientation: int | None = ..., userOrientation: int | None = ..., maxBufferSize: int | None = ..., efficientBufferSize: int | None = ..., bufferSize: int | None = ...) -> None: ...
- def addFilter(self, filter: PySide6.QtSensors.QSensorFilter, /) -> None: ...
- def availableDataRates(self, /) -> typing.List[typing.Tuple[int, int]]: ...
- def axesOrientationMode(self, /) -> PySide6.QtSensors.QSensor.AxesOrientationMode: ...
- def backend(self, /) -> PySide6.QtSensors.QSensorBackend: ...
- def bufferSize(self, /) -> int: ...
- def connectToBackend(self, /) -> bool: ...
- def currentOrientation(self, /) -> int: ...
- def dataRate(self, /) -> int: ...
- @staticmethod
- def defaultSensorForType(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtCore.QByteArray: ...
- def description(self, /) -> str: ...
- def efficientBufferSize(self, /) -> int: ...
- def error(self, /) -> int: ...
- def filters(self, /) -> typing.List[PySide6.QtSensors.QSensorFilter]: ...
- def identifier(self, /) -> PySide6.QtCore.QByteArray: ...
- def isActive(self, /) -> bool: ...
- def isAlwaysOn(self, /) -> bool: ...
- def isBusy(self, /) -> bool: ...
- def isConnectedToBackend(self, /) -> bool: ...
- def isFeatureSupported(self, feature: PySide6.QtSensors.QSensor.Feature, /) -> bool: ...
- def maxBufferSize(self, /) -> int: ...
- def outputRange(self, /) -> int: ...
- def outputRanges(self, /) -> typing.List[PySide6.QtSensors.qoutputrange]: ...
- def reading(self, /) -> PySide6.QtSensors.QSensorReading: ...
- def removeFilter(self, filter: PySide6.QtSensors.QSensorFilter, /) -> None: ...
- @staticmethod
- def sensorTypes() -> typing.List[PySide6.QtCore.QByteArray]: ...
- @staticmethod
- def sensorsForType(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
- def setActive(self, active: bool, /) -> None: ...
- def setAlwaysOn(self, alwaysOn: bool, /) -> None: ...
- def setAxesOrientationMode(self, axesOrientationMode: PySide6.QtSensors.QSensor.AxesOrientationMode, /) -> None: ...
- def setBufferSize(self, bufferSize: int, /) -> None: ...
- def setCurrentOrientation(self, currentOrientation: int, /) -> None: ...
- def setDataRate(self, rate: int, /) -> None: ...
- def setEfficientBufferSize(self, efficientBufferSize: int, /) -> None: ...
- def setIdentifier(self, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
- def setMaxBufferSize(self, maxBufferSize: int, /) -> None: ...
- def setOutputRange(self, index: int, /) -> None: ...
- def setSkipDuplicates(self, skipDuplicates: bool, /) -> None: ...
- def setUserOrientation(self, userOrientation: int, /) -> None: ...
- def skipDuplicates(self, /) -> bool: ...
- def start(self, /) -> bool: ...
- def stop(self, /) -> None: ...
- def type(self, /) -> PySide6.QtCore.QByteArray: ...
- def userOrientation(self, /) -> int: ...
- class QSensorBackend(PySide6.QtCore.QObject):
- def __init__(self, sensor: PySide6.QtSensors.QSensor, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def addDataRate(self, min: float, max: float, /) -> None: ...
- def addOutputRange(self, min: float, max: float, accuracy: float, /) -> None: ...
- def isFeatureSupported(self, feature: PySide6.QtSensors.QSensor.Feature, /) -> bool: ...
- def newReadingAvailable(self, /) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QSensorReading: ...
- def sensor(self, /) -> PySide6.QtSensors.QSensor: ...
- def sensorBusy(self, /, busy: bool = ...) -> None: ...
- def sensorError(self, error: int, /) -> None: ...
- def sensorStopped(self, /) -> None: ...
- def setDataRates(self, otherSensor: PySide6.QtSensors.QSensor, /) -> None: ...
- def setDescription(self, description: str, /) -> None: ...
- def start(self, /) -> None: ...
- def stop(self, /) -> None: ...
- class QSensorBackendFactory(Shiboken.Object):
- def __init__(self, /) -> None: ...
- def createBackend(self, sensor: PySide6.QtSensors.QSensor, /) -> PySide6.QtSensors.QSensorBackend: ...
- class QSensorChangesInterface(Shiboken.Object):
- def __init__(self, /) -> None: ...
- def sensorsChanged(self, /) -> None: ...
- class QSensorFilter(Shiboken.Object):
- def __init__(self, /) -> None: ...
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- def setSensor(self, sensor: PySide6.QtSensors.QSensor, /) -> None: ...
- class QSensorManager(Shiboken.Object):
- def __init__(self, /) -> None: ...
- @staticmethod
- def createBackend(sensor: PySide6.QtSensors.QSensor, /) -> PySide6.QtSensors.QSensorBackend: ...
- @staticmethod
- def isBackendRegistered(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> bool: ...
- @staticmethod
- def registerBackend(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, factory: PySide6.QtSensors.QSensorBackendFactory, /) -> None: ...
- @staticmethod
- def setDefaultBackend(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
- @staticmethod
- def unregisterBackend(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
- class QSensorPluginInterface(Shiboken.Object):
- def __init__(self, /) -> None: ...
- def registerSensors(self, /) -> None: ...
- class QSensorReading(PySide6.QtCore.QObject):
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setTimestamp(self, timestamp: int, /) -> None: ...
- def timestamp(self, /) -> int: ...
- def value(self, index: int, /) -> typing.Any: ...
- def valueCount(self, /) -> int: ...
- class QTapFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QTapReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QTapReading(PySide6.QtSensors.QSensorReading):
- class TapDirection(enum.Enum):
- Undefined = 0x0
- X = 0x1
- Y = 0x2
- Z = 0x4
- X_Pos = 0x11
- Y_Pos = 0x22
- Z_Pos = 0x44
- X_Neg = 0x101
- X_Both = 0x111
- Y_Neg = 0x202
- Y_Both = 0x222
- Z_Neg = 0x404
- Z_Both = 0x444
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, tapDirection: PySide6.QtSensors.QTapReading.TapDirection | None = ..., doubleTap: bool | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def isDoubleTap(self, /) -> bool: ...
- def setDoubleTap(self, doubleTap: bool, /) -> None: ...
- def setTapDirection(self, tapDirection: PySide6.QtSensors.QTapReading.TapDirection, /) -> None: ...
- def tapDirection(self, /) -> PySide6.QtSensors.QTapReading.TapDirection: ...
- class QTapSensor(PySide6.QtSensors.QSensor):
- returnDoubleTapEventsChanged: typing.ClassVar[Signal] = ... # returnDoubleTapEventsChanged(bool)
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, returnDoubleTapEvents: bool | None = ...) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QTapReading: ...
- def returnDoubleTapEvents(self, /) -> bool: ...
- def setReturnDoubleTapEvents(self, returnDoubleTapEvents: bool, /) -> None: ...
- class QTiltFilter(PySide6.QtSensors.QSensorFilter):
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QTiltReading, /) -> bool: ...
- @typing.overload
- def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
- class QTiltReading(PySide6.QtSensors.QSensorReading):
- def __init__(self, parent: PySide6.QtCore.QObject, /, *, yRotation: float | None = ..., xRotation: float | None = ...) -> None: ...
- def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
- def setXRotation(self, x: float, /) -> None: ...
- def setYRotation(self, y: float, /) -> None: ...
- def xRotation(self, /) -> float: ...
- def yRotation(self, /) -> float: ...
- class QTiltSensor(PySide6.QtSensors.QSensor):
- def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
- def calibrate(self, /) -> None: ...
- def reading(self, /) -> PySide6.QtSensors.QTiltReading: ...
- class qoutputrange(Shiboken.Object):
- @typing.overload
- def __init__(self, /) -> None: ...
- @typing.overload
- def __init__(self, qoutputrange: PySide6.QtSensors.qoutputrange, /) -> None: ...
- def __copy__(self, /) -> typing.Self: ...
- # eof
|