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") implicitWidth: dashBoard.implicitContentWidth + 10 onClicked: { appLoader.source = "Dashboard.qml" } } Button { id: kunden flat: true text: qsTr("Kunden") implicitWidth: kunden.implicitContentWidth + 10 onClicked: { appLoader.source = "CustomerTables.qml" } } Button { id: objekt flat: true text: qsTr("Objekt") implicitWidth: objekt.implicitContentWidth + 10 } Button { id: mitarbeiter flat: true text: qsTr("Mitarbeiter") implicitWidth: mitarbeiter.implicitContentWidth + 10 onClicked: { appLoader.source = "EmployeTables.qml" } } Button { id: abrechnung flat: true text: qsTr("Abrechnung") implicitWidth: abrechnung.implicitContentWidth + 10 } Item { id: hspacer Layout.fillWidth: true } Button { id: atajos icon.source: "../images/menu.svg" icon.color: "red" flat: true Layout.rightMargin: 9 } }