Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickscrollbar.cpp File Reference

(01cd43d30e3ca2c4dd94a4a4711604adb9417517)

#include "qquickscrollbar_p.h"
#include "qquickscrollbar_p_p.h"
#include "qquickscrollview_p.h"
#include <QtQml/qqmlinfo.h>
#include <QtQuick/private/qquickflickable_p.h>
#include "moc_qquickscrollbar_p.cpp"
Include dependency graph for qquickscrollbar.cpp:

Go to the source code of this file.

Classes

class  QQuickFriendlyFlickable

Variables

static QT_BEGIN_NAMESPACE const QQuickItemPrivate::ChangeTypes QsbChangeTypes = QQuickItemPrivate::Geometry | QQuickItemPrivate::Destroyed
 Vertical or horizontal interactive scroll bar.
static const QQuickItemPrivate::ChangeTypes QsbHorizontalChangeTypes = QsbChangeTypes | QQuickItemPrivate::ImplicitHeight
static const QQuickItemPrivate::ChangeTypes QsbVerticalChangeTypes = QsbChangeTypes | QQuickItemPrivate::ImplicitWidth

Variable Documentation

◆ QsbChangeTypes

QT_BEGIN_NAMESPACE const QQuickItemPrivate::ChangeTypes QsbChangeTypes = QQuickItemPrivate::Geometry | QQuickItemPrivate::Destroyed
static

Vertical or horizontal interactive scroll bar.

\qmltype ScrollBar
\inherits Control

! \nativetype QQuickScrollBar \inqmlmodule QtQuick.Controls

Since
5.7

ScrollBar is an interactive bar that can be used to scroll to a specific position. A scroll bar can be either \l vertical or \l horizontal, and can be attached to any \l Flickable, such as \l ListView and \l GridView. It can also be used with \l ScrollView.

Flickable {
// ...
ScrollBar.vertical: ScrollBar { }
}

Definition at line 128 of file qquickscrollbar.cpp.

◆ QsbHorizontalChangeTypes

const QQuickItemPrivate::ChangeTypes QsbHorizontalChangeTypes = QsbChangeTypes | QQuickItemPrivate::ImplicitHeight
static

Definition at line 129 of file qquickscrollbar.cpp.

◆ QsbVerticalChangeTypes

const QQuickItemPrivate::ChangeTypes QsbVerticalChangeTypes = QsbChangeTypes | QQuickItemPrivate::ImplicitWidth
static

Definition at line 130 of file qquickscrollbar.cpp.