diff options
author | Mitch Curtis <[email protected]> | 2021-08-12 14:39:51 +0200 |
---|---|---|
committer | Mitch Curtis <[email protected]> | 2021-08-16 12:52:59 +0200 |
commit | 809339d1484cf556512534367b8170bc26baf072 (patch) | |
tree | 12871313b658f36d058b5ef25af1e247e9c46ce9 /src/quickcontrols2/designer | |
parent | b01b4f00eae8022c6a97d90f54dac395144ae095 (diff) |
Now that qtquickcontrols2 has been merged into qtdeclarative,
we should make it obvious that this repo should no longer be
used, by preventing it from being built.
Task-number: QTBUG-95173
Pick-to: 6.2
Change-Id: I95bd6a214f3d75a865ab163ee0a1f9ffbeb7a051
Reviewed-by: Alexandru Croitor <[email protected]>
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/quickcontrols2/designer')
135 files changed, 0 insertions, 4603 deletions
diff --git a/src/quickcontrols2/designer/AbstractButtonSection.qml b/src/quickcontrols2/designer/AbstractButtonSection.qml deleted file mode 100644 index 2ccb8231..00000000 --- a/src/quickcontrols2/designer/AbstractButtonSection.qml +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/BusyIndicatorSpecifics.qml b/src/quickcontrols2/designer/BusyIndicatorSpecifics.qml deleted file mode 100644 index 7b2899d3..00000000 --- a/src/quickcontrols2/designer/BusyIndicatorSpecifics.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/ButtonSection.qml b/src/quickcontrols2/designer/ButtonSection.qml deleted file mode 100644 index ff70d52c..00000000 --- a/src/quickcontrols2/designer/ButtonSection.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/ButtonSpecifics.qml b/src/quickcontrols2/designer/ButtonSpecifics.qml deleted file mode 100644 index 5a46e72a..00000000 --- a/src/quickcontrols2/designer/ButtonSpecifics.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/CMakeLists.txt b/src/quickcontrols2/designer/CMakeLists.txt deleted file mode 100644 index 38d82ace..00000000 --- a/src/quickcontrols2/designer/CMakeLists.txt +++ /dev/null @@ -1,61 +0,0 @@ -file(GLOB_RECURSE __aux_qml_glob_files - RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" - "images/*.png" -) - -qt_copy_or_install( - FILES - ${__aux_qml_glob_files} - DESTINATION "${INSTALL_QMLDIR}/QtQuick/Controls/designer/images" -) - -qt_copy_or_install( - FILES - AbstractButtonSection.qml - BusyIndicatorSpecifics.qml - ButtonSection.qml - ButtonSpecifics.qml - CheckBoxSpecifics.qml - CheckDelegateSpecifics.qml - CheckSection.qml - ComboBoxSpecifics.qml - ContainerSection.qml - ControlSection.qml - ControlSpecifics.qml - DelayButtonSpecifics.qml - DialSpecifics.qml - FrameSpecifics.qml - GroupBoxSpecifics.qml - InsetSection.qml - ItemDelegateSection.qml - ItemDelegateSpecifics.qml - LabelSpecifics.qml - PaddingSection.qml - PageIndicatorSpecifics.qml - PageSpecifics.qml - PaneSection.qml - PaneSpecifics.qml - ProgressBarSpecifics.qml - RadioButtonSpecifics.qml - RadioDelegateSpecifics.qml - RangeSliderSpecifics.qml - RoundButtonSpecifics.qml - ScrollViewSpecifics.qml - SliderSpecifics.qml - SpinBoxSpecifics.qml - StackViewSpecifics.qml - SwipeDelegateSpecifics.qml - SwipeViewSpecifics.qml - SwitchDelegateSpecifics.qml - SwitchSpecifics.qml - TabBarSpecifics.qml - TabButtonSpecifics.qml - TextAreaSpecifics.qml - TextFieldSpecifics.qml - ToolBarSpecifics.qml - ToolButtonSpecifics.qml - ToolSeparatorSpecifics.qml - TumblerSpecifics.qml - qtquickcontrols2.metainfo - DESTINATION "${INSTALL_QMLDIR}/QtQuick/Controls/designer" -) diff --git a/src/quickcontrols2/designer/CheckBoxSpecifics.qml b/src/quickcontrols2/designer/CheckBoxSpecifics.qml deleted file mode 100644 index d3aae9b6..00000000 --- a/src/quickcontrols2/designer/CheckBoxSpecifics.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/CheckDelegateSpecifics.qml b/src/quickcontrols2/designer/CheckDelegateSpecifics.qml deleted file mode 100644 index 8014480c..00000000 --- a/src/quickcontrols2/designer/CheckDelegateSpecifics.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/CheckSection.qml b/src/quickcontrols2/designer/CheckSection.qml deleted file mode 100644 index 0f49fa25..00000000 --- a/src/quickcontrols2/designer/CheckSection.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/ComboBoxSpecifics.qml b/src/quickcontrols2/designer/ComboBoxSpecifics.qml deleted file mode 100644 index 810f19b5..00000000 --- a/src/quickcontrols2/designer/ComboBoxSpecifics.qml +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/ContainerSection.qml b/src/quickcontrols2/designer/ContainerSection.qml deleted file mode 100644 index 15d1ddf5..00000000 --- a/src/quickcontrols2/designer/ContainerSection.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/ControlSection.qml b/src/quickcontrols2/designer/ControlSection.qml deleted file mode 100644 index 12033eea..00000000 --- a/src/quickcontrols2/designer/ControlSection.qml +++ /dev/null @@ -1,114 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/ControlSpecifics.qml b/src/quickcontrols2/designer/ControlSpecifics.qml deleted file mode 100644 index 3937437b..00000000 --- a/src/quickcontrols2/designer/ControlSpecifics.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick -import HelperWidgets -import QtQuick.Layouts - -Column { - width: parent.width - - ControlSection { - width: parent.width - } - - FontSection { - width: parent.width - } - - PaddingSection { - width: parent.width - } -} diff --git a/src/quickcontrols2/designer/DelayButtonSpecifics.qml b/src/quickcontrols2/designer/DelayButtonSpecifics.qml deleted file mode 100644 index 024fe589..00000000 --- a/src/quickcontrols2/designer/DelayButtonSpecifics.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/DialSpecifics.qml b/src/quickcontrols2/designer/DialSpecifics.qml deleted file mode 100644 index 026cb2b1..00000000 --- a/src/quickcontrols2/designer/DialSpecifics.qml +++ /dev/null @@ -1,172 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/FrameSpecifics.qml b/src/quickcontrols2/designer/FrameSpecifics.qml deleted file mode 100644 index 36739956..00000000 --- a/src/quickcontrols2/designer/FrameSpecifics.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/GroupBoxSpecifics.qml b/src/quickcontrols2/designer/GroupBoxSpecifics.qml deleted file mode 100644 index f808b001..00000000 --- a/src/quickcontrols2/designer/GroupBoxSpecifics.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/InsetSection.qml b/src/quickcontrols2/designer/InsetSection.qml deleted file mode 100644 index 45a4df4f..00000000 --- a/src/quickcontrols2/designer/InsetSection.qml +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/ItemDelegateSection.qml b/src/quickcontrols2/designer/ItemDelegateSection.qml deleted file mode 100644 index 448a20d9..00000000 --- a/src/quickcontrols2/designer/ItemDelegateSection.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/ItemDelegateSpecifics.qml b/src/quickcontrols2/designer/ItemDelegateSpecifics.qml deleted file mode 100644 index 1757521d..00000000 --- a/src/quickcontrols2/designer/ItemDelegateSpecifics.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/LabelSpecifics.qml b/src/quickcontrols2/designer/LabelSpecifics.qml deleted file mode 100644 index 569b44c8..00000000 --- a/src/quickcontrols2/designer/LabelSpecifics.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/PaddingSection.qml b/src/quickcontrols2/designer/PaddingSection.qml deleted file mode 100644 index 325c5698..00000000 --- a/src/quickcontrols2/designer/PaddingSection.qml +++ /dev/null @@ -1,101 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/PageIndicatorSpecifics.qml b/src/quickcontrols2/designer/PageIndicatorSpecifics.qml deleted file mode 100644 index c73652e9..00000000 --- a/src/quickcontrols2/designer/PageIndicatorSpecifics.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/PageSpecifics.qml b/src/quickcontrols2/designer/PageSpecifics.qml deleted file mode 100644 index 965ed655..00000000 --- a/src/quickcontrols2/designer/PageSpecifics.qml +++ /dev/null @@ -1,101 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/PaneSection.qml b/src/quickcontrols2/designer/PaneSection.qml deleted file mode 100644 index 9dcc2097..00000000 --- a/src/quickcontrols2/designer/PaneSection.qml +++ /dev/null @@ -1,73 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } -} diff --git a/src/quickcontrols2/designer/PaneSpecifics.qml b/src/quickcontrols2/designer/PaneSpecifics.qml deleted file mode 100644 index 36739956..00000000 --- a/src/quickcontrols2/designer/PaneSpecifics.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/ProgressBarSpecifics.qml b/src/quickcontrols2/designer/ProgressBarSpecifics.qml deleted file mode 100644 index 14f87925..00000000 --- a/src/quickcontrols2/designer/ProgressBarSpecifics.qml +++ /dev/null @@ -1,121 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/RadioButtonSpecifics.qml b/src/quickcontrols2/designer/RadioButtonSpecifics.qml deleted file mode 100644 index df0af7e7..00000000 --- a/src/quickcontrols2/designer/RadioButtonSpecifics.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/RadioDelegateSpecifics.qml b/src/quickcontrols2/designer/RadioDelegateSpecifics.qml deleted file mode 100644 index 1757521d..00000000 --- a/src/quickcontrols2/designer/RadioDelegateSpecifics.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/RangeSliderSpecifics.qml b/src/quickcontrols2/designer/RangeSliderSpecifics.qml deleted file mode 100644 index 577033ed..00000000 --- a/src/quickcontrols2/designer/RangeSliderSpecifics.qml +++ /dev/null @@ -1,189 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/RoundButtonSpecifics.qml b/src/quickcontrols2/designer/RoundButtonSpecifics.qml deleted file mode 100644 index 58d34689..00000000 --- a/src/quickcontrols2/designer/RoundButtonSpecifics.qml +++ /dev/null @@ -1,84 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/ScrollViewSpecifics.qml b/src/quickcontrols2/designer/ScrollViewSpecifics.qml deleted file mode 100644 index ae525b74..00000000 --- a/src/quickcontrols2/designer/ScrollViewSpecifics.qml +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/SliderSpecifics.qml b/src/quickcontrols2/designer/SliderSpecifics.qml deleted file mode 100644 index 3af20540..00000000 --- a/src/quickcontrols2/designer/SliderSpecifics.qml +++ /dev/null @@ -1,180 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/SpinBoxSpecifics.qml b/src/quickcontrols2/designer/SpinBoxSpecifics.qml deleted file mode 100644 index 9c07e8c5..00000000 --- a/src/quickcontrols2/designer/SpinBoxSpecifics.qml +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/StackViewSpecifics.qml b/src/quickcontrols2/designer/StackViewSpecifics.qml deleted file mode 100644 index 3937437b..00000000 --- a/src/quickcontrols2/designer/StackViewSpecifics.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick -import HelperWidgets -import QtQuick.Layouts - -Column { - width: parent.width - - ControlSection { - width: parent.width - } - - FontSection { - width: parent.width - } - - PaddingSection { - width: parent.width - } -} diff --git a/src/quickcontrols2/designer/SwipeDelegateSpecifics.qml b/src/quickcontrols2/designer/SwipeDelegateSpecifics.qml deleted file mode 100644 index 1757521d..00000000 --- a/src/quickcontrols2/designer/SwipeDelegateSpecifics.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/SwipeViewSpecifics.qml b/src/quickcontrols2/designer/SwipeViewSpecifics.qml deleted file mode 100644 index a28a2917..00000000 --- a/src/quickcontrols2/designer/SwipeViewSpecifics.qml +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/SwitchDelegateSpecifics.qml b/src/quickcontrols2/designer/SwitchDelegateSpecifics.qml deleted file mode 100644 index 4236de67..00000000 --- a/src/quickcontrols2/designer/SwitchDelegateSpecifics.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/SwitchSpecifics.qml b/src/quickcontrols2/designer/SwitchSpecifics.qml deleted file mode 100644 index df0af7e7..00000000 --- a/src/quickcontrols2/designer/SwitchSpecifics.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/TabBarSpecifics.qml b/src/quickcontrols2/designer/TabBarSpecifics.qml deleted file mode 100644 index 6f02cdaa..00000000 --- a/src/quickcontrols2/designer/TabBarSpecifics.qml +++ /dev/null @@ -1,107 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/TabButtonSpecifics.qml b/src/quickcontrols2/designer/TabButtonSpecifics.qml deleted file mode 100644 index df0af7e7..00000000 --- a/src/quickcontrols2/designer/TabButtonSpecifics.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/TextAreaSpecifics.qml b/src/quickcontrols2/designer/TextAreaSpecifics.qml deleted file mode 100644 index 785d7a50..00000000 --- a/src/quickcontrols2/designer/TextAreaSpecifics.qml +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/TextFieldSpecifics.qml b/src/quickcontrols2/designer/TextFieldSpecifics.qml deleted file mode 100644 index 33a90f2a..00000000 --- a/src/quickcontrols2/designer/TextFieldSpecifics.qml +++ /dev/null @@ -1,101 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/ToolBarSpecifics.qml b/src/quickcontrols2/designer/ToolBarSpecifics.qml deleted file mode 100644 index 2b1b17d2..00000000 --- a/src/quickcontrols2/designer/ToolBarSpecifics.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/ToolButtonSpecifics.qml b/src/quickcontrols2/designer/ToolButtonSpecifics.qml deleted file mode 100644 index 5a46e72a..00000000 --- a/src/quickcontrols2/designer/ToolButtonSpecifics.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/ToolSeparatorSpecifics.qml b/src/quickcontrols2/designer/ToolSeparatorSpecifics.qml deleted file mode 100644 index a62147ec..00000000 --- a/src/quickcontrols2/designer/ToolSeparatorSpecifics.qml +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } -} diff --git a/src/quickcontrols2/designer/TumblerSpecifics.qml b/src/quickcontrols2/designer/TumblerSpecifics.qml deleted file mode 100644 index 25fb9275..00000000 --- a/src/quickcontrols2/designer/TumblerSpecifics.qml +++ /dev/null @@ -1,102 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -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 - } - } - } - } - - ControlSection { - width: parent.width - } - - FontSection { - width: parent.width - } - - PaddingSection { - width: parent.width - } -} diff --git a/src/quickcontrols2/designer/designer.pri b/src/quickcontrols2/designer/designer.pri deleted file mode 100644 index 6692b203..00000000 --- a/src/quickcontrols2/designer/designer.pri +++ /dev/null @@ -1,52 +0,0 @@ -AUX_QML_FILES += \ - $$PWD/qtquickcontrols2.metainfo - -AUX_QML_FILES += \ - $$PWD/AbstractButtonSection.qml \ - $$PWD/BusyIndicatorSpecifics.qml \ - $$PWD/ButtonSection.qml \ - $$PWD/ButtonSpecifics.qml \ - $$PWD/CheckBoxSpecifics.qml \ - $$PWD/CheckDelegateSpecifics.qml \ - $$PWD/CheckSection.qml \ - $$PWD/ComboBoxSpecifics.qml \ - $$PWD/ContainerSection.qml \ - $$PWD/ControlSection.qml \ - $$PWD/ControlSpecifics.qml \ - $$PWD/DelayButtonSpecifics.qml \ - $$PWD/DialSpecifics.qml \ - $$PWD/FrameSpecifics.qml \ - $$PWD/GroupBoxSpecifics.qml \ - $$PWD/InsetSection.qml \ - $$PWD/ItemDelegateSection.qml \ - $$PWD/ItemDelegateSpecifics.qml \ - $$PWD/LabelSpecifics.qml \ - $$PWD/PaddingSection.qml \ - $$PWD/PageSpecifics.qml \ - $$PWD/PageIndicatorSpecifics.qml \ - $$PWD/PaneSection.qml \ - $$PWD/PaneSpecifics.qml \ - $$PWD/ProgressBarSpecifics.qml \ - $$PWD/RadioButtonSpecifics.qml \ - $$PWD/RadioDelegateSpecifics.qml \ - $$PWD/RangeSliderSpecifics.qml \ - $$PWD/RoundButtonSpecifics.qml \ - $$PWD/ScrollViewSpecifics.qml \ - $$PWD/SliderSpecifics.qml \ - $$PWD/SpinBoxSpecifics.qml \ - $$PWD/StackViewSpecifics.qml \ - $$PWD/SwipeDelegateSpecifics.qml \ - $$PWD/SwipeViewSpecifics.qml \ - $$PWD/SwitchSpecifics.qml \ - $$PWD/SwitchDelegateSpecifics.qml \ - $$PWD/TabBarSpecifics.qml \ - $$PWD/TabButtonSpecifics.qml \ - $$PWD/TextAreaSpecifics.qml \ - $$PWD/TextFieldSpecifics.qml \ - $$PWD/ToolBarSpecifics.qml \ - $$PWD/ToolButtonSpecifics.qml \ - $$PWD/ToolSeparatorSpecifics.qml \ - $$PWD/TumblerSpecifics.qml - -AUX_QML_FILES += \ - $$files($$PWD/images/*.png) diff --git a/src/quickcontrols2/designer/images/busyindicator-icon.png b/src/quickcontrols2/designer/images/busyindicator-icon.png Binary files differdeleted file mode 100644 index 666d1ed9..00000000 --- a/src/quickcontrols2/designer/images/busyindicator-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/busyindicator-icon16.png b/src/quickcontrols2/designer/images/busyindicator-icon16.png Binary files differdeleted file mode 100644 index 5aa57d7f..00000000 --- a/src/quickcontrols2/designer/images/busyindicator-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index bb2278ff..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/button-icon.png b/src/quickcontrols2/designer/images/button-icon.png Binary files differdeleted file mode 100644 index c44909f6..00000000 --- a/src/quickcontrols2/designer/images/button-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/button-icon16.png b/src/quickcontrols2/designer/images/button-icon16.png Binary files differdeleted file mode 100644 index 5c921deb..00000000 --- a/src/quickcontrols2/designer/images/button-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index f90a1ba7..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/checkbox-icon.png b/src/quickcontrols2/designer/images/checkbox-icon.png Binary files differdeleted file mode 100644 index ee669b3a..00000000 --- a/src/quickcontrols2/designer/images/checkbox-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/checkbox-icon16.png b/src/quickcontrols2/designer/images/checkbox-icon16.png Binary files differdeleted file mode 100644 index 8d89eab8..00000000 --- a/src/quickcontrols2/designer/images/checkbox-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 51c5601d..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/combobox-icon.png b/src/quickcontrols2/designer/images/combobox-icon.png Binary files differdeleted file mode 100644 index 2d31b17c..00000000 --- a/src/quickcontrols2/designer/images/combobox-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/combobox-icon16.png b/src/quickcontrols2/designer/images/combobox-icon16.png Binary files differdeleted file mode 100644 index 15fc3505..00000000 --- a/src/quickcontrols2/designer/images/combobox-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 5f823905..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/delaybutton-icon.png b/src/quickcontrols2/designer/images/delaybutton-icon.png Binary files differdeleted file mode 100644 index 5a55bd9f..00000000 --- a/src/quickcontrols2/designer/images/delaybutton-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/delaybutton-icon16.png b/src/quickcontrols2/designer/images/delaybutton-icon16.png Binary files differdeleted file mode 100644 index cd21394e..00000000 --- a/src/quickcontrols2/designer/images/delaybutton-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 7beee2fa..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/dial-icon.png b/src/quickcontrols2/designer/images/dial-icon.png Binary files differdeleted file mode 100644 index b3b63e35..00000000 --- a/src/quickcontrols2/designer/images/dial-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/dial-icon16.png b/src/quickcontrols2/designer/images/dial-icon16.png Binary files differdeleted file mode 100644 index 8d8c7c09..00000000 --- a/src/quickcontrols2/designer/images/dial-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 22547a16..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/frame-icon.png b/src/quickcontrols2/designer/images/frame-icon.png Binary files differdeleted file mode 100644 index 32abc8bf..00000000 --- a/src/quickcontrols2/designer/images/frame-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/frame-icon16.png b/src/quickcontrols2/designer/images/frame-icon16.png Binary files differdeleted file mode 100644 index e5b65ad5..00000000 --- a/src/quickcontrols2/designer/images/frame-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 8b876f38..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/groupbox-icon.png b/src/quickcontrols2/designer/images/groupbox-icon.png Binary files differdeleted file mode 100644 index 5542ecf8..00000000 --- a/src/quickcontrols2/designer/images/groupbox-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/groupbox-icon16.png b/src/quickcontrols2/designer/images/groupbox-icon16.png Binary files differdeleted file mode 100644 index 9cf43248..00000000 --- a/src/quickcontrols2/designer/images/groupbox-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 80dab3c7..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/itemdelegate-icon.png b/src/quickcontrols2/designer/images/itemdelegate-icon.png Binary files differdeleted file mode 100644 index 822cf3e7..00000000 --- a/src/quickcontrols2/designer/images/itemdelegate-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/itemdelegate-icon16.png b/src/quickcontrols2/designer/images/itemdelegate-icon16.png Binary files differdeleted file mode 100644 index b3ed007a..00000000 --- a/src/quickcontrols2/designer/images/itemdelegate-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index cb81308f..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/label-icon.png b/src/quickcontrols2/designer/images/label-icon.png Binary files differdeleted file mode 100644 index 788bef07..00000000 --- a/src/quickcontrols2/designer/images/label-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/label-icon16.png b/src/quickcontrols2/designer/images/label-icon16.png Binary files differdeleted file mode 100644 index b68d3845..00000000 --- a/src/quickcontrols2/designer/images/label-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 7001413d..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/page-icon.png b/src/quickcontrols2/designer/images/page-icon.png Binary files differdeleted file mode 100644 index b5ac87e8..00000000 --- a/src/quickcontrols2/designer/images/page-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/page-icon16.png b/src/quickcontrols2/designer/images/page-icon16.png Binary files differdeleted file mode 100644 index bc6810b6..00000000 --- a/src/quickcontrols2/designer/images/page-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 23db032f..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/pageindicator-icon.png b/src/quickcontrols2/designer/images/pageindicator-icon.png Binary files differdeleted file mode 100644 index edb6b377..00000000 --- a/src/quickcontrols2/designer/images/pageindicator-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/pageindicator-icon16.png b/src/quickcontrols2/designer/images/pageindicator-icon16.png Binary files differdeleted file mode 100644 index 0fb89675..00000000 --- a/src/quickcontrols2/designer/images/pageindicator-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 7be0ee81..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/pane-icon.png b/src/quickcontrols2/designer/images/pane-icon.png Binary files differdeleted file mode 100644 index 62ebe487..00000000 --- a/src/quickcontrols2/designer/images/pane-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/pane-icon16.png b/src/quickcontrols2/designer/images/pane-icon16.png Binary files differdeleted file mode 100644 index 2b804844..00000000 --- a/src/quickcontrols2/designer/images/pane-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 55bb116a..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/progressbar-icon.png b/src/quickcontrols2/designer/images/progressbar-icon.png Binary files differdeleted file mode 100644 index a023f73c..00000000 --- a/src/quickcontrols2/designer/images/progressbar-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/progressbar-icon16.png b/src/quickcontrols2/designer/images/progressbar-icon16.png Binary files differdeleted file mode 100644 index 6fede21d..00000000 --- a/src/quickcontrols2/designer/images/progressbar-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 00694003..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/radiobutton-icon.png b/src/quickcontrols2/designer/images/radiobutton-icon.png Binary files differdeleted file mode 100644 index d38170e2..00000000 --- a/src/quickcontrols2/designer/images/radiobutton-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/radiobutton-icon16.png b/src/quickcontrols2/designer/images/radiobutton-icon16.png Binary files differdeleted file mode 100644 index 07b46a8a..00000000 --- a/src/quickcontrols2/designer/images/radiobutton-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 4bbddda4..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/rangeslider-icon.png b/src/quickcontrols2/designer/images/rangeslider-icon.png Binary files differdeleted file mode 100644 index 1c4c7b29..00000000 --- a/src/quickcontrols2/designer/images/rangeslider-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/rangeslider-icon16.png b/src/quickcontrols2/designer/images/rangeslider-icon16.png Binary files differdeleted file mode 100644 index 3be4624d..00000000 --- a/src/quickcontrols2/designer/images/rangeslider-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index aee69b33..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/roundbutton-icon.png b/src/quickcontrols2/designer/images/roundbutton-icon.png Binary files differdeleted file mode 100644 index d4b470dc..00000000 --- a/src/quickcontrols2/designer/images/roundbutton-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/roundbutton-icon16.png b/src/quickcontrols2/designer/images/roundbutton-icon16.png Binary files differdeleted file mode 100644 index f6f36666..00000000 --- a/src/quickcontrols2/designer/images/roundbutton-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 4553e165..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/scrollview-icon.png b/src/quickcontrols2/designer/images/scrollview-icon.png Binary files differdeleted file mode 100644 index 5ef73ff1..00000000 --- a/src/quickcontrols2/designer/images/scrollview-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/scrollview-icon16.png b/src/quickcontrols2/designer/images/scrollview-icon16.png Binary files differdeleted file mode 100644 index f8ca7a36..00000000 --- a/src/quickcontrols2/designer/images/scrollview-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 0eb7f966..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/slider-icon.png b/src/quickcontrols2/designer/images/slider-icon.png Binary files differdeleted file mode 100644 index bd0a9729..00000000 --- a/src/quickcontrols2/designer/images/slider-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/slider-icon16.png b/src/quickcontrols2/designer/images/slider-icon16.png Binary files differdeleted file mode 100644 index a08622df..00000000 --- a/src/quickcontrols2/designer/images/slider-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 93842e4c..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/spinbox-icon.png b/src/quickcontrols2/designer/images/spinbox-icon.png Binary files differdeleted file mode 100644 index 37277c5e..00000000 --- a/src/quickcontrols2/designer/images/spinbox-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/spinbox-icon16.png b/src/quickcontrols2/designer/images/spinbox-icon16.png Binary files differdeleted file mode 100644 index f88711dd..00000000 --- a/src/quickcontrols2/designer/images/spinbox-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index b62a3bad..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/stackview-icon.png b/src/quickcontrols2/designer/images/stackview-icon.png Binary files differdeleted file mode 100644 index a6ced349..00000000 --- a/src/quickcontrols2/designer/images/stackview-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/stackview-icon16.png b/src/quickcontrols2/designer/images/stackview-icon16.png Binary files differdeleted file mode 100644 index 0f19d0ef..00000000 --- a/src/quickcontrols2/designer/images/stackview-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 9b5ef951..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/swipeview-icon.png b/src/quickcontrols2/designer/images/swipeview-icon.png Binary files differdeleted file mode 100644 index 031cb27c..00000000 --- a/src/quickcontrols2/designer/images/swipeview-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/swipeview-icon16.png b/src/quickcontrols2/designer/images/swipeview-icon16.png Binary files differdeleted file mode 100644 index 446c4696..00000000 --- a/src/quickcontrols2/designer/images/swipeview-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 0ccb978c..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/switch-icon.png b/src/quickcontrols2/designer/images/switch-icon.png Binary files differdeleted file mode 100644 index e0181592..00000000 --- a/src/quickcontrols2/designer/images/switch-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/switch-icon16.png b/src/quickcontrols2/designer/images/switch-icon16.png Binary files differdeleted file mode 100644 index 9abd2756..00000000 --- a/src/quickcontrols2/designer/images/switch-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 787f54ca..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/textarea-icon.png b/src/quickcontrols2/designer/images/textarea-icon.png Binary files differdeleted file mode 100644 index f1b2dc0f..00000000 --- a/src/quickcontrols2/designer/images/textarea-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/textarea-icon16.png b/src/quickcontrols2/designer/images/textarea-icon16.png Binary files differdeleted file mode 100644 index 4afc1fba..00000000 --- a/src/quickcontrols2/designer/images/textarea-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index c32ecc71..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/textfield-icon.png b/src/quickcontrols2/designer/images/textfield-icon.png Binary files differdeleted file mode 100644 index ba5537ac..00000000 --- a/src/quickcontrols2/designer/images/textfield-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/textfield-icon16.png b/src/quickcontrols2/designer/images/textfield-icon16.png Binary files differdeleted file mode 100644 index c4a62a65..00000000 --- a/src/quickcontrols2/designer/images/textfield-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index e05fd41b..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/toolbar-icon.png b/src/quickcontrols2/designer/images/toolbar-icon.png Binary files differdeleted file mode 100644 index 5cb5b2e1..00000000 --- a/src/quickcontrols2/designer/images/toolbar-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/toolbar-icon16.png b/src/quickcontrols2/designer/images/toolbar-icon16.png Binary files differdeleted file mode 100644 index 569373af..00000000 --- a/src/quickcontrols2/designer/images/toolbar-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index fd9e6cee..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/toolbutton-icon.png b/src/quickcontrols2/designer/images/toolbutton-icon.png Binary files differdeleted file mode 100644 index 3298f695..00000000 --- a/src/quickcontrols2/designer/images/toolbutton-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/toolbutton-icon16.png b/src/quickcontrols2/designer/images/toolbutton-icon16.png Binary files differdeleted file mode 100644 index 9ab7861c..00000000 --- a/src/quickcontrols2/designer/images/toolbutton-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index e5958cde..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/toolseparator-icon.png b/src/quickcontrols2/designer/images/toolseparator-icon.png Binary files differdeleted file mode 100644 index 5e99f06f..00000000 --- a/src/quickcontrols2/designer/images/toolseparator-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/toolseparator-icon16.png b/src/quickcontrols2/designer/images/toolseparator-icon16.png Binary files differdeleted file mode 100644 index 68f22c5d..00000000 --- a/src/quickcontrols2/designer/images/toolseparator-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 549c11c6..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/images/tumbler-icon.png b/src/quickcontrols2/designer/images/tumbler-icon.png Binary files differdeleted file mode 100644 index 98eb8232..00000000 --- a/src/quickcontrols2/designer/images/tumbler-icon.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/tumbler-icon16.png b/src/quickcontrols2/designer/images/tumbler-icon16.png Binary files differdeleted file mode 100644 index ff5f95cf..00000000 --- a/src/quickcontrols2/designer/images/tumbler-icon16.png +++ /dev/null diff --git a/src/quickcontrols2/designer/images/[email protected] b/src/quickcontrols2/designer/images/[email protected] Binary files differdeleted file mode 100644 index 236abf0c..00000000 --- a/src/quickcontrols2/designer/images/[email protected] +++ /dev/null diff --git a/src/quickcontrols2/designer/qtquickcontrols2.metainfo b/src/quickcontrols2/designer/qtquickcontrols2.metainfo deleted file mode 100644 index d27f1b90..00000000 --- a/src/quickcontrols2/designer/qtquickcontrols2.metainfo +++ /dev/null @@ -1,522 +0,0 @@ -MetaInfo { - Type { - name: "QtQuick.Controls.BusyIndicator" - icon: "images/busyindicator-icon16.png" - - ItemLibraryEntry { - name: "Busy Indicator" - category: "Qt Quick - Controls 2" - libraryIcon: "images/busyindicator-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - } - } - - Type { - name: "QtQuick.Controls.Button" - icon: "images/button-icon16.png" - - ItemLibraryEntry { - name: "Button" - category: "Qt Quick - Controls 2" - libraryIcon: "images/button-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Button\")" } - } - } - - Type { - name: "QtQuick.Controls.CheckBox" - icon: "images/checkbox-icon16.png" - - ItemLibraryEntry { - name: "Check Box" - category: "Qt Quick - Controls 2" - libraryIcon: "images/checkbox-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Check Box\")" } - } - } - - Type { - name: "QtQuick.Controls.CheckDelegate" - icon: "images/checkbox-icon16.png" - - ItemLibraryEntry { - name: "Check Delegate" - category: "Qt Quick - Controls 2" - libraryIcon: "images/checkbox-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Check Delegate\")" } - } - } - - Type { - name: "QtQuick.Controls.ComboBox" - icon: "images/combobox-icon16.png" - - ItemLibraryEntry { - name: "Combo Box" - category: "Qt Quick - Controls 2" - libraryIcon: "images/combobox-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - } - } - - Type { - name: "QtQuick.Controls.DelayButton" - icon: "images/button-icon16.png" - - ItemLibraryEntry { - name: "Delay Button" - category: "Qt Quick - Controls 2" - libraryIcon: "images/delaybutton-icon.png" - version: "2.2" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Delay Button\")" } - } - } - - Type { - name: "QtQuick.Controls.Dial" - icon: "images/dial-icon16.png" - - ItemLibraryEntry { - name: "Dial" - category: "Qt Quick - Controls 2" - libraryIcon: "images/dial-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - } - } - - Type { - name: "QtQuick.Controls.Frame" - icon: "images/frame-icon16.png" - - ItemLibraryEntry { - name: "Frame" - category: "Qt Quick - Controls 2" - libraryIcon: "images/frame-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 200 } - Property { name: "height"; type: "int"; value: 200 } - } - } - - Type { - name: "QtQuick.Controls.GroupBox" - icon: "images/groupbox-icon16.png" - - ItemLibraryEntry { - name: "Group Box" - category: "Qt Quick - Controls 2" - libraryIcon: "images/groupbox-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 200 } - Property { name: "height"; type: "int"; value: 200 } - Property { name: "title"; type: "binding"; value: "qsTr(\"Group Box\")" } - } - } - - Type { - name: "QtQuick.Controls.ItemDelegate" - icon: "images/itemdelegate-icon16.png" - - ItemLibraryEntry { - name: "Item Delegate" - category: "Qt Quick - Controls 2" - libraryIcon: "images/itemdelegate-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Item Delegate\")" } - } - } - - Type { - name: "QtQuick.Controls.Label" - icon: "images/label-icon16.png" - - ItemLibraryEntry { - name: "Label" - category: "Qt Quick - Controls 2" - libraryIcon: "images/label-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Label\")" } - } - } - - Type { - name: "QtQuick.Controls.Page" - icon: "images/page-icon16.png" - - ItemLibraryEntry { - name: "Page" - category: "Qt Quick - Controls 2" - libraryIcon: "images/page-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 200 } - Property { name: "height"; type: "int"; value: 200 } - } - } - - Type { - name: "QtQuick.Controls.PageIndicator" - icon: "images/pageindicator-icon16.png" - - ItemLibraryEntry { - name: "Page Indicator" - category: "Qt Quick - Controls 2" - libraryIcon: "images/pageindicator-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "count"; type: "int"; value: 3 } - } - } - - Type { - name: "QtQuick.Controls.Pane" - icon: "images/pane-icon16.png" - - ItemLibraryEntry { - name: "Pane" - category: "Qt Quick - Controls 2" - libraryIcon: "images/pane-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 200 } - Property { name: "height"; type: "int"; value: 200 } - } - } - - Type { - name: "QtQuick.Controls.ProgressBar" - icon: "images/progressbar-icon16.png" - - ItemLibraryEntry { - name: "Progress Bar" - category: "Qt Quick - Controls 2" - libraryIcon: "images/progressbar-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "value"; type: "real"; value: 0.5 } - } - } - - Type { - name: "QtQuick.Controls.RadioButton" - icon: "images/radiobutton-icon16.png" - - ItemLibraryEntry { - name: "Radio Button" - category: "Qt Quick - Controls 2" - libraryIcon: "images/radiobutton-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Radio Button\")" } - } - } - - Type { - name: "QtQuick.Controls.RadioDelegate" - icon: "images/radiobutton-icon16.png" - - ItemLibraryEntry { - name: "Radio Delegate" - category: "Qt Quick - Controls 2" - libraryIcon: "images/radiobutton-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Radio Delegate\")" } - } - } - - Type { - name: "QtQuick.Controls.RangeSlider" - icon: "images/rangeslider-icon16.png" - - ItemLibraryEntry { - name: "Range Slider" - category: "Qt Quick - Controls 2" - libraryIcon: "images/rangeslider-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "first.value"; type: "real"; value: 0.25 } - Property { name: "second.value"; type: "real"; value: 0.75 } - } - } - - Type { - name: "QtQuick.Controls.RoundButton" - icon: "images/roundbutton-icon16.png" - - ItemLibraryEntry { - name: "Round Button" - category: "Qt Quick - Controls 2" - libraryIcon: "images/roundbutton-icon.png" - version: "2.1" - requiredImport: "QtQuick.Controls" - Property { name: "text"; type: "string"; value: "+" } - } - } - - Type { - name: "QtQuick.Controls.Slider" - icon: "images/slider-icon16.png" - - ItemLibraryEntry { - name: "Slider" - category: "Qt Quick - Controls 2" - libraryIcon: "images/slider-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "value"; type: "real"; value: 0.5 } - } - } - - Type { - name: "QtQuick.Controls.SpinBox" - icon: "images/spinbox-icon16.png" - - ItemLibraryEntry { - name: "Spin Box" - category: "Qt Quick - Controls 2" - libraryIcon: "images/spinbox-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - } - } - - Type { - name: "QtQuick.Controls.ScrollView" - icon: "images/scrollview-icon16.png" - - ItemLibraryEntry { - name: "Scroll View" - category: "Qt Quick - Controls 2" - libraryIcon: "images/scrollview-icon.png" - version: "2.2" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 200 } - Property { name: "height"; type: "int"; value: 200 } - } - } - - Type { - name: "QtQuick.Controls.StackView" - icon: "images/stackview-icon16.png" - - ItemLibraryEntry { - name: "Stack View" - category: "Qt Quick - Controls 2" - libraryIcon: "images/stackview-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 200 } - Property { name: "height"; type: "int"; value: 200 } - } - } - - Type { - name: "QtQuick.Controls.SwipeDelegate" - icon: "images/itemdelegate-icon16.png" - - ItemLibraryEntry { - name: "Swipe Delegate" - category: "Qt Quick - Controls 2" - libraryIcon: "images/itemdelegate-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Swipe Delegate\")" } - } - } - - Type { - name: "QtQuick.Controls.SwipeView" - icon: "images/swipeview-icon16.png" - - ItemLibraryEntry { - name: "Swipe View" - category: "Qt Quick - Controls 2" - libraryIcon: "images/swipeview-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 200 } - Property { name: "height"; type: "int"; value: 200 } - } - } - - Type { - name: "QtQuick.Controls.Switch" - icon: "images/switch-icon16.png" - - ItemLibraryEntry { - name: "Switch" - category: "Qt Quick - Controls 2" - libraryIcon: "images/switch-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Switch\")" } - } - } - - Type { - name: "QtQuick.Controls.SwitchDelegate" - icon: "images/switch-icon16.png" - - ItemLibraryEntry { - name: "Switch Delegate" - category: "Qt Quick - Controls 2" - libraryIcon: "images/switch-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Switch Delegate\")" } - } - } - - Type { - name: "QtQuick.Controls.TabBar" - icon: "images/toolbar-icon16.png" - - ItemLibraryEntry { - name: "Tab Bar" - category: "Qt Quick - Controls 2" - libraryIcon: "images/toolbar-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - Property { name: "width"; type: "int"; value: 240 } - } - } - - Type { - name: "QtQuick.Controls.TabButton" - icon: "images/toolbutton-icon16.png" - - ItemLibraryEntry { - name: "Tab Button" - category: "Qt Quick - Controls 2" - libraryIcon: "images/toolbutton-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - Property { name: "text"; type: "binding"; value: "qsTr(\"Tab Button\")" } - } - } - - Type { - name: "QtQuick.Controls.TextArea" - icon: "images/textarea-icon16.png" - - ItemLibraryEntry { - name: "Text Area" - category: "Qt Quick - Controls 2" - libraryIcon: "images/textarea-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Area\")" } - } - } - - Type { - name: "QtQuick.Controls.TextField" - icon: "images/textfield-icon16.png" - - ItemLibraryEntry { - name: "Text Field" - category: "Qt Quick - Controls 2" - libraryIcon: "images/textfield-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Field\")" } - } - } - - Type { - name: "QtQuick.Controls.ToolBar" - icon: "images/toolbar-icon16.png" - - ItemLibraryEntry { - name: "Tool Bar" - category: "Qt Quick - Controls 2" - libraryIcon: "images/toolbar-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "width"; type: "int"; value: 360 } - } - } - - Type { - name: "QtQuick.Controls.ToolButton" - icon: "images/toolbutton-icon16.png" - - ItemLibraryEntry { - name: "Tool Button" - category: "Qt Quick - Controls 2" - libraryIcon: "images/toolbutton-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "text"; type: "binding"; value: "qsTr(\"Tool Button\")" } - } - } - - Type { - name: "QtQuick.Controls.ToolSeparator" - icon: "images/toolseparator-icon16.png" - - ItemLibraryEntry { - name: "Tool Separator" - category: "Qt Quick - Controls 2" - libraryIcon: "images/toolseparator-icon.png" - version: "2.1" - requiredImport: "QtQuick.Controls" - } - } - - Type { - name: "QtQuick.Controls.Tumbler" - icon: "images/tumbler-icon16.png" - - ItemLibraryEntry { - name: "Tumbler" - category: "Qt Quick - Controls 2" - libraryIcon: "images/tumbler-icon.png" - version: "2.0" - requiredImport: "QtQuick.Controls" - - Property { name: "model"; type: "int"; value: "10" } - } - } -} |