Add Customer/Object/Employee working - DEBUGGING anchor Errors done
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import TeroStyle
|
||||
import Js
|
||||
|
||||
ColumnLayout {
|
||||
|
||||
anchors.fill: parent
|
||||
spacing: Dimensions.l
|
||||
|
||||
@@ -13,31 +15,36 @@ ColumnLayout {
|
||||
});
|
||||
}
|
||||
|
||||
ApplicantForm {
|
||||
ApplicantForm
|
||||
{
|
||||
id: applicantForm
|
||||
|
||||
Layout.alignment: Qt.AlignTop
|
||||
Layout.fillHeight: true
|
||||
Layout.verticalStretchFactor: 1
|
||||
}
|
||||
RowLayout {
|
||||
RowLayout
|
||||
{
|
||||
Layout.alignment: Qt.AlignRight
|
||||
spacing: Dimensions.l
|
||||
|
||||
Button {
|
||||
Button
|
||||
{
|
||||
icon.source: "qrc:/images/ArrowLeftCircle-Outline.svg"
|
||||
text: qsTr("Verwerfen")
|
||||
|
||||
onClicked: contentStack.pop()
|
||||
}
|
||||
Button {
|
||||
Button
|
||||
{
|
||||
enabled: applicantForm.valid
|
||||
icon.source: "qrc:/images/CheckCircle.svg"
|
||||
text: qsTr("Speichern")
|
||||
|
||||
onClicked: {
|
||||
onClicked:
|
||||
{
|
||||
employee_model.addApplicant(applicantForm.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user