Files
z-bar-qt/Modules/Settings/Categories/Background.qml
T
zach b6ad180b6a
Format (JS/TS) / format (pull_request) Failing after 7s
Lint (JS/TS) / lint (pull_request) Failing after 12s
Lint (Python) / lint (pull_request) Failing after 20s
Lint (Rust) / lint (pull_request) Failing after 1m40s
select part of wallpaper to show
2026-05-19 15:38:59 +02:00

49 lines
659 B
QML

import QtQuick.Layouts
import qs.Modules.Settings.Controls
import qs.Config
SettingsPage {
id: root
SettingsSection {
sectionId: "Wallpaper"
SettingsHeader {
name: "Wallpaper"
}
SettingSwitch {
name: "Enable wallpaper rendering"
object: Config.background
setting: "enabled"
}
Separator {
}
SettingSpinBox {
min: 0
name: "Fade duration"
object: Config.background
setting: "wallFadeDuration"
step: 50
}
Separator {
}
WallpaperCropper {
Layout.fillWidth: true
Layout.preferredHeight: 600
}
}
SettingsSection {
sectionId: "Wallpapers"
WallpaperGrid {
Layout.fillWidth: true
}
}
}