Participer au site avec un Tip
Rechercher
 

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 :

Module « PySide6.QtWidgets »

Classe « QScroller »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QScroller

Définition

class QScroller(QObject):

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
DraggingPySide6.QtWidgets.QScroller.State.Dragging
InactivePySide6.QtWidgets.QScroller.State.Inactive
InputMovePySide6.QtWidgets.QScroller.Input.InputMove
InputPressPySide6.QtWidgets.QScroller.Input.InputPress
InputReleasePySide6.QtWidgets.QScroller.Input.InputRelease
LeftMouseButtonGesturePySide6.QtWidgets.QScroller.ScrollerGestureType.LeftMouseButtonGesture
MiddleMouseButtonGesturePySide6.QtWidgets.QScroller.ScrollerGestureType.MiddleMouseButtonGesture
PressedPySide6.QtWidgets.QScroller.State.Pressed
RightMouseButtonGesturePySide6.QtWidgets.QScroller.ScrollerGestureType.RightMouseButtonGesture
ScrollingPySide6.QtWidgets.QScroller.State.Scrolling
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfea7ac0>
TouchGesturePySide6.QtWidgets.QScroller.ScrollerGestureType.TouchGesture

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
activeScrollers() -> List[PySide6.QtWidgets.QScroller] activeScrollers() -> List[PySide6.QtWidgets.QScroller] [extrait de activeScrollers.__doc__]
destroyed
ensureVisible ensureVisible(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect], xmargin: float, ymargin: float) -> None [extrait de ensureVisible.__doc__]
finalPosition(self) -> PySide6.QtCore.QPointF finalPosition(self) -> PySide6.QtCore.QPointF [extrait de finalPosition.__doc__]
grabbedGesture(target: PySide6.QtCore.QObject) -> PySide6.QtCore.Qt.GestureType grabbedGesture(target: PySide6.QtCore.QObject) -> PySide6.QtCore.Qt.GestureType [extrait de grabbedGesture.__doc__]
grabGesture(target: PySide6.QtCore.QObject, gestureType: PySide6.QtWidgets.QScroller.ScrollerGestureType = PySide6.QtWidgets.QScroller.ScrollerGestureType.TouchGesture) -> PySide6.QtCore.Qt.GestureType grabGesture(target: PySide6.QtCore.QObject, gestureType: PySide6.QtWidgets.QScroller.ScrollerGestureType = PySide6.QtWidgets.QScroller.ScrollerGestureType.TouchGesture) -> PySide6.QtCore.Qt.GestureType [extrait de grabGesture.__doc__]
handleInput(self, input: PySide6.QtWidgets.QScroller.Input, position: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], timestamp: int = 0) -> bool handleInput(self, input: PySide6.QtWidgets.QScroller.Input, position: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], timestamp: int = 0) -> bool [extrait de handleInput.__doc__]
hasScroller(target: PySide6.QtCore.QObject) -> bool hasScroller(target: PySide6.QtCore.QObject) -> bool [extrait de hasScroller.__doc__]
Input
objectNameChanged
pixelPerMeter(self) -> PySide6.QtCore.QPointF pixelPerMeter(self) -> PySide6.QtCore.QPointF [extrait de pixelPerMeter.__doc__]
resendPrepareEvent(self) -> None resendPrepareEvent(self) -> None [extrait de resendPrepareEvent.__doc__]
scroller(target: PySide6.QtCore.QObject) -> PySide6.QtWidgets.QScroller scroller(target: PySide6.QtCore.QObject) -> PySide6.QtWidgets.QScroller [extrait de scroller.__doc__]
ScrollerGestureType
scrollerProperties(self) -> PySide6.QtWidgets.QScrollerProperties scrollerProperties(self) -> PySide6.QtWidgets.QScrollerProperties [extrait de scrollerProperties.__doc__]
scrollerPropertiesChanged
scrollTo scrollTo(self, pos: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> None [extrait de scrollTo.__doc__]
setScrollerProperties(self, prop: PySide6.QtWidgets.QScrollerProperties) -> None setScrollerProperties(self, prop: PySide6.QtWidgets.QScrollerProperties) -> None [extrait de setScrollerProperties.__doc__]
setSnapPositionsX setSnapPositionsX(self, first: float, interval: float) -> None [extrait de setSnapPositionsX.__doc__]
setSnapPositionsY setSnapPositionsY(self, first: float, interval: float) -> None [extrait de setSnapPositionsY.__doc__]
State
state(self) -> PySide6.QtWidgets.QScroller.State state(self) -> PySide6.QtWidgets.QScroller.State [extrait de state.__doc__]
stateChanged
stop(self) -> None stop(self) -> None [extrait de stop.__doc__]
target(self) -> PySide6.QtCore.QObject target(self) -> PySide6.QtCore.QObject [extrait de target.__doc__]
tr
ungrabGesture(target: PySide6.QtCore.QObject) -> None ungrabGesture(target: PySide6.QtCore.QObject) -> None [extrait de ungrabGesture.__doc__]
velocity(self) -> PySide6.QtCore.QPointF velocity(self) -> PySide6.QtCore.QPointF [extrait de velocity.__doc__]

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__