Revision control
Copy as Markdown
// Copyright (C) 2026 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
// After user reverts back to the original script binding.
import QtQuick
Item {
id: root
property int cupsLeft: 0
property alias outOfDialog: outOfDialog
property alias innerRect: innerRect
Rectangle {
id: innerRect
width: 200
height: 200
Rectangle {
id: outOfDialog
width: 100
height: 50
visible: (root.cupsLeft != 0) ? false : true
}
}
}