blob: 7118a5feb0e7299afa621dafcc084269304d3c1a (
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 2.0
Rectangle {
width: 50; height: 50
color: "black"
Text {
color: "white"
text: String.fromCharCode(65 + Math.floor(26*Math.random()))
anchors.centerIn: parent
}
}
|