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.Layouts
|
|
|
|
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
|
|
|
|
2016-09-29 05:55:30 +00:00
|
|
|
Column {
|
|
|
|
spacing: 40
|
2015-12-14 18:06:53 +00:00
|
|
|
width: parent.width
|
|
|
|
|
2016-09-29 05:55:30 +00:00
|
|
|
Label {
|
2015-12-14 18:06:53 +00:00
|
|
|
width: parent.width
|
2016-09-29 05:55:30 +00:00
|
|
|
wrapMode: Label.Wrap
|
|
|
|
horizontalAlignment: Qt.AlignHCenter
|
2023-02-23 13:17:52 +00:00
|
|
|
text: qsTr("Button presents a push-button that can be pushed or clicked by the user. "
|
|
|
|
+ "Buttons are normally used to perform an action, or to answer a question.")
|
2016-09-29 05:55:30 +00:00
|
|
|
}
|
2015-12-14 18:06:53 +00:00
|
|
|
|
2016-11-17 09:31:25 +00:00
|
|
|
ColumnLayout {
|
2016-09-29 05:55:30 +00:00
|
|
|
spacing: 20
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
2015-12-14 18:06:53 +00:00
|
|
|
|
2016-09-29 05:55:30 +00:00
|
|
|
Button {
|
2023-02-23 13:17:52 +00:00
|
|
|
text: qsTr("First")
|
2025-05-23 08:23:27 +00:00
|
|
|
enabled: !GalleryConfig.disabled
|
2016-11-17 09:31:25 +00:00
|
|
|
Layout.fillWidth: true
|
2016-09-29 05:55:30 +00:00
|
|
|
}
|
|
|
|
Button {
|
|
|
|
id: button
|
2023-02-23 13:17:52 +00:00
|
|
|
text: qsTr("Second")
|
2025-05-23 08:23:27 +00:00
|
|
|
enabled: !GalleryConfig.disabled
|
2016-09-29 05:55:30 +00:00
|
|
|
highlighted: true
|
2016-11-17 09:31:25 +00:00
|
|
|
Layout.fillWidth: true
|
2016-09-29 05:55:30 +00:00
|
|
|
}
|
2015-12-14 18:06:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|