summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetextinput/data/readOnly.qml
blob: b10ea8155c50f297bdebb659be49b84125547d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt 4.7

Rectangle {
    property variant myInput: input

    width: 800; height: 600; color: "blue"

    TextInput { id: input; focus: true
        readOnly: true
        text: "I am the very model of a modern major general.\n"
    }
}