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