blob: 5583eb8b220f47b6297ca3c3411756586405266f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
Rectangle {
width: image.width
Image {
id: image
anchors.centerIn: parent
source: "marker.png"
Text{
y: parent.height/10
width: parent.width
color: "white"
font.bold: true
font.pixelSize: 14
horizontalAlignment: Text.AlignHCenter
text: index
}
}
}
|