Merge branch 'refs/heads/linuxero'
This commit is contained in:
@@ -1,52 +0,0 @@
|
|||||||
import QtQuick
|
|
||||||
import QtQuick.Controls
|
|
||||||
import QtQuick.Layouts
|
|
||||||
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Geburtsname")
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: birthname
|
|
||||||
Layout.fillWidth: true
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Geburtsdatum")
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: birthday
|
|
||||||
Layout.fillWidth: true
|
|
||||||
placeholderText: qsTr("TT.MM.JJJJ")
|
|
||||||
validator: RegularExpressionValidator
|
|
||||||
|
|
||||||
{
|
|
||||||
regularExpression: /((^|)(0[1-9]{1}|[1-2]{1}[0-9]{1}|3[0-1]))\.((^|)(0[1-9]{1}|1[0-2]{1}))\.((^|)(196[0-9]{1}|19[7-9]{1}[0-9]{1}|20[0-9]{2}))/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Geburtsort")
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: placeofbirth
|
|
||||||
Layout.fillWidth: true
|
|
||||||
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Geschlecht")
|
|
||||||
}
|
|
||||||
|
|
||||||
ComboBox
|
|
||||||
{
|
|
||||||
id: gender
|
|
||||||
Layout.fillWidth: true
|
|
||||||
editable: false
|
|
||||||
model: [qsTr("Mann"), qsTr("Frau"), qsTr("Divers")]
|
|
||||||
}
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
import QtQuick
|
|
||||||
import QtQuick.Controls
|
|
||||||
import QtQuick.Layouts
|
|
||||||
|
|
||||||
GridLayout
|
|
||||||
{
|
|
||||||
id: contactData
|
|
||||||
columns: 2
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Straße")
|
|
||||||
Layout.alignment: Qt.AlignRight
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: street
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("PLZ")
|
|
||||||
Layout.alignment: Qt.AlignRight
|
|
||||||
}
|
|
||||||
RowLayout
|
|
||||||
{
|
|
||||||
ComboBox
|
|
||||||
{
|
|
||||||
id: postcode
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Ort")
|
|
||||||
|
|
||||||
}
|
|
||||||
ComboBox
|
|
||||||
{
|
|
||||||
id: city
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Telefonnummer")
|
|
||||||
Layout.alignment: Qt.AlignRight
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: phonenumber
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("E-Mail")
|
|
||||||
Layout.alignment: Qt.AlignRight
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: email
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
import QtQuick
|
|
||||||
import QtQuick.Controls
|
|
||||||
import QtQuick.Layouts
|
|
||||||
|
|
||||||
GridLayout
|
|
||||||
{
|
|
||||||
columns: 2
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Knappschaft")
|
|
||||||
}
|
|
||||||
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: knappschaft
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
import QtQuick
|
|
||||||
import QtQuick.Controls
|
|
||||||
import QtQuick.Layouts
|
|
||||||
|
|
||||||
CheckBox
|
|
||||||
{
|
|
||||||
Layout.columnSpan: 2
|
|
||||||
text: qsTr("Arbeitserlaubnis")
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Staatsangehörigkeit")
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: nationality
|
|
||||||
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Pass gültig bis")
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: pass
|
|
||||||
|
|
||||||
}
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
text: qsTr("Aufenthaltstitel gültig bis")
|
|
||||||
}
|
|
||||||
TextField
|
|
||||||
{
|
|
||||||
id: aufenthalt
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ Item
|
|||||||
|
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
text: model.display == null? "": model.display
|
text: model.display === null? "": model.display
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
|||||||
@@ -21,12 +21,23 @@ RowLayout
|
|||||||
id: dashBoard
|
id: dashBoard
|
||||||
flat: true
|
flat: true
|
||||||
text: qsTr("Dashboard")
|
text: qsTr("Dashboard")
|
||||||
implicitWidth: dashBoard.implicitContentWidth + 10
|
implicitWidth: abrechnung.implicitContentWidth + 10
|
||||||
|
Layout.margins: 3
|
||||||
|
background: Rectangle
|
||||||
|
{
|
||||||
|
border.width: dashBoard.activeFocus ? 2 : 1
|
||||||
|
border.color: "#888"
|
||||||
|
radius: 4
|
||||||
|
gradient: Gradient
|
||||||
|
{
|
||||||
|
GradientStop { position: 0 ; color: dashBoard.pressed ? "#000" : "#001" }
|
||||||
|
GradientStop { position: 1 ; color: dashBoard.pressed ? "#100" : "#000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
appLoader.source = "Dashboard.qml"
|
appLoader.source = "Dashboard.qml"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Button
|
Button
|
||||||
@@ -34,7 +45,19 @@ RowLayout
|
|||||||
id: kunden
|
id: kunden
|
||||||
flat: true
|
flat: true
|
||||||
text: qsTr("Kunden")
|
text: qsTr("Kunden")
|
||||||
implicitWidth: kunden.implicitContentWidth + 10
|
implicitWidth: abrechnung.implicitContentWidth + 10
|
||||||
|
Layout.margins: 3
|
||||||
|
background: Rectangle
|
||||||
|
{
|
||||||
|
border.width: kunden.activeFocus ? 2 : 1
|
||||||
|
border.color: "#888"
|
||||||
|
radius: 4
|
||||||
|
gradient: Gradient
|
||||||
|
{
|
||||||
|
GradientStop { position: 0 ; color: kunden.pressed ? "#000" : "#001" }
|
||||||
|
GradientStop { position: 1 ; color: kunden.pressed ? "#100" : "#000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
// TODO: here we should call the model
|
// TODO: here we should call the model
|
||||||
@@ -47,7 +70,19 @@ RowLayout
|
|||||||
id: objekt
|
id: objekt
|
||||||
flat: true
|
flat: true
|
||||||
text: qsTr("Objekt")
|
text: qsTr("Objekt")
|
||||||
implicitWidth: objekt.implicitContentWidth + 10
|
implicitWidth: abrechnung.implicitContentWidth + 10
|
||||||
|
Layout.margins: 3
|
||||||
|
background: Rectangle
|
||||||
|
{
|
||||||
|
border.width: objekt.activeFocus ? 2 : 1
|
||||||
|
border.color: "#888"
|
||||||
|
radius: 4
|
||||||
|
gradient: Gradient
|
||||||
|
{
|
||||||
|
GradientStop { position: 0 ; color: objekt.pressed ? "#000" : "#001" }
|
||||||
|
GradientStop { position: 1 ; color: objekt.pressed ? "#100" : "#000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
appLoader.source = "ObjectTable.qml"
|
appLoader.source = "ObjectTable.qml"
|
||||||
@@ -60,7 +95,19 @@ RowLayout
|
|||||||
id: mitarbeiter
|
id: mitarbeiter
|
||||||
flat: true
|
flat: true
|
||||||
text: qsTr("Mitarbeiter")
|
text: qsTr("Mitarbeiter")
|
||||||
implicitWidth: mitarbeiter.implicitContentWidth + 10
|
implicitWidth: abrechnung.implicitContentWidth + 10
|
||||||
|
Layout.margins: 3
|
||||||
|
background: Rectangle
|
||||||
|
{
|
||||||
|
border.width: mitarbeiter.activeFocus ? 2 : 1
|
||||||
|
border.color: "#888"
|
||||||
|
radius: 4
|
||||||
|
gradient: Gradient
|
||||||
|
{
|
||||||
|
GradientStop { position: 0 ; color: mitarbeiter.pressed ? "#000" : "#001" }
|
||||||
|
GradientStop { position: 1 ; color: mitarbeiter.pressed ? "#100" : "#000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
appLoader.source = "EmployeeTable.qml"
|
appLoader.source = "EmployeeTable.qml"
|
||||||
@@ -73,6 +120,18 @@ RowLayout
|
|||||||
flat: true
|
flat: true
|
||||||
text: qsTr("Abrechnung")
|
text: qsTr("Abrechnung")
|
||||||
implicitWidth: abrechnung.implicitContentWidth + 10
|
implicitWidth: abrechnung.implicitContentWidth + 10
|
||||||
|
Layout.margins: 3
|
||||||
|
background: Rectangle
|
||||||
|
{
|
||||||
|
border.width: abrechnung.activeFocus ? 2 : 1
|
||||||
|
border.color: "#888"
|
||||||
|
radius: 4
|
||||||
|
gradient: Gradient
|
||||||
|
{
|
||||||
|
GradientStop { position: 0 ; color: abrechnung.pressed ? "#000" : "#001" }
|
||||||
|
GradientStop { position: 1 ; color: abrechnung.pressed ? "#100" : "#000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
@@ -88,8 +147,6 @@ RowLayout
|
|||||||
icon.color: "red"
|
icon.color: "red"
|
||||||
flat: true
|
flat: true
|
||||||
Layout.rightMargin: 9
|
Layout.rightMargin: 9
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
4
qml.qrc
4
qml.qrc
@@ -26,13 +26,9 @@
|
|||||||
<file>Gui/AddObjectEmployee.qml</file>
|
<file>Gui/AddObjectEmployee.qml</file>
|
||||||
<file>Gui/AddApplicant.qml</file>
|
<file>Gui/AddApplicant.qml</file>
|
||||||
<file>Gui/ApplicantPersonalData.qml</file>
|
<file>Gui/ApplicantPersonalData.qml</file>
|
||||||
<file>Gui/ApplicantContactData.qml</file>
|
|
||||||
<file>Gui/ApplicantBankData.qml</file>
|
<file>Gui/ApplicantBankData.qml</file>
|
||||||
<file>Gui/ApplicantNationality.qml</file>
|
|
||||||
<file>Gui/ApplicantNationalInsurance.qml</file>
|
<file>Gui/ApplicantNationalInsurance.qml</file>
|
||||||
<file>Gui/ApplicantMiniJob.qml</file>
|
|
||||||
<file>Gui/ApplicantVarious.qml</file>
|
<file>Gui/ApplicantVarious.qml</file>
|
||||||
<file>Gui/ApplicantBirthData.qml</file>
|
|
||||||
<file>Gui/CustomersTable.qml</file>
|
<file>Gui/CustomersTable.qml</file>
|
||||||
<file>Gui/CustomerDetails.qml</file>
|
<file>Gui/CustomerDetails.qml</file>
|
||||||
<file>Gui/ObjectsTable.qml</file>
|
<file>Gui/ObjectsTable.qml</file>
|
||||||
|
|||||||
Reference in New Issue
Block a user