| author | William Roberts <williamr@symbian.org> |
| Thu, 22 Jul 2010 16:41:55 +0100 | |
| branch | GCC_SURGE |
| changeset 31 | 5daf16870df6 |
| parent 30 | 5dc02b23752f |
| permissions | -rw-r--r-- |
import Qt 4.7 Item { property variant intInput: intInput property variant dblInput: dblInput property variant strInput: strInput width: 800; height: 600; Column{ TextInput { id: intInput; validator: IntValidator{top: 11; bottom: 2} } TextInput { id: dblInput; validator: DoubleValidator{top: 12.12; bottom: 2.93; decimals: 2; notation: DoubleValidator.StandardNotation} } TextInput { id: strInput; validator: RegExpValidator { regExp: /[a-zA-z]{2,4}/ } } } }