Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_widgets_util_qscroller.cpp
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5 QWidget *w = ...;
8
10 QWidget *w = ...;
\inmodule QtCore\reentrant
Definition qpoint.h:217
The QScroller class enables kinetic scrolling for any scrolling widget or graphics item.
Definition qscroller.h:26
static QScroller * scroller(QObject *target)
Returns the scroller for the given target.
static Qt::GestureType grabGesture(QObject *target, ScrollerGestureType gestureType=TouchGesture)
Registers a custom scroll gesture recognizer, grabs it for the target and returns the resulting gestu...
void scrollTo(const QPointF &pos)
Starts scrolling the widget so that point pos is at the top-left position in the viewport.
@ LeftMouseButtonGesture
Definition qscroller.h:45
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
GLfloat GLfloat GLfloat w
[0]
QScroller * scroller