[calamares] Use the ViewManager model to show steps

This commit is contained in:
Adriaan de Groot 2020-03-12 15:38:49 +01:00
parent b5a09d2f83
commit aeffda945f

View File

@ -1,12 +1,35 @@
import QtQuick 2.3
import io.calamares.ui 1.0
import io.calamares.core 1.0
Column {
Rectangle {
id: hello
width: 200
height: 100
color: "red"
Text {
anchors.centerIn: parent
text: "Hello, World!"
text: Branding.string(Branding.VersionedName)
}
}
/* perhaps we could show a branding image here */
Repeater {
model: ViewManager
Rectangle {
width: 200
height: 75
color: "black"
Text {
color: completed ? "green" : "yellow"
text: display
}
}
}
}