diff options
author | A-Team <ateam@pad.test.qt.nokia.com> | 2010-11-10 23:00:13 (GMT) |
---|---|---|
committer | A-Team <ateam@pad.test.qt.nokia.com> | 2010-11-10 23:00:13 (GMT) |
commit | fce752ba402535a62e420a83483d0f92623d684a (patch) | |
tree | 24b1456a4136515524642138854d6232fb6ef634 /tests/auto/declarative/qmlvisual/shared/TestTextInput.qml | |
parent | d7da33a914a7e84ebf38cbb3244aac936838ecb1 (diff) | |
parent | 38e1ed3b51d6aad46912eb548490d038e58203d9 (diff) | |
download | Qt-fce752ba402535a62e420a83483d0f92623d684a.zip Qt-fce752ba402535a62e420a83483d0f92623d684a.tar.gz Qt-fce752ba402535a62e420a83483d0f92623d684a.tar.bz2 |
Merge branch '4.7-upstream' into 4.7-doc
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..e01c2c2 --- /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: "Vera.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? + } +} |