SearchBar

This commit is contained in:
2024-11-06 09:17:09 +01:00
parent 493270efc1
commit 9b30f5e127
7 changed files with 15 additions and 3 deletions

BIN
doc/GUI-Kunden.rnote Normal file

Binary file not shown.

Binary file not shown.

BIN
doc/GUI-Objekt.rnote Normal file

Binary file not shown.

5
gui/SearchBar.qml Normal file
View File

@@ -0,0 +1,5 @@
import QtQuick
Item {
}

View File

@@ -27,6 +27,8 @@ import QtQuick.Layouts
id: dashBoard id: dashBoard
flat: true flat: true
text: qsTr("Dashboard") text: qsTr("Dashboard")
implicitWidth: dashBoard.implicitContentWidth + 10
} }
Button Button
@@ -34,6 +36,7 @@ import QtQuick.Layouts
id: kunden id: kunden
flat: true flat: true
text: qsTr("Kunden") text: qsTr("Kunden")
implicitWidth: kunden.implicitContentWidth + 10
onClicked: onClicked:
{ {
appLoader.source = "Tables.qml" appLoader.source = "Tables.qml"
@@ -45,6 +48,7 @@ import QtQuick.Layouts
id: objekt id: objekt
flat: true flat: true
text: qsTr("Objekt") text: qsTr("Objekt")
implicitWidth: objekt.implicitContentWidth + 10
} }
Button Button
@@ -52,6 +56,7 @@ import QtQuick.Layouts
id: mitarbeiter id: mitarbeiter
flat: true flat: true
text: qsTr("Mitarbeiter") text: qsTr("Mitarbeiter")
implicitWidth: mitarbeiter.implicitContentWidth + 10
} }
Button Button
@@ -59,6 +64,7 @@ import QtQuick.Layouts
id: abrechnung id: abrechnung
flat: true flat: true
text: qsTr("Abrechnung") text: qsTr("Abrechnung")
implicitWidth: abrechnung.implicitContentWidth + 10
} }
Item Item

View File

@@ -16,7 +16,7 @@ ApplicationWindow
{ {
id:topBar id:topBar
visible: if (bad_config) visible = false visible: bad_config? false: true
} }
Item Item
{ {

View File

@@ -9,6 +9,7 @@
"js/qmldict.js", "js/qmldict.js",
"lib/Vermasseln.py", "lib/Vermasseln.py",
"gui/TopBar.qml", "gui/TopBar.qml",
"gui/Tables.qml" "gui/Tables.qml",
"gui/SearchBar.qml"
] ]
} }