49 lines
681 B
QML
49 lines
681 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: 300
|
|
// }
|
|
}
|
|
|
|
SettingsSection {
|
|
sectionId: "Wallpapers"
|
|
|
|
WallpaperGrid {
|
|
Layout.fillWidth: true
|
|
}
|
|
}
|
|
}
|