PythonQt.QtGui.QTouchEvent · declarations 001
Back to PythonQt.QtGui.QTouchEvent
device
device() -> Any
X.device() -> PythonQt.QtGui.QTouchDevice
Supplemental documentation: Qt 5 reference:
QTouchDevice *QTouchEvent::device() const
Returns the touch device from which this touch event originates.
Upstream PySide2 reference signatures (binding differences may apply):
device(self) -> PySide2.QtGui.QTouchDevice
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#device
setDevice
setDevice(adevice: Any) -> None
X.setDevice(adevice)
Upstream PySide2 reference signatures (binding differences may apply):
setDevice(self, adevice: PySide2.QtGui.QTouchDevice) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#setDevice
setTarget
setTarget(atarget: Any) -> None
X.setTarget(atarget)
Upstream PySide2 reference signatures (binding differences may apply):
setTarget(self, atarget: PySide2.QtCore.QObject) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#setTarget
setTouchPointStates
setTouchPointStates(aTouchPointStates: Any) -> None
X.setTouchPointStates(aTouchPointStates)
Upstream PySide2 reference signatures (binding differences may apply):
setTouchPointStates(self, aTouchPointStates: PySide2.QtCore.Qt.TouchPointStates) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#setTouchPointStates
setTouchPoints
setTouchPoints(atouchPoints: Any) -> None
X.setTouchPoints(atouchPoints)
Upstream PySide2 reference signatures (binding differences may apply):
setTouchPoints(self, atouchPoints: typing.Sequence[PySide2.QtGui.QTouchEvent.TouchPoint]) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#setTouchPoints
setWindow
setWindow(awindow: Any) -> None
X.setWindow(awindow)
Upstream PySide2 reference signatures (binding differences may apply):
setWindow(self, awindow: PySide2.QtGui.QWindow) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#setWindow
target
target() -> Any
X.target() -> PythonQt.private.QObject
Supplemental documentation: Qt 5 reference:
QObject *QTouchEvent::target() const
Returns the target object within the window on which the event occurred. This is typically a QWidget or a QQuickItem. May be 0 when no specific target is available.
Upstream PySide2 reference signatures (binding differences may apply):
target(self) -> PySide2.QtCore.QObject
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#target
touchPointStates
touchPointStates() -> Any
X.touchPointStates()
Supplemental documentation: Qt 5 reference:
Qt::TouchPointStates QTouchEvent::touchPointStates() const
Returns a bitwise OR of all the touch point states for this event.
Upstream PySide2 reference signatures (binding differences may apply):
touchPointStates(self) -> PySide2.QtCore.Qt.TouchPointStates
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#touchPointStates
touchPoints
touchPoints() -> tuple
X.touchPoints() -> tuple
Supplemental documentation: Qt 5 reference:
const QList\<QTouchEvent::TouchPoint> \&QTouchEvent::touchPoints() const
Returns the list of touch points contained in the touch event.
Upstream PySide2 reference signatures (binding differences may apply):
touchPoints(self) -> typing.List[PySide2.QtGui.QTouchEvent.TouchPoint]
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#touchPoints
window
window() -> Any
X.window() -> PythonQt.QtGui.QWindow
Supplemental documentation: Qt 5 reference:
QWindow *QTouchEvent::window() const
Returns the window on which the event occurred. Useful for doing global-local mapping on data like rawScreenPositions() which, for performance reasons, only stores the global positions in the touch event.
Upstream PySide2 reference signatures (binding differences may apply):
window(self) -> PySide2.QtGui.QWindow
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent.html#window