diff --git a/doc/GUI-AddCustomer.pdf b/doc/GUI-AddCustomer.pdf new file mode 100644 index 0000000..2c73f1f Binary files /dev/null and b/doc/GUI-AddCustomer.pdf differ diff --git a/doc/GUI-AddCustomer.rnote b/doc/GUI-AddCustomer.rnote new file mode 100644 index 0000000..679b533 Binary files /dev/null and b/doc/GUI-AddCustomer.rnote differ diff --git a/doc/GUI-Filter.rnote b/doc/GUI-Filter.rnote index b41d35d..1bcbd78 100644 Binary files a/doc/GUI-Filter.rnote and b/doc/GUI-Filter.rnote differ diff --git a/gui/AddCustomer.qml b/gui/AddCustomer.qml new file mode 100644 index 0000000..9c6bddb --- /dev/null +++ b/gui/AddCustomer.qml @@ -0,0 +1,222 @@ +import QtQuick +import QtQuick.Layouts +import QtQuick.Controls + +RowLayout +{ + ColumnLayout + { + RowLayout + { + Label + { + text: "Firmenname" + Layout.alignment: Qt.AlignRight + + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Street" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "PLZ" + } + ComboBox + { + + } + } + RowLayout + { + Label + { + text: "Ort" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Telefon" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "E-Mail" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Homepage" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Geschäftsführer" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "USt-IdNr" + } + TextField + { + + } + } + + } + + ColumnLayout + { + RowLayout + { + Label + { + text: "Firmenname" + Layout.alignment: Qt.AlignRight + + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Street" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "PLZ" + } + ComboBox + { + + } + } + RowLayout + { + Label + { + text: "Ort" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Telefon" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "E-Mail" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Homepage" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "Geschäftsführer" + } + TextField + { + + } + } + RowLayout + { + Label + { + text: "USt-IdNr" + } + TextField + { + + } + } + } + Item + { + id: spacer + Layout.fillHeight: true + } +} diff --git a/images/add.svg b/images/add.svg new file mode 100644 index 0000000..3324db0 --- /dev/null +++ b/images/add.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/addbusiness.svg b/images/addbusiness.svg new file mode 100644 index 0000000..2d3f4a8 --- /dev/null +++ b/images/addbusiness.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/addperson.svg b/images/addperson.svg new file mode 100644 index 0000000..c98052b --- /dev/null +++ b/images/addperson.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pyqcrm.pyproject b/pyqcrm.pyproject index 1bcda4d..cb0e7bf 100644 --- a/pyqcrm.pyproject +++ b/pyqcrm.pyproject @@ -13,6 +13,7 @@ "gui/SearchBar.qml", "gui/test.qml", "lib/DataBase.py", - "gui/EmployeTables.qml" + "gui/EmployeTables.qml", + "gui/AddCustomer.qml" ] }