summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetextedit/data/readOnly.qml
blob: a68e4b4c9c67bf972386d8810605b58708fc4d37 (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"

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