mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-16 01:27:01 +00:00
cecfd7f8e8
Demo controls migrations to Qt6 POC for an application layout with isolated components Closes: #5902
30 lines
492 B
QML
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
|
|
}
|
|
}
|
|
}
|
|
}
|