Initial commit
@@ -0,0 +1,90 @@
|
||||
// Copyright (C) 2017 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("AbstractButton")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Text")
|
||||
tooltip: qsTr("The text displayed on the button.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
backendValue: backendValues.text
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Display")
|
||||
tooltip: qsTr("Determines how the icon and text are displayed within the button.")
|
||||
disabledState: !backendValues.display.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.display
|
||||
model: [ "IconOnly", "TextOnly", "TextBesideIcon" ]
|
||||
scope: "AbstractButton"
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
visible: checkable
|
||||
text: qsTr("Checkable")
|
||||
tooltip: qsTr("Whether the button is checkable.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.checkable.valueToString
|
||||
backendValue: backendValues.checkable
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Checked")
|
||||
tooltip: qsTr("Whether the button is checked.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.checked.valueToString
|
||||
backendValue: backendValues.checked
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Exclusive")
|
||||
tooltip: qsTr("Whether the button is exclusive.")
|
||||
disabledState: !backendValues.autoExclusive.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.autoExclusive.valueToString
|
||||
backendValue: backendValues.autoExclusive
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Auto-Repeat")
|
||||
tooltip: qsTr("Whether the button repeats pressed(), released() and clicked() signals while the button is pressed and held down.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.autoRepeat.valueToString
|
||||
backendValue: backendValues.autoRepeat
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("BusyIndicator")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Running")
|
||||
tooltip: qsTr("Whether the busy indicator is currently indicating activity.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.running.valueToString
|
||||
backendValue: backendValues.running
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
// Copyright (C) 2017 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 {
|
||||
id: section
|
||||
caption: qsTr("Button")
|
||||
|
||||
SectionLayout {
|
||||
|
||||
Label {
|
||||
text: qsTr("Flat")
|
||||
tooltip: qsTr("Whether the button is flat.")
|
||||
disabledState: !backendValues.flat.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.flat.valueToString
|
||||
backendValue: backendValues.flat
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
Label {
|
||||
text: qsTr("Highlighted")
|
||||
tooltip: qsTr("Whether the button is highlighted.")
|
||||
disabledState: !backendValues.highlighted.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.highlighted.valueToString
|
||||
backendValue: backendValues.highlighted
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
CheckSection {
|
||||
width: parent.width
|
||||
caption: qsTr("CheckBox")
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
CheckSection {
|
||||
width: parent.width
|
||||
caption: qsTr("CheckDelegate")
|
||||
}
|
||||
|
||||
ItemDelegateSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// Copyright (C) 2017 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 {
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Check State")
|
||||
tooltip: qsTr("The current check state.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.checkState
|
||||
model: [ "Unchecked", "PartiallyChecked", "Checked" ]
|
||||
scope: "Qt"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Tri-state")
|
||||
tooltip: qsTr("Whether the checkbox has three states.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.tristate.valueToString
|
||||
backendValue: backendValues.tristate
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("ComboBox")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Text Role")
|
||||
tooltip: qsTr("The model role used for displaying text.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
backendValue: backendValues.textRole
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Current")
|
||||
tooltip: qsTr("The index of the current item.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.currentIndex
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
Label {
|
||||
text: qsTr("Editable")
|
||||
tooltip: qsTr("Whether the combo box is editable.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.editable.valueToString
|
||||
backendValue: backendValues.editable
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
Label {
|
||||
text: qsTr("Flat")
|
||||
tooltip: qsTr("Whether the combo box button is flat.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.flat.valueToString
|
||||
backendValue: backendValues.flat
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
Label {
|
||||
text: qsTr("DisplayText")
|
||||
tooltip: qsTr("Holds the text that is displayed on the combo box button.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
backendValue: backendValues.displayText
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2017 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("Container")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Current")
|
||||
tooltip: qsTr("The index of the current item.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.currentIndex
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
// Copyright (C) 2017 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("Control")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Enabled")
|
||||
tooltip: qsTr("Whether the control is enabled.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.enabled.valueToString
|
||||
backendValue: backendValues.enabled
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Focus Policy")
|
||||
tooltip: qsTr("Focus policy of the control.")
|
||||
disabledState: !backendValues.focusPolicy.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.focusPolicy
|
||||
model: [ "TabFocus", "ClickFocus", "StrongFocus", "WheelFocus", "NoFocus" ]
|
||||
scope: "Qt"
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Hover")
|
||||
tooltip: qsTr("Whether control accepts hover events.")
|
||||
disabledState: !backendValues.hoverEnabled.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.hoverEnabled.valueToString
|
||||
backendValue: backendValues.hoverEnabled
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Spacing")
|
||||
tooltip: qsTr("Spacing between internal elements of the control.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.spacing
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Wheel")
|
||||
tooltip: qsTr("Whether control accepts wheel events.")
|
||||
disabledState: !backendValues.wheelEnabled.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.wheelEnabled.valueToString
|
||||
backendValue: backendValues.wheelEnabled
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("DelayButton")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Delay")
|
||||
tooltip: qsTr("The delay in milliseconds.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: 0
|
||||
maximumValue: 9999999
|
||||
decimals: 0
|
||||
stepSize: 1
|
||||
backendValue: backendValues.delay
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("Dial")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Value")
|
||||
tooltip: qsTr("The current value of the dial.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: Math.min(backendValues.from.value, backendValues.to.value)
|
||||
maximumValue: Math.max(backendValues.from.value, backendValues.to.value)
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.value
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("From")
|
||||
tooltip: qsTr("The starting value of the dial range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.from
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("To")
|
||||
tooltip: qsTr("The ending value of the dial range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.to
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Step Size")
|
||||
tooltip: qsTr("The step size of the dial.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.stepSize
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Snap Mode")
|
||||
tooltip: qsTr("The snap mode of the dial.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.snapMode
|
||||
model: [ "NoSnap", "SnapOnRelease", "SnapAlways" ]
|
||||
scope: "Dial"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Live")
|
||||
tooltip: qsTr("Whether the dial provides live value updates.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.live.valueToString
|
||||
backendValue: backendValues.live
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Input Mode")
|
||||
tooltip: qsTr("How the dial tracks movement.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.inputMode
|
||||
model: [ "Circular", "Horizontal", "Vertical" ]
|
||||
scope: "Dial"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Wrap")
|
||||
tooltip: qsTr("Whether the dial wraps when dragged.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.wrap.valueToString
|
||||
backendValue: backendValues.wrap
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
PaneSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("GroupBox")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Title")
|
||||
tooltip: qsTr("The title of the group box.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
backendValue: backendValues.title
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PaneSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
// 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// Copyright (C) 2017 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 {
|
||||
id: section
|
||||
caption: qsTr("ItemDelegate")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Highlighted")
|
||||
tooltip: qsTr("Whether the delegate is highlighted.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.highlighted.valueToString
|
||||
backendValue: backendValues.highlighted
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ItemDelegateSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
StandardTextSection {
|
||||
width: parent.width
|
||||
showIsWrapping: true
|
||||
showFormatProperty: true
|
||||
showVerticalAlignment: true
|
||||
}
|
||||
|
||||
Section {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
caption: qsTr("Text Color")
|
||||
|
||||
ColorEditor {
|
||||
caption: qsTr("Text Color")
|
||||
backendValue: backendValues.color
|
||||
supportGradient: false
|
||||
}
|
||||
}
|
||||
|
||||
Section {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
caption: qsTr("Style Color")
|
||||
|
||||
ColorEditor {
|
||||
caption: qsTr("Style Color")
|
||||
backendValue: backendValues.styleColor
|
||||
supportGradient: false
|
||||
}
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
InsetSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
// Copyright (C) 2017 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("Padding")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Top")
|
||||
tooltip: qsTr("Padding between the content and the top edge of the control.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.topPadding
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Left")
|
||||
tooltip: qsTr("Padding between the content and the left edge of the control.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.leftPadding
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Right")
|
||||
tooltip: qsTr("Padding between the content and the right edge of the control.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.rightPadding
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Bottom")
|
||||
tooltip: qsTr("Padding between the content and the bottom edge of the control.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.bottomPadding
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("PageIndicator")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Count")
|
||||
tooltip: qsTr("The number of pages.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.count
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Current")
|
||||
tooltip: qsTr("The index of the current page.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.currentIndex
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Interactive")
|
||||
tooltip: qsTr("Whether the control is interactive.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.interactive.valueToString
|
||||
backendValue: backendValues.interactive
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("Page")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Title")
|
||||
tooltip: qsTr("Title of the page.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
backendValue: backendValues.title
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Content Width")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit width.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentWidth
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Content Height")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit height.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentHeight
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
// Copyright (C) 2017 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("Pane")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Content Width")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit width.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentWidth
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Content Height")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit height.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentHeight
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
PaneSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("ProgressBar")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Indeterminate")
|
||||
tooltip: qsTr("Whether the progress is indeterminate.")
|
||||
disabledState: !backendValues.indeterminate.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.indeterminate.valueToString
|
||||
backendValue: backendValues.indeterminate
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Value")
|
||||
tooltip: qsTr("The current value of the progress.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: Math.min(backendValues.from.value, backendValues.to.value)
|
||||
maximumValue: Math.max(backendValues.from.value, backendValues.to.value)
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.value
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("From")
|
||||
tooltip: qsTr("The starting value for the progress.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.from
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("To")
|
||||
tooltip: qsTr("The ending value for the progress.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.to
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ItemDelegateSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("RangeSlider")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("First Value")
|
||||
tooltip: qsTr("The value of the first range slider handle.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: Math.min(backendValues.from.value, backendValues.to.value)
|
||||
maximumValue: Math.max(backendValues.from.value, backendValues.to.value)
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.first_value
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Second Value")
|
||||
tooltip: qsTr("The value of the second range slider handle.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: Math.min(backendValues.from.value, backendValues.to.value)
|
||||
maximumValue: Math.max(backendValues.from.value, backendValues.to.value)
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.second_value
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("From")
|
||||
tooltip: qsTr("The starting value of the range slider range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.from
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("To")
|
||||
tooltip: qsTr("The ending value of the range slider range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.to
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Step Size")
|
||||
tooltip: qsTr("The step size of the range slider.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.stepSize
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Snap Mode")
|
||||
tooltip: qsTr("The snap mode of the range slider.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.snapMode
|
||||
model: [ "NoSnap", "SnapOnRelease", "SnapAlways" ]
|
||||
scope: "RangeSlider"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Orientation")
|
||||
tooltip: qsTr("The orientation of the range slider.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.orientation
|
||||
model: [ "Horizontal", "Vertical" ]
|
||||
scope: "Qt"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Live")
|
||||
tooltip: qsTr("Whether the range slider provides live value updates.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.live.valueToString
|
||||
backendValue: backendValues.live
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Touch drag threshold")
|
||||
tooltip: qsTr("The threshold (in logical pixels) at which a touch drag event will be initiated.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: 0
|
||||
maximumValue: 10000
|
||||
decimals: 0
|
||||
backendValue: backendValues.touchDragThreshold
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("RoundButton")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Radius")
|
||||
tooltip: qsTr("Radius of the button.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: 0
|
||||
maximumValue: 10000
|
||||
decimals: 0
|
||||
backendValue: backendValues.radius
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("ScrollView")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Content Width")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit width.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentWidth
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Content Height")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit height.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentHeight
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("Slider")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Value")
|
||||
tooltip: qsTr("The current value of the slider.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: Math.min(backendValues.from.value, backendValues.to.value)
|
||||
maximumValue: Math.max(backendValues.from.value, backendValues.to.value)
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.value
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("From")
|
||||
tooltip: qsTr("The starting value of the slider range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.from
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("To")
|
||||
tooltip: qsTr("The ending value of the slider range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.to
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Step Size")
|
||||
tooltip: qsTr("The step size of the slider.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.stepSize
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Snap Mode")
|
||||
tooltip: qsTr("The snap mode of the slider.")
|
||||
disabledState: !backendValues.snapMode.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.snapMode
|
||||
model: [ "NoSnap", "SnapOnRelease", "SnapAlways" ]
|
||||
scope: "Slider"
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Orientation")
|
||||
tooltip: qsTr("The orientation of the slider.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.orientation
|
||||
model: [ "Horizontal", "Vertical" ]
|
||||
scope: "Qt"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Live")
|
||||
tooltip: qsTr("Whether the slider provides live value updates.")
|
||||
disabledState: !backendValues.live.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.live.valueToString
|
||||
backendValue: backendValues.live
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Touch drag threshold")
|
||||
tooltip: qsTr("The threshold (in logical pixels) at which a touch drag event will be initiated.")
|
||||
disabledState: !backendValues.touchDragThreshold.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: 0
|
||||
maximumValue: 10000
|
||||
decimals: 0
|
||||
backendValue: backendValues.touchDragThreshold
|
||||
Layout.fillWidth: true
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("SpinBox")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Value")
|
||||
tooltip: qsTr("The current value of the spinbox.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
minimumValue: Math.min(backendValues.from.value, backendValues.to.value)
|
||||
maximumValue: Math.max(backendValues.from.value, backendValues.to.value)
|
||||
decimals: 2
|
||||
backendValue: backendValues.value
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("From")
|
||||
tooltip: qsTr("The starting value of the spinbox range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
backendValue: backendValues.from
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("To")
|
||||
tooltip: qsTr("The ending value of the spinbox range.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
backendValue: backendValues.to
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Step Size")
|
||||
tooltip: qsTr("The step size of the spinbox.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 2
|
||||
backendValue: backendValues.stepSize
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Editable")
|
||||
tooltip: qsTr("Whether the spinbox is editable.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.editable.valueToString
|
||||
backendValue: backendValues.editable
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Wrap")
|
||||
tooltip: qsTr("Whether the spinbox wraps.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.wrap.valueToString
|
||||
backendValue: backendValues.wrap
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ItemDelegateSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("SwipeView")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Interactive")
|
||||
tooltip: qsTr("Whether the view is interactive.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.interactive.valueToString
|
||||
backendValue: backendValues.interactive
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Orientation")
|
||||
tooltip: qsTr("Orientation of the view.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.orientation
|
||||
model: [ "Horizontal", "Vertical" ]
|
||||
scope: "Qt"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ContainerSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ItemDelegateSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("TabBar")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Position")
|
||||
tooltip: qsTr("Position of the tabbar.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.position
|
||||
model: [ "Header", "Footer" ]
|
||||
scope: "TabBar"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Content Width")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit width.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentWidth
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Content Height")
|
||||
tooltip: qsTr("Content height used for calculating the total implicit height.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.contentHeight
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ContainerSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("TextArea")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Placeholder")
|
||||
tooltip: qsTr("Placeholder text displayed when the editor is empty.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
backendValue: backendValues.placeholderText
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Hover")
|
||||
tooltip: qsTr("Whether text area accepts hover events.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.hoverEnabled.valueToString
|
||||
backendValue: backendValues.hoverEnabled
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("Placeholder Text Color")
|
||||
|
||||
ColorEditor {
|
||||
caption: qsTr("Placeholder Text Color")
|
||||
backendValue: backendValues.placeholderTextColor
|
||||
supportGradient: false
|
||||
}
|
||||
}
|
||||
|
||||
StandardTextSection {
|
||||
width: parent.width
|
||||
showIsWrapping: true
|
||||
showFormatProperty: true
|
||||
showVerticalAlignment: true
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
InsetSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("TextField")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Placeholder")
|
||||
tooltip: qsTr("Placeholder text displayed when the editor is empty.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
backendValue: backendValues.placeholderText
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Hover")
|
||||
tooltip: qsTr("Whether text field accepts hover events.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.hoverEnabled.valueToString
|
||||
backendValue: backendValues.hoverEnabled
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("Placeholder Text Color")
|
||||
|
||||
ColorEditor {
|
||||
caption: qsTr("Placeholder Text Color")
|
||||
backendValue: backendValues.placeholderTextColor
|
||||
supportGradient: false
|
||||
}
|
||||
}
|
||||
|
||||
StandardTextSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
InsetSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("ToolBar")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Position")
|
||||
tooltip: qsTr("Position of the toolbar.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.position
|
||||
model: [ "Header", "Footer" ]
|
||||
scope: "ToolBar"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PaneSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
ButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
AbstractButtonSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("ToolSeparator")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Orientation")
|
||||
tooltip: qsTr("The orientation of the separator.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
ComboBox {
|
||||
backendValue: backendValues.orientation
|
||||
model: [ "Horizontal", "Vertical" ]
|
||||
scope: "Qt"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
// Copyright (C) 2017 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
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
||||
Section {
|
||||
width: parent.width
|
||||
caption: qsTr("Tumbler")
|
||||
|
||||
SectionLayout {
|
||||
Label {
|
||||
text: qsTr("Visible Count")
|
||||
tooltip: qsTr("The count of visible items.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.visibleItemCount
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Current")
|
||||
tooltip: qsTr("The index of the current item.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: -9999999
|
||||
decimals: 0
|
||||
backendValue: backendValues.currentIndex
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Wrap")
|
||||
tooltip: qsTr("Whether the tumbler wrap.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
CheckBox {
|
||||
text: backendValues.wrap.valueToString
|
||||
backendValue: backendValues.wrap
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("flickDeceleration")
|
||||
tooltip: qsTr("The rate at which a flick will decelerate.")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
maximumValue: 9999999
|
||||
minimumValue: 0
|
||||
decimals: 2
|
||||
stepSize: 0.1
|
||||
backendValue: backendValues.flickDeceleration
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ControlSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
FontSection {
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
PaddingSection {
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 320 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 643 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 145 B |
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 258 B |
|
After Width: | Height: | Size: 230 B |
|
After Width: | Height: | Size: 336 B |
|
After Width: | Height: | Size: 156 B |
|
After Width: | Height: | Size: 155 B |
|
After Width: | Height: | Size: 185 B |
|
After Width: | Height: | Size: 293 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 509 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 160 B |
|
After Width: | Height: | Size: 286 B |
|
After Width: | Height: | Size: 267 B |
|
After Width: | Height: | Size: 243 B |
|
After Width: | Height: | Size: 505 B |
|
After Width: | Height: | Size: 121 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 125 B |
|
After Width: | Height: | Size: 133 B |
|
After Width: | Height: | Size: 125 B |
|
After Width: | Height: | Size: 136 B |
|
After Width: | Height: | Size: 127 B |
|
After Width: | Height: | Size: 124 B |
|
After Width: | Height: | Size: 133 B |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 182 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 148 B |
|
After Width: | Height: | Size: 195 B |
|
After Width: | Height: | Size: 179 B |
|
After Width: | Height: | Size: 158 B |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 93 B |
|
After Width: | Height: | Size: 92 B |
|
After Width: | Height: | Size: 96 B |
|
After Width: | Height: | Size: 101 B |
|
After Width: | Height: | Size: 92 B |
|
After Width: | Height: | Size: 127 B |
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 218 B |
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 269 B |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 282 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 186 B |
|
After Width: | Height: | Size: 381 B |
|
After Width: | Height: | Size: 110 B |