import QtQuick 2.0 Rectangle { width: 300; height: 300; color: "white" property string contextualProperty: "Hello" TextInput { text: "Hello world!" id: textInputObject; objectName: "textInputObject" cursorDelegate: Cursor { id:cursorInstance; objectName: "cursorInstance"; localProperty: contextualProperty; } } }