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
|
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
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ ApplicationWindow
|
|||||||
{
|
{
|
||||||
id:topBar
|
id:topBar
|
||||||
|
|
||||||
visible: if (bad_config) visible = false
|
visible: bad_config? false: true
|
||||||
}
|
}
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user