| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- // Copyright (C) 2020 The Qt Company Ltd.
- // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
- // Qt-Security score:significant reason:default
- import QtQuick
- import HelperWidgets
- import QtQuick.Layouts
- Section {
- caption: qsTr("Inset")
- SectionLayout {
- Label {
- text: qsTr("Vertical")
- }
- SecondColumnLayout {
- Label {
- text: qsTr("Top")
- tooltip: qsTr("Top inset for the background.")
- width: 42
- }
- SpinBox {
- maximumValue: 10000
- minimumValue: -10000
- realDragRange: 5000
- decimals: 0
- backendValue: backendValues.topInset
- Layout.fillWidth: true
- }
- Item {
- width: 4
- height: 4
- }
- Label {
- text: qsTr("Bottom")
- tooltip: qsTr("Bottom inset for the background.")
- width: 42
- }
- SpinBox {
- maximumValue: 10000
- minimumValue: -10000
- realDragRange: 5000
- decimals: 0
- backendValue: backendValues.bottomInset
- Layout.fillWidth: true
- }
- }
- Label {
- text: qsTr("Horizontal")
- }
- SecondColumnLayout {
- Label {
- text: qsTr("Left")
- tooltip: qsTr("Left inset for the background.")
- width: 42
- }
- SpinBox {
- maximumValue: 10000
- minimumValue: -10000
- realDragRange: 5000
- decimals: 0
- backendValue: backendValues.leftInset
- Layout.fillWidth: true
- }
- Item {
- width: 4
- height: 4
- }
- Label {
- text: qsTr("Right")
- tooltip: qsTr("Right inset for the background.")
- width: 42
- }
- SpinBox {
- maximumValue: 10000
- minimumValue: -10000
- realDragRange: 5000
- decimals: 0
- backendValue: backendValues.rightInset
- Layout.fillWidth: true
- }
- }
- }
- }
|