内容表

上一话题

QHolsterFilter

下一话题

QHolsterSensor

QHolsterReading

QHolsterReading class holds readings from the holster sensor. 更多

Inheritance diagram of PySide2.QtSensors.QHolsterReading

概要

函数

详细描述

QHolsterReading Units

The holster sensor can detect if a device is holstered or not. A holster is a pocket, similar to a gun holster, specifically made for the device. If the device is inside of this pocket, it is holstered. The holster supports the device in detecting whether the device is holstered or not.

class QHolsterReading ( parent )
参数

parent QObject

PySide2.QtSensors.QHolsterReading. holstered ( )
返回类型

bool

另请参阅

setHolstered()

PySide2.QtSensors.QHolsterReading. setHolstered ( holstered )
参数

holstered bool

Sets the holstered value to holstered .

另请参阅

holstered()