Warning, /system/ubiquity-slideshow-neon/ubiquity-slideshow/slides/index.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     Copyright 2019 Harald Sitter <sitter@kde.org>
0003 
0004     This program is free software; you can redistribute it and/or
0005     modify it under the terms of the GNU General Public License as
0006     published by the Free Software Foundation; either version 3 of
0007     the License or any later version accepted by the membership of
0008     KDE e.V. (or its successor approved by the membership of KDE
0009     e.V.), which shall act as a proxy defined in Section 14 of
0010     version 3 of the license.
0011 
0012     This program is distributed in the hope that it will be useful,
0013     but WITHOUT ANY WARRANTY; without even the implied warranty of
0014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0015     GNU General Public License for more details.
0016 
0017     You should have received a copy of the GNU General Public License
0018     along with this program.  If not, see <https://www.gnu.org/licenses/>.
0019 */
0020 
0021 import QtQuick 2.12
0022 import calamares.slideshow 1.0
0023 
0024 Presentation
0025 {
0026     id: presentation
0027 
0028     property string colorPaperWhite: "#fcfcfc"
0029     property string colorCharcoalGrey: "#31363b"
0030 
0031     function onActivate() { timer.running = true }
0032 
0033     Rectangle {
0034         SystemPalette { id: systemPalette }
0035 
0036         anchors.fill: parent
0037         color: systemPalette.window
0038     }
0039 
0040     Timer {
0041         id: timer
0042         interval: 5000
0043         running: false
0044         repeat: true
0045         onTriggered: presentation.goToNextSlide()
0046     }
0047 
0048     UbiquitySlide { name: 'kde'; textColor: colorPaperWhite }
0049     UbiquitySlide { name: 'neon'; textColor: colorPaperWhite }
0050     UbiquitySlide { name: 'plasma'; textColor: colorCharcoalGrey }
0051     UbiquitySlide { name: 'secure'; textColor: colorPaperWhite }
0052 }