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

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"
    }
}