summaryrefslogtreecommitdiff
path: root/tests/manual/qml/testprojects/pixelmetrics/pixelmetrics.qml
blob: 2e5be450b69d5c09a06b93e363b50806784eb7ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick 2.10
import QtQuick.Window 2.10

Window {
    visible: true
    width: 180
    height: 215

    PixelMeter {
        width: 60
        height: 40
        x: 0
        y: 0
    }

    PixelMeter {
        x: 60
        y: 40
        width: 120
        height: 175

        PixelMeter {
            x: 80
            y: 40
            width: 40
            height: 40
        }

        PixelMeter {
            x: 80
            y: 0
            width: 40
            height: 40
        }

        PixelMeter {
            x: 40
            y: 0
            width: 40
            height: 40
        }

        PixelMeter {
            x: 40
            y: 40
            width: 40
            height: 40
        }
    }
}