Warning, /utilities/kweather/src/qml/backgrounds/DynamicBackground.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 * SPDX-FileCopyrightText: 2020 Han Young <hanyoung@protonmail.com>
0003 * SPDX-FileCopyrightText: 2020 Devin Lin <espidev@gmail.com>
0004 *
0005 * SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 import QtQuick
0008 import QtQuick.Controls
0009 import QtQuick.Layouts
0010 import QtQuick.Shapes
0011 import org.kde.kirigami as Kirigami
0012 import org.kde.kweather.backgrounds.components
0013
0014 // parent of all weather background components
0015 Rectangle {
0016 color: "transparent"
0017 anchors.fill: parent
0018 opacity: 0 // animated intro
0019
0020 // specify background colour
0021 property color gradientColorTop: "white"
0022 property color gradientColorBottom: "white"
0023
0024 property bool sun: false
0025
0026 property bool clouds: false
0027 property color cloudsColor: "white"
0028
0029 property bool stars: false
0030
0031 property bool rain: false
0032
0033 property bool snow: false
0034 }
0035