finished AddCustomer Form
This commit is contained in:
@@ -74,6 +74,11 @@ GridLayout
|
|||||||
property string name: "email"
|
property string name: "email"
|
||||||
id: emailcontact
|
id: emailcontact
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
placeholderText: qsTr("beispiel@domain.de")
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /([\+!#$%&‘\*\–\/\=?\^_`\.{|}\~0-9A-Za-z]{1,185})@([0-9A-Za-z\.]{1,64})\.([a-zA-z]{2,5})/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@@ -86,6 +91,10 @@ GridLayout
|
|||||||
property string name: "telephonecontact"
|
property string name: "telephonecontact"
|
||||||
id: telephonecontact
|
id: telephonecontact
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /([+0-9]{1})([0-9]{1,17})/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@@ -98,6 +107,10 @@ GridLayout
|
|||||||
property string name: "cellphone"
|
property string name: "cellphone"
|
||||||
id: cellphone
|
id: cellphone
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /([+0-9]{1})([0-9]{1,17})/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
@@ -109,6 +122,11 @@ GridLayout
|
|||||||
property string name: "birthday"
|
property string name: "birthday"
|
||||||
id: birthday
|
id: birthday
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
placeholderText: qsTr("TT.MM.JJJJ")
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /((^|)([0-2]{1}[0-9]{1}|3[0-1]))\.((^|)([0-1]{1,2}|12))\.([0-9]{4})/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
|||||||
@@ -70,6 +70,11 @@ GridLayout
|
|||||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||||
currentIndex: -1
|
currentIndex: -1
|
||||||
onCurrentIndexChanged: city.currentIndex = postcode.currentIndex
|
onCurrentIndexChanged: city.currentIndex = postcode.currentIndex
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /([0-9]{1,5})/
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@@ -103,6 +108,11 @@ GridLayout
|
|||||||
property string name: "telephone"
|
property string name: "telephone"
|
||||||
id: telephone
|
id: telephone
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /([+0-9]{1})([0-9]{1,17})/
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@@ -115,6 +125,10 @@ GridLayout
|
|||||||
property string name: "cellphone"
|
property string name: "cellphone"
|
||||||
id: cellphone
|
id: cellphone
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /([+0-9]{1})([0-9]{1,17})/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@@ -127,6 +141,11 @@ GridLayout
|
|||||||
property string name: "email"
|
property string name: "email"
|
||||||
id: email
|
id: email
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
placeholderText: qsTr("beispiel@domain.de")
|
||||||
|
validator: RegularExpressionValidator
|
||||||
|
{
|
||||||
|
regularExpression: /([\+!#$%&‘\*\–\/\=?\^_`\.{|}\~0-9A-Za-z]{1,185})@([0-9A-Za-z\.]{1,64})\.([a-zA-z]{2,5})/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@@ -139,6 +158,7 @@ GridLayout
|
|||||||
property string name: "homepage"
|
property string name: "homepage"
|
||||||
id: homepage
|
id: homepage
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
placeholderText: "www.oschkarischtverhaftetwegensexy.jinx"
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
|||||||
Reference in New Issue
Block a user