summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
blob: e01c2c2d0352119b231becaa4f1016409f0ea23b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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?
    }
}