show.qml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* === This file is part of Calamares - <http://github.com/calamares> ===
  2. *
  3. * Copyright 2015, Teo Mrnjavac <teo@kde.org>
  4. * Copyright 2018-2019, Jonathan Carter <jcc@debian.org>
  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. import QtQuick 2.0;
  19. import calamares.slideshow 1.0;
  20. Presentation
  21. {
  22. id: presentation
  23. Timer {
  24. interval: 20000
  25. repeat: true
  26. onTriggered: presentation.goToNextSlide()
  27. }
  28. Slide {
  29. Image {
  30. id: background1
  31. source: "slide1.png"
  32. width: 467; height: 280
  33. fillMode: Image.PreserveAspectFit
  34. anchors.centerIn: parent
  35. }
  36. Text {
  37. anchors.horizontalCenter: background1.horizontalCenter
  38. anchors.top: background1.bottom
  39. text: "Welcome to Debian GNU/Linux.<br/>"+
  40. "The rest of the installation is automated and should complete in a few minutes."
  41. wrapMode: Text.WordWrap
  42. width: 600
  43. horizontalAlignment: Text.Center
  44. }
  45. }
  46. }