From aeffda945f53604e57ce7d6ef5e03d6570b5f21d Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 12 Mar 2020 15:38:49 +0100 Subject: [PATCH] [calamares] Use the ViewManager model to show steps --- src/calamares/calamares-sidebar.qml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/calamares/calamares-sidebar.qml b/src/calamares/calamares-sidebar.qml index 6cab24bec..a486bdb17 100644 --- a/src/calamares/calamares-sidebar.qml +++ b/src/calamares/calamares-sidebar.qml @@ -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 + } } } + +}