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

List:       kde-commits
Subject:    KDE/kdepim/mobile/lib
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2010-12-08 11:19:31
Message-ID: 20101208111931.A5D21AC8A5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1204600 by tokoe:

Give an indicator whether an action is enabled or not
(should be done by grayscale the icon, however I've no clue how to
do that on-the-fly with QML)


 M  +1 -0      ActionButton.qml  


--- trunk/KDE/kdepim/mobile/lib/ActionButton.qml #1204599:1204600
@@ -34,6 +34,7 @@
   height: 70
   action: application.getAction( actionName, "" )
   enabled: action.enabled
+  opacity: enabled ? 1 : 0.65
 
   onClicked : { action.triggered( true ) }
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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