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

Rectangle {
    property var 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"
    }
}