Changeset View
Changeset View
Standalone View
Standalone View
wallpapers/image/imagepackage/contents/ui/main.qml
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 28 | QQC2.StackView { | |||
---|---|---|---|---|---|
63 | 63 | | |||
64 | Wallpaper.Image { | 64 | Wallpaper.Image { | ||
65 | id: imageWallpaper | 65 | id: imageWallpaper | ||
66 | //the oneliner of difference between image and slideshow wallpapers | 66 | //the oneliner of difference between image and slideshow wallpapers | ||
67 | renderingMode: (wallpaper.pluginName === "org.kde.image") ? Wallpaper.Image.SingleImage : Wallpaper.Image.SlideShow | 67 | renderingMode: (wallpaper.pluginName === "org.kde.image") ? Wallpaper.Image.SingleImage : Wallpaper.Image.SlideShow | ||
68 | targetSize: Qt.size(root.width, root.height) | 68 | targetSize: Qt.size(root.width, root.height) | ||
69 | slidePaths: wallpaper.configuration.SlidePaths | 69 | slidePaths: wallpaper.configuration.SlidePaths | ||
70 | slideTimer: wallpaper.configuration.SlideInterval | 70 | slideTimer: wallpaper.configuration.SlideInterval | ||
71 | uncheckedSlides: wallpaper.configuration.UncheckedSlides | ||||
71 | } | 72 | } | ||
72 | 73 | | |||
73 | onFillModeChanged: Qt.callLater(loadImage); | 74 | onFillModeChanged: Qt.callLater(loadImage); | ||
74 | onModelImageChanged: Qt.callLater(loadImage); | 75 | onModelImageChanged: Qt.callLater(loadImage); | ||
75 | onConfigColorChanged: Qt.callLater(loadImage); | 76 | onConfigColorChanged: Qt.callLater(loadImage); | ||
76 | onBlurChanged: Qt.callLater(loadImage); | 77 | onBlurChanged: Qt.callLater(loadImage); | ||
77 | onWidthChanged: Qt.callLater(loadImage); | 78 | onWidthChanged: Qt.callLater(loadImage); | ||
78 | onHeightChanged: Qt.callLater(loadImage); | 79 | onHeightChanged: Qt.callLater(loadImage); | ||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |