aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/highdpi/mirror.qml
blob: e416f6248c83b5aaf467417c4366cf45eaf6b626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick 2.0

Rectangle {
    width: 400
    height: 700

    // the images should have the same display size and appearance on each row.
    Column {
        anchors.centerIn: parent.Center
        Row {
            Image { mirror: true; source : "heart-lowdpi.png" }
            Image { mirror: true; source : "heart.png" }
            Image { mirror: true; source : "heart-highdpi@2x.png" }
        }
    }
}