PySide6.QtSensors.QTapReading

class QTapReading

PySide6.QtSensors.QTapReading 的继承图

概要

属性

方法

注意

本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。

详细描述

class TapDirection

注意

当使用from __feature__ import true_property时,属性可以直接使用,否则通过访问器函数使用。

property doubleTapᅟ: bool
Access functions:
property tapDirectionᅟ: QTapReading.TapDirection
Access functions:
__init__(parent)
Parameters:

父对象QObject

isDoubleTap()
Return type:

布尔

属性 doubleTapᅟ 的获取器。

setDoubleTap(doubleTap)
Parameters:

doubleTap – 布尔值

setTapDirection(tapDirection)
Parameters:

tapDirectionTapDirection

tapDirection()
Return type:

TapDirection

属性 tapDirectionᅟ 的获取器。