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