diff --git a/Gui/Employees/AddApplicant.qml b/Gui/Employees/AddApplicant.qml
index 0ccbd22..900db3d 100644
--- a/Gui/Employees/AddApplicant.qml
+++ b/Gui/Employees/AddApplicant.qml
@@ -6,10 +6,9 @@ ColumnLayout {
anchors.fill: parent
spacing: Dimensions.l
- ColumnLayout {
+ ApplicantForm {
Layout.fillHeight: true
Layout.verticalStretchFactor: 1
- spacing: Dimensions.l
}
RowLayout {
spacing: Dimensions.l
diff --git a/Gui/Employees/ApplicantForm.qml b/Gui/Employees/ApplicantForm.qml
new file mode 100644
index 0000000..0a33b35
--- /dev/null
+++ b/Gui/Employees/ApplicantForm.qml
@@ -0,0 +1,19 @@
+import QtQuick
+import QtQuick.Controls.impl
+import QtQuick.Layouts
+import TeroStyle
+
+ColumnLayout {
+ spacing: Dimensions.l
+
+ IconLabel {
+ color: Colors.foreground
+ font: Typography.h2
+ spacing: Dimensions.m
+ icon.color: color
+ icon.source: "qrc:/images/UserCircle"
+ icon.width: font.pixelSize
+ icon.height: font.pixelSize
+ text: qsTr("Stammdaten")
+ }
+}
diff --git a/Gui/main.qml b/Gui/main.qml
index 52d813d..41dac0e 100644
--- a/Gui/main.qml
+++ b/Gui/main.qml
@@ -17,9 +17,10 @@ ApplicationWindow {
}
}
- color: Colors.mantle
font: Typography.body
height: Screen.height * .85
+ palette.window: Colors.mantle
+ palette.placeholderText: Colors.interactive
palette.text: Colors.foreground
title: "TERO Personal"
visible: true
diff --git a/TeroStyle/Typography.qml b/TeroStyle/Typography.qml
index b09a2da..ae12c22 100644
--- a/TeroStyle/Typography.qml
+++ b/TeroStyle/Typography.qml
@@ -25,10 +25,9 @@ Item {
letterSpacing: body.letterSpacing,
kerning: body.kerning
})
- readonly property font h2:
- ({
+ readonly property font h2: ({
family: body.family,
- pointSize: 20,
+ pointSize: 28,
weight: body.weight,
letterSpacing: body.letterSpacing,
kerning: body.kerning,
diff --git a/images/UserCircle.svg b/images/UserCircle.svg
new file mode 100644
index 0000000..1cedf67
--- /dev/null
+++ b/images/UserCircle.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/pyqcrm.qrc b/pyqcrm.qrc
index 70ec311..43d112e 100644
--- a/pyqcrm.qrc
+++ b/pyqcrm.qrc
@@ -13,6 +13,7 @@
images/RectangleStack-Outline.svg
images/Square3Stack3D-Outline.svg
images/tero.jpg
+ images/UserCircle.svg
images/UserGroup-Outline.svg
images/Wallet-Outline.svg
sounds/error.ogg
diff --git a/qml.qrc b/qml.qrc
index 7ce9267..cbf93af 100644
--- a/qml.qrc
+++ b/qml.qrc
@@ -41,6 +41,7 @@
Gui/Employees/AddEmployee.qml
Gui/Employees/ApplicantPersonalData.qml
Gui/Employees/ApplicantBankData.qml
+ Gui/Employees/ApplicantForm.qml
Gui/Employees/ApplicantNationalInsurance.qml
Gui/Employees/ApplicantVarious.qml
Gui/Employees/EmployeeDetails.qml