Fix: update wallpaper example Autumn's config.qml to QtQuick.Controls
This commit is contained in:
parent
333bdd7fb3
commit
3ec4f26e79
@ -17,20 +17,28 @@
|
||||
*/
|
||||
|
||||
import QtQuick 2.0
|
||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
||||
|
||||
import QtQuick.Controls 1.0 as QtControls
|
||||
|
||||
// for "units"
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
|
||||
Column {
|
||||
id: root
|
||||
property alias cfg_Speed: slider.value
|
||||
|
||||
Row {
|
||||
PlasmaComponents.Label {
|
||||
spacing: units.largeSpacing / 2
|
||||
|
||||
QtControls.Label {
|
||||
width: formAlignment - units.largeSpacing
|
||||
horizontalAlignment: Text.AlignRight
|
||||
text: "Speed:"
|
||||
}
|
||||
PlasmaComponents.Slider {
|
||||
QtControls.Slider {
|
||||
id: slider
|
||||
minimumValue: 20
|
||||
maximumValue: 150
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user