2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2017 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2015-12-14 18:06:53 +00:00
|
|
|
|
2020-03-26 16:01:51 +00:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Controls
|
2015-12-14 18:06:53 +00:00
|
|
|
|
2016-09-29 05:55:30 +00:00
|
|
|
ScrollablePage {
|
|
|
|
id: page
|
2015-12-14 18:06:53 +00:00
|
|
|
|
|
|
|
Column {
|
|
|
|
spacing: 40
|
2016-09-29 05:55:30 +00:00
|
|
|
width: parent.width
|
2015-12-14 18:06:53 +00:00
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Label.Wrap
|
2015-12-18 15:32:00 +00:00
|
|
|
horizontalAlignment: Qt.AlignHCenter
|
2015-12-14 18:06:53 +00:00
|
|
|
text: "Slider is used to select a value by sliding a handle along a track."
|
|
|
|
}
|
|
|
|
|
|
|
|
Slider {
|
|
|
|
id: slider
|
|
|
|
value: 0.5
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
}
|
2016-04-07 01:22:27 +00:00
|
|
|
|
|
|
|
Slider {
|
|
|
|
orientation: Qt.Vertical
|
|
|
|
value: 0.5
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
}
|
2015-12-14 18:06:53 +00:00
|
|
|
}
|
|
|
|
}
|