diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2021-08-12 14:39:51 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2021-08-16 12:52:59 +0200 |
commit | 809339d1484cf556512534367b8170bc26baf072 (patch) | |
tree | 12871313b658f36d058b5ef25af1e247e9c46ce9 /tests/auto/quickcontrols2/qquickiconimage/data | |
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 <alexandru.croitor@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/quickcontrols2/qquickiconimage/data')
15 files changed, 0 insertions, 246 deletions
diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/alignment.qml b/tests/auto/quickcontrols2/qquickiconimage/data/alignment.qml deleted file mode 100644 index e6861520..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/alignment.qml +++ /dev/null @@ -1,16 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - name: "appointment-new" - sourceSize: Qt.size(22, 22) - } - Image { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/color.qml b/tests/auto/quickcontrols2/qquickiconimage/data/color.qml deleted file mode 100644 index b44b4388..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/color.qml +++ /dev/null @@ -1,18 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - source: "qrc:/icons/testtheme/22x22/actions/color-test-original.png" - sourceSize: Qt.size(22, 22) - color: "red" - } - Image { - source: "qrc:/icons/testtheme/22x22/actions/color-test-tinted.png" - fillMode: Image.Pad - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/fileSelectors.qml b/tests/auto/quickcontrols2/qquickiconimage/data/fileSelectors.qml deleted file mode 100644 index e6861520..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/fileSelectors.qml +++ /dev/null @@ -1,16 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - name: "appointment-new" - sourceSize: Qt.size(22, 22) - } - Image { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/imageProvider.qml b/tests/auto/quickcontrols2/qquickiconimage/data/imageProvider.qml deleted file mode 100644 index 9b18a99e..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/imageProvider.qml +++ /dev/null @@ -1,9 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl -import QtQuick.Templates as T - -IconLabel { - icon.color: "transparent" - icon.source: "image://provider/red" -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingNoSizes.qml b/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingNoSizes.qml deleted file mode 100644 index d457d205..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingNoSizes.qml +++ /dev/null @@ -1,7 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -IconImage { - name: "appointment-new" -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSize.qml b/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSize.qml deleted file mode 100644 index e6861520..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSize.qml +++ /dev/null @@ -1,16 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - name: "appointment-new" - sourceSize: Qt.size(22, 22) - } - Image { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSizeWidthHeight.qml b/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSizeWidthHeight.qml deleted file mode 100644 index 5e7ebefc..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSizeWidthHeight.qml +++ /dev/null @@ -1,10 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -IconImage { - name: "appointment-new" - sourceSize: Qt.size(22, 22) - width: 16 - height: 16 -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/root.qml b/tests/auto/quickcontrols2/qquickiconimage/data/root.qml deleted file mode 100644 index ed02d2df..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/root.qml +++ /dev/null @@ -1,6 +0,0 @@ -import QtQuick - -Item { - width: 200 - height: 200 -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingNoSizes.qml b/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingNoSizes.qml deleted file mode 100644 index 34fc6b33..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingNoSizes.qml +++ /dev/null @@ -1,15 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - } - Image { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSize.qml b/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSize.qml deleted file mode 100644 index 9f1b6290..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSize.qml +++ /dev/null @@ -1,16 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - sourceSize: Qt.size(22, 22) - } - Image { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSizeWidthHeight.qml b/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSizeWidthHeight.qml deleted file mode 100644 index 4dc3ac75..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSizeWidthHeight.qml +++ /dev/null @@ -1,10 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -IconImage { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - sourceSize: Qt.size(22, 22) - width: 16 - height: 16 -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceTooLarge.qml b/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceTooLarge.qml deleted file mode 100644 index a54d998a..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceTooLarge.qml +++ /dev/null @@ -1,8 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -IconImage { - source: "qrc:/icons/testtheme/22x22/actions/appointment-new.png" - sourceSize: Qt.size(32, 32) -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/svgNoSizes.qml b/tests/auto/quickcontrols2/qquickiconimage/data/svgNoSizes.qml deleted file mode 100644 index e29c23c5..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/svgNoSizes.qml +++ /dev/null @@ -1,15 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - source: "qrc:/icons/testtheme/appointment-new.svg" - } - Image { - source: "qrc:/icons/testtheme/appointment-new.svg" - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/svgSourceBindingSourceSize.qml b/tests/auto/quickcontrols2/qquickiconimage/data/svgSourceBindingSourceSize.qml deleted file mode 100644 index 4674e8f1..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/svgSourceBindingSourceSize.qml +++ /dev/null @@ -1,17 +0,0 @@ -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -Row { - width: 200 - height: 200 - - IconImage { - source: "qrc:/data/icons/testtheme/appointment-new.svg" - sourceSize: Qt.size(22, 22) - } - Image { - source: "qrc:/data/icons/testtheme/appointment-new.svg" - sourceSize: Qt.size(22, 22) - } -} diff --git a/tests/auto/quickcontrols2/qquickiconimage/data/translucentColors.qml b/tests/auto/quickcontrols2/qquickiconimage/data/translucentColors.qml deleted file mode 100644 index ad67bfe5..00000000 --- a/tests/auto/quickcontrols2/qquickiconimage/data/translucentColors.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick -import QtQuick.Controls -import QtQuick.Controls.impl - -ApplicationWindow { - width: 500 - height: 500 - visible: true - - IconImage { - width: Math.min(250, parent.width) - height: Math.min(250, parent.height) - source: "qrc:/icons/testtheme/22x22/actions/color-test-original.png" - sourceSize: Qt.size(250, 0) - color: Qt.rgba(0, 0, 0, 0.5) - } -} |