AddCustomer

This commit is contained in:
2024-11-12 11:06:18 +01:00
parent 6849fc0d86
commit 5274fdb0c4
8 changed files with 227 additions and 1 deletions

BIN
doc/GUI-AddCustomer.pdf Normal file

Binary file not shown.

BIN
doc/GUI-AddCustomer.rnote Normal file

Binary file not shown.

Binary file not shown.

222
gui/AddCustomer.qml Normal file
View File

@@ -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
}
}

1
images/add.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"/></svg>

After

Width:  |  Height:  |  Size: 182 B

1
images/addbusiness.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M720-40v-120H600v-80h120v-120h80v120h120v80H800v120h-80ZM80-160v-240H40v-80l40-200h600l40 200v80h-40v120h-80v-120H440v240H80Zm80-80h200v-160H160v160Zm-38-240h516-516ZM80-720v-80h600v80H80Zm42 240h516l-24-120H146l-24 120Z"/></svg>

After

Width:  |  Height:  |  Size: 345 B

1
images/addperson.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z"/></svg>

After

Width:  |  Height:  |  Size: 603 B

View File

@@ -13,6 +13,7 @@
"gui/SearchBar.qml", "gui/SearchBar.qml",
"gui/test.qml", "gui/test.qml",
"lib/DataBase.py", "lib/DataBase.py",
"gui/EmployeTables.qml" "gui/EmployeTables.qml",
"gui/AddCustomer.qml"
] ]
} }