Mitarbeiter stellen

This commit is contained in:
2025-01-23 15:59:34 +01:00
parent 103b172a60
commit d512d1d8b0
5 changed files with 88 additions and 27 deletions

View File

@@ -14,12 +14,25 @@ GridLayout
}
ComboBox
{
property string name: "title"
id: title
Layout.fillWidth: true
editable: false
model: [qsTr("Herr"), qsTr("Frau")]
onCurrentTextChanged: briefAnrede.text = title.currentText === "Herr"? "Sehr geehrter " +
title.currentText: "Sehr geehrte " + title.currentText
model: [qsTr("Keine Angabe"), qsTr("Herr"), qsTr("Frau")]
onCurrentTextChanged:
{
switch (title.currentIndex)
{
case 1:
briefAnrede.text = "Sehr geehrter Herr "
break
case 2:
briefAnrede.text = "Sehr geehrte Frau "
break
default:
briefAnrede.text = "Guten Tag "
}
}
}
Label
{
@@ -28,6 +41,7 @@ GridLayout
}
TextField
{
property string name: "firstname"
id: firstname
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
@@ -42,6 +56,7 @@ GridLayout
}
TextField
{
property string name: "lastname"
id: lastname
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
@@ -56,6 +71,7 @@ GridLayout
}
TextField
{
property string name: "street"
id: street
Layout.fillWidth: true
placeholderTextColor: "red"
@@ -68,8 +84,10 @@ GridLayout
}
RowLayout
{
property string name: "Oschkar"
ComboBox
{
property string name: "postcode"
id: postcode
Layout.fillWidth: true
editable: true
@@ -97,6 +115,7 @@ GridLayout
}
ComboBox
{
property string name: "city"
id: city
Layout.fillWidth: true
editable: true
@@ -117,6 +136,7 @@ GridLayout
}
TextField
{
property string name: "phone"
id: phonenumber
Layout.fillWidth: true
placeholderTextColor: "red"
@@ -128,6 +148,7 @@ GridLayout
}
TextField
{
property string name: "mobile"
id: cellphone
Layout.fillWidth: true
placeholderTextColor: "red"
@@ -139,6 +160,7 @@ GridLayout
}
TextField
{
property string name: "email"
id: email
Layout.fillWidth: true
placeholderTextColor: "red"
@@ -151,6 +173,7 @@ GridLayout
}
ComboBox
{
property string name: "maritalstatus"
id: maritalstatus
Layout.fillWidth: true
editable: false
@@ -165,6 +188,7 @@ GridLayout
}
TextField
{
property string name: "jobdesc"
id: jobdescription
Layout.fillWidth: true
visible: radio.children[1].checked
@@ -178,6 +202,7 @@ GridLayout
}
TextField
{
property string name: "workstart"
id: workstart
Layout.fillWidth: true
visible: radio.children[1].checked
@@ -191,6 +216,7 @@ GridLayout
}
TextField
{
property string name: "workend"
id: workend
Layout.fillWidth: true
visible: radio.children[1].checked
@@ -204,6 +230,7 @@ GridLayout
}
TextField
{
property string name: "timework"
id: timetowork
Layout.fillWidth: true
visible: radio.children[1].checked
@@ -216,6 +243,7 @@ GridLayout
}
TextField
{
property string name: "formofaddress"
id: briefAnrede
Layout.fillWidth: true
placeholderTextColor: "red"