SearchBar
This commit is contained in:
BIN
doc/GUI-Kunden.rnote
Normal file
BIN
doc/GUI-Kunden.rnote
Normal file
Binary file not shown.
Binary file not shown.
BIN
doc/GUI-Objekt.rnote
Normal file
BIN
doc/GUI-Objekt.rnote
Normal file
Binary file not shown.
5
gui/SearchBar.qml
Normal file
5
gui/SearchBar.qml
Normal file
@@ -0,0 +1,5 @@
|
||||
import QtQuick
|
||||
|
||||
Item {
|
||||
|
||||
}
|
||||
@@ -27,6 +27,8 @@ import QtQuick.Layouts
|
||||
id: dashBoard
|
||||
flat: true
|
||||
text: qsTr("Dashboard")
|
||||
implicitWidth: dashBoard.implicitContentWidth + 10
|
||||
|
||||
}
|
||||
|
||||
Button
|
||||
@@ -34,6 +36,7 @@ import QtQuick.Layouts
|
||||
id: kunden
|
||||
flat: true
|
||||
text: qsTr("Kunden")
|
||||
implicitWidth: kunden.implicitContentWidth + 10
|
||||
onClicked:
|
||||
{
|
||||
appLoader.source = "Tables.qml"
|
||||
@@ -45,6 +48,7 @@ import QtQuick.Layouts
|
||||
id: objekt
|
||||
flat: true
|
||||
text: qsTr("Objekt")
|
||||
implicitWidth: objekt.implicitContentWidth + 10
|
||||
}
|
||||
|
||||
Button
|
||||
@@ -52,6 +56,7 @@ import QtQuick.Layouts
|
||||
id: mitarbeiter
|
||||
flat: true
|
||||
text: qsTr("Mitarbeiter")
|
||||
implicitWidth: mitarbeiter.implicitContentWidth + 10
|
||||
}
|
||||
|
||||
Button
|
||||
@@ -59,6 +64,7 @@ import QtQuick.Layouts
|
||||
id: abrechnung
|
||||
flat: true
|
||||
text: qsTr("Abrechnung")
|
||||
implicitWidth: abrechnung.implicitContentWidth + 10
|
||||
}
|
||||
|
||||
Item
|
||||
|
||||
@@ -16,7 +16,7 @@ ApplicationWindow
|
||||
{
|
||||
id:topBar
|
||||
|
||||
visible: if (bad_config) visible = false
|
||||
visible: bad_config? false: true
|
||||
}
|
||||
Item
|
||||
{
|
||||
@@ -32,7 +32,7 @@ ApplicationWindow
|
||||
top: topBar.bottom
|
||||
bottom: parent.bottom
|
||||
}
|
||||
source: bad_config? "firststart.qml":"Dashboard.qml"
|
||||
source: bad_config? "firststart.qml": "Dashboard.qml"
|
||||
property alias window: appWindow
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"js/qmldict.js",
|
||||
"lib/Vermasseln.py",
|
||||
"gui/TopBar.qml",
|
||||
"gui/Tables.qml"
|
||||
"gui/Tables.qml",
|
||||
"gui/SearchBar.qml"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user