diff --git a/Gui/CustomerTable.qml b/Gui/CustomerTable.qml index 3104523..9c380c5 100644 --- a/Gui/CustomerTable.qml +++ b/Gui/CustomerTable.qml @@ -7,7 +7,6 @@ import Qt.labs.qmlmodels Item { anchors.fill: parent property var availableFilters: ["Name", "Adresse", "PLZ", "Ort"] - id: test StackView { diff --git a/Gui/CustomersTable.qml b/Gui/CustomersTable.qml index b906a84..53f2400 100644 --- a/Gui/CustomersTable.qml +++ b/Gui/CustomersTable.qml @@ -4,12 +4,16 @@ import QtQuick.Controls import Qt.labs.qmlmodels ColumnLayout { + function viewCriterion(criterion) { business_model.viewCriterion(criterion.text); } + + anchors.fill: parent + spacing: Dimensions.l Component.onCompleted: customersStack.pop() diff --git a/Gui/EmployeeTable.qml b/Gui/EmployeeTable.qml index c01e6b5..e5f123a 100644 --- a/Gui/EmployeeTable.qml +++ b/Gui/EmployeeTable.qml @@ -3,17 +3,15 @@ import QtQuick.Layouts import QtQuick.Controls import Qt.labs.qmlmodels +Item { + anchors.fill: parent -Item -{ - StackView - { + StackView { id: employeesStack + anchors.fill: parent initialItem: "EmployeesTable.qml" anchors.topMargin: Dimensions.m } } - - diff --git a/Gui/EmployeesTable.qml b/Gui/EmployeesTable.qml index 02a11aa..167b92b 100644 --- a/Gui/EmployeesTable.qml +++ b/Gui/EmployeesTable.qml @@ -50,12 +50,7 @@ ColumnLayout text: qsTr("Kunde") selected: false } - ListElement - { - name: "Lieferant" - text: qsTr("Lieferant") - selected: false - } + ListElement { name: "Erledigt" diff --git a/Gui/ObjectView.qml b/Gui/ObjectView.qml index 49bd751..1d85586 100644 --- a/Gui/ObjectView.qml +++ b/Gui/ObjectView.qml @@ -146,8 +146,7 @@ GridLayout } TextField - { - id: gesamtnetto + {id: gesamtnetto Layout.fillWidth: true Layout.columnSpan: 3 }