KDeclarative

ScrollView.qml
1 /*
2  SPDX-FileCopyrightText: 2018 Marco Martin <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-only
5 */
6 
7 import QtQuick 2.7
8 import QtQuick.Layouts 1.1
9 import QtQuick.Controls 2.2 as QtControls
10 import org.kde.kirigami 2.3 as Kirigami
11 
27 QtControls.ScrollView {
28  id: scroll
29 
34  property Flickable view
35  contentItem: view
36  onViewChanged: {
37  view.parent = scroll;
38  }
39 
40  activeFocusOnTab: false
41  Kirigami.Theme.colorSet: Kirigami.Theme.View
42  Kirigami.Theme.inherit: false
43 
44  Component.onCompleted: scroll.background.visible = true;
45 
46 
47  QtControls.ScrollBar.horizontal.visible: false
48 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Aug 11 2020 22:40:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.