Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/splash/Splash.qml
Show All 14 Lines | |||||
15 | * License along with this program; if not, write to the | 15 | * License along with this program; if not, write to the | ||
16 | * Free Software Foundation, Inc., | 16 | * Free Software Foundation, Inc., | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | import QtQuick 2.5 | 20 | import QtQuick 2.5 | ||
21 | import QtQuick.Window 2.2 | 21 | import QtQuick.Window 2.2 | ||
22 | 22 | | |||
23 | Rectangle { | 23 | Image { | ||
24 | id: root | 24 | id: root | ||
25 | color: "black" | 25 | | ||
26 | // TODO: read the first part of this path from CMake and do | ||||
27 | // ${CMAKE_INSTALL_PREFIX}/${WALLPAPER_INSTALL_DIR | ||||
28 | source: "/usr/share/wallpapers/Next/contents/images/3200x2000.png" | ||||
filipf: This will get removed in D18006 so we should use `3840x2160.png` instead | |||||
ngraham: D18006 isn't going to land in 5.16 (if ever), so I would prefer to use the same value as the… | |||||
29 | fillMode: Image.PreserveAspectCrop | ||||
30 | smooth: true | ||||
26 | 31 | | |||
27 | property int stage | 32 | property int stage | ||
28 | 33 | | |||
29 | onStageChanged: { | 34 | onStageChanged: { | ||
30 | if (stage == 2) { | 35 | if (stage == 2) { | ||
31 | introAnimation.running = true; | 36 | introAnimation.running = true; | ||
32 | } else if (stage == 5) { | 37 | } else if (stage == 5) { | ||
33 | introAnimation.target = busyIndicator; | 38 | introAnimation.target = busyIndicator; | ||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |
This will get removed in D18006 so we should use 3840x2160.png instead