// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only import QtQuick 2.0 Item { id: root property int dynamicWidth: 10 property int widthSignaledProperty: 20 Rectangle { width: 100 height: 50 color: "red" border.color: "black" border.width: 5 radius: 10 } onDynamicWidthChanged: { widthSignaledProperty = dynamicWidth + (20/4) + 7 - 1; } }