内容表

上一话题

QLidFilter

下一话题

QLidSensor

QLidReading

QLidReading class holds readings from the Lid sensor. 更多

Inheritance diagram of PySide2.QtSensors.QLidReading

概要

信号

详细描述

A normal laptop has what we call a front lid.

If the laptop can be converted to a tablet by rotating or closing the lid where the display is out, this is known as a back lid.

QLidReading Units

The Lid sensor can detect if a device’s lid is closed or not. A lid can be a laptop, a laptop that converts to a tablet, or even a cover for a tablet or phone.

class QLidReading ( parent )
参数

parent QObject

PySide2.QtSensors.QLidReading. backLidChanged ( closed )
参数

closed bool

PySide2.QtSensors.QLidReading. backLidClosed ( )
返回类型

bool

PySide2.QtSensors.QLidReading. frontLidChanged ( closed )
参数

closed bool

PySide2.QtSensors.QLidReading. frontLidClosed ( )
返回类型

bool

PySide2.QtSensors.QLidReading. setBackLidClosed ( closed )
参数

closed bool

设置 backLidClosed value to closed .

另请参阅

backLidClosed()

PySide2.QtSensors.QLidReading. setFrontLidClosed ( closed )
参数

closed bool

设置 frontLidClosed value to closed .

另请参阅

frontLidClosed()