[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/kde-artwork-active
From:       Marco Martin <notmart () gmail ! com>
Date:       2012-02-16 16:34:13
Message-ID: 20120216163413.EE089AC895 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1280319 by mart:

the new graphics is working


 A             lockscreen/SliderSwitch.qml   [License: LGPL (v2+)]
 M  +8 -6      lockscreen/lockscreen-active.qml  
 M             lockscreen/shutdown-pressed.png  
 M             lockscreen/shutdown.png  
 M             lockscreen/sleep-pressed.png  
 M             lockscreen/sleep.png  
 M             lockscreen/slider-background.png  
 M             src/unlock.svgz  


--- trunk/playground/base/plasma/kde-artwork-active/lockscreen/lockscreen-active.qml #1280318:1280319
@@ -146,14 +146,15 @@
             }
         }
 
-        PlasmaComponents.Slider {
+        SliderSwitch {
             id: sleepSlider
             maximumValue: 100
             value: maximumValue
             x: -4
-            anchors.top: timeText.top
+            anchors.verticalCenter: timeText.verticalCenter
             property int autoStep: maximumValue / 50
-            property bool requestSent: false;
+            property bool requestSent: false
+            handleName: "sleep"
             visible: suspendToRamSupported
 
             onVisibleChanged: {
@@ -210,15 +211,16 @@
             }
         }
 
-        PlasmaComponents.Slider {
+        SliderSwitch {
             id: shutdownSlider
             maximumValue: 100
             value: maximumValue
             x: parent.width - width + 4
-            anchors.top: sleepSlider.top
+            anchors.verticalCenter: timeText.verticalCenter
             visible: shutdownSupported
+            handleName: "shutdown"
             property bool requestSent: false;
-            rotation: 180
+            inverted: true
 
             onValueChanged: {
                 if (value > 5) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic