blob: 6bedd78a6231f1b0b767041ce0b91afd37c82492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
Rectangle {
width: 50; height: 50
color: "black"
Text {
color: "white"
text: String.fromCharCode(65 + Math.floor(26*Math.random()))
anchors.centerIn: parent
}
}
|