aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols2/qquickiconimage/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols2/qquickiconimage/data')
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/alignment.qml16
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/color.qml18
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/fileSelectors.qml16
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/imageProvider.qml9
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/nameBindingNoSizes.qml7
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSize.qml16
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/nameBindingSourceSizeWidthHeight.qml10
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/root.qml6
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingNoSizes.qml15
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSize.qml16
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceSizeWidthHeight.qml10
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/sourceBindingSourceTooLarge.qml8
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/svgNoSizes.qml15
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/svgSourceBindingSourceSize.qml17
-rw-r--r--tests/auto/quickcontrols2/qquickiconimage/data/translucentColors.qml67
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)
- }
-}