builtins.object Object QEventPoint
class QEventPoint(Object):
QEventPoint(self, id: int = -1, device: Optional[PySide6.QtGui.QPointingDevice] = None) -> None QEventPoint(self, other: PySide6.QtGui.QEventPoint) -> None QEventPoint(self, pointId: int, state: PySide6.QtGui.QEventPoint.State, scenePosition: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], globalPosition: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> None
Signature du constructeur | Description |
---|---|
__new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__] |
Nom de l'attribut | Valeur |
---|---|
Pressed | PySide6.QtGui.QEventPoint.State.Pressed |
Released | PySide6.QtGui.QEventPoint.State.Released |
Stationary | PySide6.QtGui.QEventPoint.State.Stationary |
Unknown | PySide6.QtGui.QEventPoint.State.Unknown |
Updated | PySide6.QtGui.QEventPoint.State.Updated |
Signature de l'opérateur | Description |
---|---|
__eq__(self, value) | Return self==value. [extrait de __eq__.__doc__] |
__ge__(self, value) | Return self>=value. [extrait de __ge__.__doc__] |
__gt__(self, value) | Return self>value. [extrait de __gt__.__doc__] |
__le__(self, value) | Return self<=value. [extrait de __le__.__doc__] |
__lt__(self, value) | Return self<value. [extrait de __lt__.__doc__] |
__ne__(self, value) | Return self!=value. [extrait de __ne__.__doc__] |
Signature de la méthode | Description |
---|---|
__copy__() -> None | __copy__() -> None [extrait de __copy__.__doc__] |
__repr__(self) | Return repr(self). [extrait de __repr__.__doc__] |
device(self) -> PySide6.QtGui.QPointingDevice | device(self) -> PySide6.QtGui.QPointingDevice [extrait de device.__doc__] |
ellipseDiameters(self) -> PySide6.QtCore.QSizeF | ellipseDiameters(self) -> PySide6.QtCore.QSizeF [extrait de ellipseDiameters.__doc__] |
globalGrabPosition(self) -> PySide6.QtCore.QPointF | globalGrabPosition(self) -> PySide6.QtCore.QPointF [extrait de globalGrabPosition.__doc__] |
globalLastPosition(self) -> PySide6.QtCore.QPointF | globalLastPosition(self) -> PySide6.QtCore.QPointF [extrait de globalLastPosition.__doc__] |
globalPosition(self) -> PySide6.QtCore.QPointF | globalPosition(self) -> PySide6.QtCore.QPointF [extrait de globalPosition.__doc__] |
globalPressPosition(self) -> PySide6.QtCore.QPointF | globalPressPosition(self) -> PySide6.QtCore.QPointF [extrait de globalPressPosition.__doc__] |
grabPosition(self) -> PySide6.QtCore.QPointF | grabPosition(self) -> PySide6.QtCore.QPointF [extrait de grabPosition.__doc__] |
id(self) -> int | id(self) -> int [extrait de id.__doc__] |
isAccepted(self) -> bool | isAccepted(self) -> bool [extrait de isAccepted.__doc__] |
lastNormalizedPos(self) -> PySide6.QtCore.QPointF | lastNormalizedPos(self) -> PySide6.QtCore.QPointF [extrait de lastNormalizedPos.__doc__] |
lastPos(self) -> PySide6.QtCore.QPointF | lastPos(self) -> PySide6.QtCore.QPointF [extrait de lastPos.__doc__] |
lastPosition(self) -> PySide6.QtCore.QPointF | lastPosition(self) -> PySide6.QtCore.QPointF [extrait de lastPosition.__doc__] |
lastScenePos(self) -> PySide6.QtCore.QPointF | lastScenePos(self) -> PySide6.QtCore.QPointF [extrait de lastScenePos.__doc__] |
lastScreenPos(self) -> PySide6.QtCore.QPointF | lastScreenPos(self) -> PySide6.QtCore.QPointF [extrait de lastScreenPos.__doc__] |
lastTimestamp(self) -> int | lastTimestamp(self) -> int [extrait de lastTimestamp.__doc__] |
normalizedPos(self) -> PySide6.QtCore.QPointF | normalizedPos(self) -> PySide6.QtCore.QPointF [extrait de normalizedPos.__doc__] |
normalizedPosition(self) -> PySide6.QtCore.QPointF | normalizedPosition(self) -> PySide6.QtCore.QPointF [extrait de normalizedPosition.__doc__] |
pos(self) -> PySide6.QtCore.QPointF | pos(self) -> PySide6.QtCore.QPointF [extrait de pos.__doc__] |
position(self) -> PySide6.QtCore.QPointF | position(self) -> PySide6.QtCore.QPointF [extrait de position.__doc__] |
pressPosition(self) -> PySide6.QtCore.QPointF | pressPosition(self) -> PySide6.QtCore.QPointF [extrait de pressPosition.__doc__] |
pressTimestamp(self) -> int | pressTimestamp(self) -> int [extrait de pressTimestamp.__doc__] |
pressure(self) -> float | pressure(self) -> float [extrait de pressure.__doc__] |
rotation(self) -> float | rotation(self) -> float [extrait de rotation.__doc__] |
sceneGrabPosition(self) -> PySide6.QtCore.QPointF | sceneGrabPosition(self) -> PySide6.QtCore.QPointF [extrait de sceneGrabPosition.__doc__] |
sceneLastPosition(self) -> PySide6.QtCore.QPointF | sceneLastPosition(self) -> PySide6.QtCore.QPointF [extrait de sceneLastPosition.__doc__] |
scenePos(self) -> PySide6.QtCore.QPointF | scenePos(self) -> PySide6.QtCore.QPointF [extrait de scenePos.__doc__] |
scenePosition(self) -> PySide6.QtCore.QPointF | scenePosition(self) -> PySide6.QtCore.QPointF [extrait de scenePosition.__doc__] |
scenePressPosition(self) -> PySide6.QtCore.QPointF | scenePressPosition(self) -> PySide6.QtCore.QPointF [extrait de scenePressPosition.__doc__] |
screenPos(self) -> PySide6.QtCore.QPointF | screenPos(self) -> PySide6.QtCore.QPointF [extrait de screenPos.__doc__] |
setAccepted(self, accepted: bool = True) -> None | setAccepted(self, accepted: bool = True) -> None [extrait de setAccepted.__doc__] |
startNormalizedPos(self) -> PySide6.QtCore.QPointF | startNormalizedPos(self) -> PySide6.QtCore.QPointF [extrait de startNormalizedPos.__doc__] |
startPos(self) -> PySide6.QtCore.QPointF | startPos(self) -> PySide6.QtCore.QPointF [extrait de startPos.__doc__] |
startScenePos(self) -> PySide6.QtCore.QPointF | startScenePos(self) -> PySide6.QtCore.QPointF [extrait de startScenePos.__doc__] |
startScreenPos(self) -> PySide6.QtCore.QPointF | startScreenPos(self) -> PySide6.QtCore.QPointF [extrait de startScreenPos.__doc__] |
State | |
state(self) -> PySide6.QtGui.QEventPoint.State | state(self) -> PySide6.QtGui.QEventPoint.State [extrait de state.__doc__] |
swap(self, other: PySide6.QtGui.QEventPoint) -> None | swap(self, other: PySide6.QtGui.QEventPoint) -> None [extrait de swap.__doc__] |
timeHeld(self) -> float | timeHeld(self) -> float [extrait de timeHeld.__doc__] |
timestamp(self) -> int | timestamp(self) -> int [extrait de timestamp.__doc__] |
uniqueId(self) -> PySide6.QtGui.QPointingDeviceUniqueId | uniqueId(self) -> PySide6.QtGui.QPointingDeviceUniqueId [extrait de uniqueId.__doc__] |
velocity(self) -> PySide6.QtGui.QVector2D | velocity(self) -> PySide6.QtGui.QVector2D [extrait de velocity.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :