Debian Codegraph @

calamares/branding/debian/show.qml

raw
1 /* === This file is part of Calamares - <http://github.com/calamares> ===
2 *
3 * Copyright 2015, Teo Mrnjavac <[email protected]>
4 * Copyright 2018-2019, Jonathan Carter <[email protected]>
5 *
6 * Calamares is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, or (at your option) any later version.
9 *
10 * Calamares is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with Calamares. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 import QtQuick 2.0;
20 import calamares.slideshow 1.0;
21
22 Presentation
23 {
24 id: presentation
25
26 Timer {
27 interval: 20000
28 repeat: true
29 onTriggered: presentation.goToNextSlide()
30 }
31
32 Slide {
33 Image {
34 id: background1
35 source: "slide1.png"
36 width: 467; height: 280
37 fillMode: Image.PreserveAspectFit
38 anchors.centerIn: parent
39 }
40 Text {
41 anchors.horizontalCenter: background1.horizontalCenter
42 anchors.top: background1.bottom
43 text: qsTr("Welcome to Debian GNU/Linux.<br/>"+
44 "The rest of the installation is automated and should complete in a few minutes.")
45 wrapMode: Text.WordWrap
46 width: 600
47 horizontalAlignment: Text.Center
48 }
49 }
50
51 }