I'm using QtQuick 1.0 and I'd like to have TextInput element with input to get only digits and ".". To obtain only digits I use the following code :
TextInput {
id: textInput
anchors.centerIn : inputArea
font.family : "Helvetica"
font.pixelSize: textSize
color: "black"
maximumLength: 5
smooth: true
inputMask: "99999"
readOnly: isReadOnly
}
And I'm able to input only digits. How should I extend it to get "." also ?