1 2 3 4 5 6 7
import QtQuick 2.0 Rectangle { width: 100; height: 100; color: "red" signal somethingHappened onSomethingHappened: QtObject {} }