注意
该类在 Qt4.6 引入
| 参数: |
|
|---|
构造 QTouchEvent.TouchPoint for use in a PySide.QtGui.QTouchEvent .
| 返回类型: | PySide.QtCore.int |
|---|
Returns the id number of this touch point.
Id numbers are globally sequential, starting at zero, meaning the first touch point in the application has id 0, the second has id 1, and so on.
| 返回类型: | PySide.QtCore.bool |
|---|
Returns true if this touch point is the primary touch point. The primary touch point is the point for which the windowing system generates mouse events.
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the normalized position of this touch point from the previous touch event.
The coordinates are normalized to the size of the touch device, i.e. (0,0) is the top-left corner and (1,1) is the bottom-right corner.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.normalizedPos() PySide.QtGui.QTouchEvent::TouchPoint.startNormalizedPos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the position of this touch point from the previous touch event, relative to the widget or PySide.QtGui.QGraphicsItem that received the event.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.pos() PySide.QtGui.QTouchEvent::TouchPoint.startPos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the scene position of this touch point from the previous touch event.
The scene position is the position in PySide.QtGui.QGraphicsScene coordinates if the PySide.QtGui.QTouchEvent is handled by a QGraphicsItem::touchEvent() reimplementation, and identical to the screen position for widgets.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.scenePos() PySide.QtGui.QTouchEvent::TouchPoint.startScenePos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the screen position of this touch point from the previous touch event.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.screenPos() PySide.QtGui.QTouchEvent::TouchPoint.startScreenPos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the normalized position of this touch point.
The coordinates are normalized to the size of the touch device, i.e. (0,0) is the top-left corner and (1,1) is the bottom-right corner.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startNormalizedPos() PySide.QtGui.QTouchEvent::TouchPoint.lastNormalizedPos() PySide.QtGui.QTouchEvent::TouchPoint.pos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the position of this touch point, relative to the widget or PySide.QtGui.QGraphicsItem that received the event.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startPos() PySide.QtGui.QTouchEvent::TouchPoint.lastPos() PySide.QtGui.QTouchEvent::TouchPoint.screenPos() PySide.QtGui.QTouchEvent::TouchPoint.scenePos() PySide.QtGui.QTouchEvent::TouchPoint.normalizedPos()
| 返回类型: | PySide.QtCore.qreal |
|---|
Returns the pressure of this touch point. The return value is in the range 0.0 to 1.0.
| 返回类型: | PySide.QtCore.QRectF |
|---|
Returns the rect for this touch point, relative to the widget or PySide.QtGui.QGraphicsItem that received the event. The rect is centered around the point returned by PySide.QtGui.QTouchEvent::TouchPoint.pos() .
注意
This function returns an empty rect if the device does not report touch point sizes.
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the scene position of this touch point.
The scene position is the position in PySide.QtGui.QGraphicsScene coordinates if the PySide.QtGui.QTouchEvent is handled by a QGraphicsItem::touchEvent() reimplementation, and identical to the screen position for widgets.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startScenePos() PySide.QtGui.QTouchEvent::TouchPoint.lastScenePos() PySide.QtGui.QTouchEvent::TouchPoint.pos()
| 返回类型: | PySide.QtCore.QRectF |
|---|
Returns the rect for this touch point in scene coordinates.
注意
This function returns an empty rect if the device does not report touch point sizes.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.scenePos() PySide.QtGui.QTouchEvent::TouchPoint.rect()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the screen position of this touch point.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startScreenPos() PySide.QtGui.QTouchEvent::TouchPoint.lastScreenPos() PySide.QtGui.QTouchEvent::TouchPoint.pos()
| 返回类型: | PySide.QtCore.QRectF |
|---|
Returns the rect for this touch point in screen coordinates.
注意
This function returns an empty rect if the device does not report touch point sizes.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.screenPos() PySide.QtGui.QTouchEvent::TouchPoint.rect()
| 参数: | id – PySide.QtCore.int |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.id()
| 参数: | lastNormalizedPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.lastNormalizedPos()
| 参数: | lastPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.lastPos()
| 参数: | lastScenePos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.lastScenePos()
| 参数: | lastScreenPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.lastScreenPos()
| 参数: | normalizedPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.normalizedPos()
| 参数: | pos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.pos()
| 参数: | pressure – PySide.QtCore.qreal |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.pressure()
| 参数: | rect – PySide.QtCore.QRectF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.rect()
| 参数: | scenePos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.scenePos()
| 参数: | sceneRect – PySide.QtCore.QRectF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.sceneRect()
| 参数: | screenPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.screenPos()
| 参数: | screenRect – PySide.QtCore.QRectF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.screenRect()
| 参数: | startNormalizedPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startNormalizedPos()
| 参数: | startPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startPos()
| 参数: | startScenePos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startScenePos()
| 参数: | startScreenPos – PySide.QtCore.QPointF |
|---|
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.startScreenPos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the normalized starting position of this touch point.
The coordinates are normalized to the size of the touch device, i.e. (0,0) is the top-left corner and (1,1) is the bottom-right corner.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.normalizedPos() PySide.QtGui.QTouchEvent::TouchPoint.lastNormalizedPos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the starting position of this touch point, relative to the widget or PySide.QtGui.QGraphicsItem that received the event.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.pos() PySide.QtGui.QTouchEvent::TouchPoint.lastPos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the starting scene position of this touch point.
The scene position is the position in PySide.QtGui.QGraphicsScene coordinates if the PySide.QtGui.QTouchEvent is handled by a QGraphicsItem::touchEvent() reimplementation, and identical to the screen position for widgets.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.scenePos() PySide.QtGui.QTouchEvent::TouchPoint.lastScenePos()
| 返回类型: | PySide.QtCore.QPointF |
|---|
Returns the starting screen position of this touch point.
另请参阅
PySide.QtGui.QTouchEvent::TouchPoint.screenPos() PySide.QtGui.QTouchEvent::TouchPoint.lastScreenPos()
| 返回类型: | PySide.QtCore.Qt.TouchPointState |
|---|
Returns the current state of this touch point.