Kirigami2
ScrollablePage.qml
34 * @warning Do not put a ScrollView inside of a ScrollablePage; children of a ScrollablePage are already inside a ScrollView.
95 property Flickable flickable: Flickable {} // FIXME KF6: this empty flickable exists for compatibility reasons. some apps assume flickable exists right from the beginning but ScrollView internally assumes it does not
135 * @brief This property sets whether it is possible to navigate the items in a view that support it.
176 * @param item The item that should be in the visible area of the flickable. Item coordinates need to be in the flickable's coordinate system.
191 root.flickable.contentX = Math.min(root.flickable.contentWidth - root.flickable.width, viewXPosition)
196 root.flickable.contentY = Math.min(root.flickable.contentHeight - root.flickable.height, viewYPosition)
216 Kirigami.Theme.colorSet: flickable?.hasOwnProperty("model") ? Kirigami.Theme.View : Kirigami.Theme.Window
251 width: root.horizontalScrollBarPolicy === QQC2.ScrollBar.AlwaysOff ? root.flickable.width : Math.max(root.flickable.width, implicitWidth)
338 // The flickable needs focus only if the page didn't already explicitly set focus to some other control (eg a text field in the header)
355 root.flickable.contentHeight = Qt.binding(() => scrollingArea.implicitHeight - root.flickable.topMargin - root.flickable.bottomMargin);
357 scrollView.forceActiveFocus(Qt.TabFocusReason); // QTBUG-44043 : Focus on currentItem instead of pageStack itself
361 // HACK: Qt's default flick deceleration is too high, and we can't change it from plasma-integration, see QTBUG-121500
A pull-down to refresh indicator that can be added to any Flickable or ScrollablePage.
Definition PullDownIndicator.qml:13
void ensureVisible(Item item, int xOffset, int yOffset)
This method checks whether a particular child item is in view, and scrolls the page to center the ite...
int horizontalScrollBarPolicy
This property sets the horizontal scrollbar policy.
Definition ScrollablePage.qml:106
int verticalScrollBarPolicy
This property sets the vertical scrollbar policy.
Definition ScrollablePage.qml:96
bool keyboardNavigationEnabled
This property sets whether it is possible to navigate the items in a view that support it.
Definition ScrollablePage.qml:133
bool verticalScrollBarInteractive
Set if the vertical scrollbar should be interactable.
Definition ScrollablePage.qml:101
bool refreshing
This property tells whether the list is asking for a refresh.
Definition ScrollablePage.qml:76
Flickable flickable
This property holds the main Flickable item of this page.
Definition ScrollablePage.qml:87
bool supportsRefreshing
This property sets whether scrollable page supports "pull down to refresh" behaviour.
Definition ScrollablePage.qml:82
bool horizontalScrollBarInteractive
Set if the horizontal scrollbar should be interactable.
Definition ScrollablePage.qml:111
QAction * print(const QObject *recvr, const char *slot, QObject *parent)
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:47:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:47:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.