QScroller¶

PyQt5.QtWidgets.QScroller

Inherits from QObject.

Description¶

TODO

Enums¶

Input

TODO

Member

Value

Description

InputMove

TODO

TODO

InputPress

TODO

TODO

InputRelease

TODO

TODO


ScrollerGestureType

TODO

Member

Value

Description

LeftMouseButtonGesture

TODO

TODO

MiddleMouseButtonGesture

TODO

TODO

RightMouseButtonGesture

TODO

TODO

TouchGesture

TODO

TODO


State

TODO

Member

Value

Description

Dragging

TODO

TODO

Inactive

TODO

TODO

Pressed

TODO

TODO

Scrolling

TODO

TODO

Methods¶

@staticmethod
activeScrollers() → List[QScroller]

TODO


ensureVisible(QRectF, float, float)

TODO


ensureVisible(QRectF, float, float, int)

TODO


finalPosition() → QPointF

TODO


@staticmethod
grabbedGesture(QObject) → GestureType

TODO


@staticmethod
grabGesture(QObject, scrollGestureType: ScrollerGestureType = TouchGesture) → GestureType

TODO


handleInput(Input, Union[QPointF, QPoint], timestamp: int = 0) → bool

TODO


@staticmethod
hasScroller(QObject) → bool

TODO


pixelPerMeter() → QPointF

TODO


resendPrepareEvent()

TODO


@staticmethod
scroller(QObject) → QScroller

TODO


scrollerProperties() → QScrollerProperties

TODO


scrollTo(Union[QPointF, QPoint])

TODO


scrollTo(Union[QPointF, QPoint], int)

TODO


setScrollerProperties(QScrollerProperties)

TODO


setSnapPositionsX(Iterable[float])

TODO


setSnapPositionsX(float, float)

TODO


setSnapPositionsY(Iterable[float])

TODO


setSnapPositionsY(float, float)

TODO


state() → State

TODO


stop()

TODO


target() → QObject

TODO


@staticmethod
ungrabGesture(QObject)

TODO


velocity() → QPointF

TODO

Signals¶

scrollerPropertiesChanged(QScrollerProperties)

TODO


stateChanged(State)

TODO