Rename Qt Quick-specific classes to QQuick*
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquicktextinput / data / validators.qml
1 import QtQuick 2.0
2
3 Item {
4     property variant intInput: intInput
5     property variant dblInput: dblInput
6     property variant strInput: strInput
7
8     width: 800; height: 600;
9
10     Column{
11         TextInput { id: intInput;
12             validator: IntValidator{top: 11; bottom: 2}
13         }
14         TextInput { id: dblInput;
15             validator: DoubleValidator{top: 12.12; bottom: 2.93; decimals: 2; notation: DoubleValidator.StandardNotation}
16         }
17         TextInput { id: strInput;
18             validator: RegExpValidator { regExp: /[a-zA-z]{2,4}/ }
19         }
20     }
21         
22 }