1 2 3 4 5 6 7 8 9 10
import QtQuick 2.0 Item { id: screen; width: 50 property bool tested: false signal testMe Connections { target: screen; onWidthChanged: screen.tested = true } }