diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/shared/TestTextInput.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/shared/TestTextInput.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml b/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml new file mode 100644 index 0000000..64938e0 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml @@ -0,0 +1,14 @@ +import QtQuick 1.0 +import "../shared" 1.0 + +TextInput { + id: inp + FontLoader { id: fixedFont; source: "DejaVuSansMono.ttf" } + font.family: fixedFont.name + font.pixelSize: 12 + cursorDelegate: Rectangle { + width: 1; + color: "black"; + visible: parent.cursorVisible//bug that 'inp' doesn't seem to work? + } +} |