mirror of https://github.com/qt/qtdoc.git
41 lines
835 B
QML
41 lines
835 B
QML
// Copyright (C) 2021 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
import QtQuick
|
|
|
|
Rectangle {
|
|
id: topLevel
|
|
gradient: Gradient {
|
|
GradientStop {
|
|
position: 0.0
|
|
color: "#87E0FD"
|
|
}
|
|
GradientStop {
|
|
position: 0.4
|
|
color: "#53CBF1"
|
|
}
|
|
GradientStop {
|
|
position: 1.0
|
|
color: "#05ABE0"
|
|
}
|
|
}
|
|
|
|
Hangman {
|
|
id: logo
|
|
anchors.centerIn: parent
|
|
height: 268
|
|
width: 268
|
|
errorCount: 9
|
|
}
|
|
|
|
Text {
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.top: logo.bottom
|
|
anchors.topMargin: 10
|
|
text: "Qt Hangman"
|
|
font.family: "Helvetica"
|
|
color: "white"
|
|
font.pointSize: 24
|
|
}
|
|
}
|