aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquicktextinput/data/cursorTestInline.qml
blob: efc4b191da53ef6ffa2cdfcea72d989859282f6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 2.0

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