calamares: added preliminary installation slides for openmamba

This commit is contained in:
Silvan Calarco 2015-02-22 15:16:11 +01:00
parent 0332dcf51d
commit 3ebb013c31
4 changed files with 70 additions and 16 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -24,29 +24,34 @@ Presentation
id: presentation id: presentation
Timer { Timer {
interval: 5000 interval: 60000
running: false running: true
repeat: true repeat: true
onTriggered: presentation.goToNextSlide() onTriggered: presentation.goToNextSlide()
} }
Slide { Slide {
Image { Image {
id: background id: background1
source: "openmamba.png" source: "desktop-kde-300x225.jpg"
width: 200; height: 200 width: 300; height: 225
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
anchors.centerIn: parent anchors.centerIn: parent
} }
Text { Text {
anchors.horizontalCenter: background.horizontalCenter anchors.horizontalCenter: background1.horizontalCenter
anchors.top: background.bottom anchors.top: parent.top
text: "This is a customizable QML slideshow.<br/>"+ text: "<h2>Thanks for choosing openmamba!</h2><br/><br/>"
"Distributions should provide their own slideshow and list it in <br/>"+ wrapMode: Text.WordWrap
"their custom branding.desc file.<br/>"+ width: root.width
"To create a Calamares presentation in QML, import calamares.slideshow,<br/>"+ horizontalAlignment: Text.Center
"define a Presentation element with as many Slide elements as needed." }
Text {
anchors.horizontalCenter: background1.horizontalCenter
anchors.top: background1.bottom
text: "<br/><b>openmamba with KDE</b><br/><br/>"+
"The most evolved and complete desktop system of openmamba, KDE based.<br/>"+
"For every user who wants a modern, multimedia and productive desktop.<br/>"
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
width: root.width width: root.width
horizontalAlignment: Text.Center horizontalAlignment: Text.Center
@ -54,10 +59,59 @@ Presentation
} }
Slide { Slide {
centeredText: "This is a second Slide element." Image {
id: background2
source: "desktop-lxde-300x225.jpg"
width: 300; height: 225
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background2.horizontalCenter
anchors.top: parent.top
text: "<h2>Thanks for choosing openmamba!</h2><br/><br/>"
wrapMode: Text.WordWrap
width: root.width
horizontalAlignment: Text.Center
}
Text {
anchors.horizontalCenter: background2.horizontalCenter
anchors.top: background2.bottom
text: "<br/><b>openmamba with LXDE</b><br/><br/>"+
"openmamba system with a simple and light desktop.<br/>"+
"For server installation or desktop on obsolete PC, embedded systems, tablet, single-board PC.<br/>"
wrapMode: Text.WordWrap
width: root.width
horizontalAlignment: Text.Center
}
} }
Slide { Slide {
centeredText: "This is a third Slide element." Image {
id: background3
source: "desktop-gnome-300x225.jpg"
width: 300; height: 225
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background3.horizontalCenter
anchors.top: parent.top
text: "<h2>Thanks for choosing openmamba!</h2><br/><br/>"
wrapMode: Text.WordWrap
width: root.width
horizontalAlignment: Text.Center
}
Text {
anchors.horizontalCenter: background3.horizontalCenter
anchors.top: background3.bottom
text: "<br/><b>openmamba with GNOME</b><br/><br/>"+
"openmamba system with GNOME desktop.<br/>"+
"For users who prefer a different desktop place without relinquishing openmamba system.</br>"
wrapMode: Text.WordWrap
width: root.width
horizontalAlignment: Text.Center
}
} }
} }