blob: 77844175697d2992139f24f102c05dfc62b4e061 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import QtQuick 2.14
Item {
property QtObject input1: input1
property QtObject input2: input2
width: 800; height: 600;
Column{
TextInput { id: input1;
property bool acceptable: acceptableInput
validator: RegularExpressionValidator { regularExpression: /[a-zA-z]{2,4}/ }
}
TextInput { id: input2;
property bool acceptable: acceptableInput
validator: RegularExpressionValidator { regularExpression: /[a-zA-z]{2,4}/ }
}
}
}
|