Stefan cecfd7f8e8 chore(CPP): base for the window and layouting system
Demo controls migrations to Qt6
POC for an application layout with isolated components

Closes: #5902
2022-07-01 16:57:51 +02:00

30 lines
492 B
QML

import QtQml
import QtQuick
import QtQuick.Layouts
import Status.Controls.Navigation
NavigationBar {
implicitHeight: mainLayout.implicitHeight
required property var sections
ColumnLayout {
id: mainLayout
MacTrafficLights {
Layout.margins: 13
}
Repeater {
model: sections
Loader {
Layout.fillWidth: true
sourceComponent: modelData.navButton
}
}
}
}