2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2017 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2022-08-31 07:59:05 +00:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Window
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2020-03-04 15:22:11 +00:00
|
|
|
Window {
|
|
|
|
visible: true
|
2011-04-27 10:05:43 +00:00
|
|
|
width: 640; height: 480
|
|
|
|
|
|
|
|
Column {
|
|
|
|
anchors.fill: parent; spacing: 20
|
|
|
|
|
|
|
|
Text {
|
2020-03-04 15:22:11 +00:00
|
|
|
text: "If a translation is available for the system language (eg. French) then the " +
|
|
|
|
"string below will be translated (eg. 'Bonjour'). Otherwise it will show 'Hello'."
|
2011-04-27 10:05:43 +00:00
|
|
|
width: parent.width; wrapMode: Text.WordWrap
|
|
|
|
}
|
|
|
|
|
|
|
|
Text {
|
|
|
|
text: qsTr("Hello")
|
|
|
|
font.pointSize: 25; anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|