Files
pyqcrm/gui/TopBar.qml
2024-11-05 16:26:14 +01:00

86 lines
1.2 KiB
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
RowLayout
{
id: topBar
spacing: 0
height: 35
width: parent.width
anchors
{
top: parent.top
left: parent.left
}
Button
{
id: dashBoard
flat: true
text: qsTr("Dashboard")
}
Button
{
id: kunden
flat: true
text: qsTr("Kunden")
onClicked:
{
appLoader.source = "Tables.qml"
}
}
Button
{
id: objekt
flat: true
text: qsTr("Objekt")
}
Button
{
id: mitarbeiter
flat: true
text: qsTr("Mitarbeiter")
}
Button
{
id: abrechnung
flat: true
text: qsTr("Abrechnung")
}
Item
{
id: hspacer
Layout.fillWidth: true
}
Button
{
id: atajos
icon.source: "../images/menu.svg"
icon.color: "red"
flat: true
}
}