aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextinput/data/signal_editingfinished.qml
blob: dba186e765f42b3bf15992d94c358646d0097781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import QtQuick 2.2

Item {
    property QtObject input1: input1
    property QtObject input2: input2

    width: 800; height: 600;

    Column{
        TextInput { id: input1;
            property bool acceptable: acceptableInput
            validator: RegExpValidator { regExp: /[a-zA-z]{2,4}/ }
        }
        TextInput { id: input2;
            property bool acceptable: acceptableInput
            validator: RegExpValidator { regExp: /[a-zA-z]{2,4}/ }
        }
    }
}