qt6-bb10/qtdeclarative/tests/auto/quick/qquicktextinput/data/readOnly.qml

13 lines
248 B
QML

import QtQuick 2.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"
}
}