aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextinput/data/cursorTest.qml
blob: 363d37174b3e89965baacab327a7a46b5094196e (plain)
1
2
3
4
5
6
7
8
9
10
import QtQuick 2.0

Rectangle { id:rect; width: 300; height: 300; color: "white"
    property string contextualProperty: "Hello"
    TextInput {  text: "Hello world!"; id: textInputObject; objectName: "textInputObject"
        width: 300; height: 300
        resources: [ Component { id:cursor; Item { id:cursorInstance; objectName: "cursorInstance"; property string localProperty: contextualProperty } } ]
        cursorDelegate: cursor
    }
}