summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
blob: 64938e043c3fbeba59bf7f52326e1686b402dd2a (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: "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?
    }
}