Skip to content

PythonQt.QtGui.QGraphicsSceneWheelEvent · declarations 001

Back to PythonQt.QtGui.QGraphicsSceneWheelEvent

buttons

buttons() -> Any

X.buttons()

Supplemental documentation: Qt 5 reference:

Qt::MouseButtons QGraphicsSceneWheelEvent::buttons() const

Returns the mouse buttons that were pressed when the wheel event occurred.

See also modifiers().

Upstream PySide2 reference signatures (binding differences may apply):

buttons(self) -> PySide2.QtCore.Qt.MouseButtons

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#buttons

delta

delta() -> int

X.delta() -> int

Supplemental documentation: Qt 5 reference:

int QGraphicsSceneWheelEvent::delta() const

Returns the distance that the wheel is rotated, in eighths (1/8s) of a degree. A positive value indicates that the wheel was rotated forwards away from the user; a negative value indicates that the wheel was rotated backwards toward the user.

Most mouse types work in steps of 15 degrees, in which case the delta value is a multiple of 120 (\=\= 15 * 8).

Upstream PySide2 reference signatures (binding differences may apply):

delta(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#delta

modifiers

modifiers() -> Any

X.modifiers()

Supplemental documentation: Qt 5 reference:

Qt::KeyboardModifiers QGraphicsSceneWheelEvent::modifiers() const

Returns the keyboard modifiers that were active when the wheel event occurred.

See also buttons().

Upstream PySide2 reference signatures (binding differences may apply):

modifiers(self) -> PySide2.QtCore.Qt.KeyboardModifiers

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#modifiers

orientation

orientation() -> Any

X.orientation()

Supplemental documentation: Qt 5 reference:

Qt::Orientation QGraphicsSceneWheelEvent::orientation() const

Returns the wheel orientation.

Upstream PySide2 reference signatures (binding differences may apply):

orientation(self) -> PySide2.QtCore.Qt.Orientation

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#orientation

pos

pos() -> Any

X.pos() -> PythonQt.QtCore.QPointF

Supplemental documentation: Qt 5 reference:

QPointF QGraphicsSceneWheelEvent::pos() const

Returns the position of the cursor in item coordinates when the wheel event occurred.

See also scenePos() and screenPos().

Upstream PySide2 reference signatures (binding differences may apply):

pos(self) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#pos

scenePos

scenePos() -> Any

X.scenePos() -> PythonQt.QtCore.QPointF

Supplemental documentation: Qt 5 reference:

QPointF QGraphicsSceneWheelEvent::scenePos() const

Returns the position of the cursor in scene coordinates when the wheel event occurred.

See also pos() and screenPos().

Upstream PySide2 reference signatures (binding differences may apply):

scenePos(self) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#scenePos

screenPos

screenPos() -> Any

X.screenPos() -> PythonQt.QtCore.QPoint

Supplemental documentation: Qt 5 reference:

QPoint QGraphicsSceneWheelEvent::screenPos() const

Returns the position of the cursor in screen coordinates when the wheel event occurred.

See also pos() and scenePos().

Upstream PySide2 reference signatures (binding differences may apply):

screenPos(self) -> PySide2.QtCore.QPoint

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#screenPos

setButtons

setButtons(buttons: Any) -> None

X.setButtons(buttons)

Upstream PySide2 reference signatures (binding differences may apply):

setButtons(self, buttons: PySide2.QtCore.Qt.MouseButtons) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#setButtons

setDelta

setDelta(delta: int) -> None

X.setDelta(delta)

Upstream PySide2 reference signatures (binding differences may apply):

setDelta(self, delta: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#setDelta

setModifiers

setModifiers(modifiers: Any) -> None

X.setModifiers(modifiers)

Upstream PySide2 reference signatures (binding differences may apply):

setModifiers(self, modifiers: PySide2.QtCore.Qt.KeyboardModifiers) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#setModifiers

setOrientation

setOrientation(orientation: Any) -> None

X.setOrientation(orientation)

Upstream PySide2 reference signatures (binding differences may apply):

setOrientation(self, orientation: PySide2.QtCore.Qt.Orientation) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#setOrientation

setPos

setPos(pos: Any) -> None

X.setPos(pos)

Upstream PySide2 reference signatures (binding differences may apply):

setPos(self, pos: PySide2.QtCore.QPointF) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#setPos

setScenePos

setScenePos(pos: Any) -> None

X.setScenePos(pos)

Upstream PySide2 reference signatures (binding differences may apply):

setScenePos(self, pos: PySide2.QtCore.QPointF) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#setScenePos

setScreenPos

setScreenPos(pos: Any) -> None

X.setScreenPos(pos)

Upstream PySide2 reference signatures (binding differences may apply):

setScreenPos(self, pos: PySide2.QtCore.QPoint) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsscenewheelevent.html#setScreenPos