Revision control
++ // Copyright (C) 2023 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
++
++ //![entire]
++ import QtQuick
++
++ Text {
++ text: Window.active ? "active" : "inactive"
++ }
++ //![entire]