Changeset a9949d9


Ignore:
Timestamp:
03/11/12 11:59:31 (3 years ago)
Author:
xkolman2 <xkolman2@…>
Branches:
master
Children:
7bc014b
Parents:
47d98f4
git-author:
xkolman2 <xkolman2@…> (03/11/12 11:59:31)
git-committer:
xkolman2 <xkolman2@…> (03/11/12 11:59:31)
Message:

add fade-in feedback on press

git-svn-id: https://nlp.fi.muni.cz/svn/gps_navigace/trunk@679 0858a4d0-ffff-46e5-938e-62b5ecb34222

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/gui_modules/gui_qml/qml/IconGridButton.qml

    r47d98f4 ra9949d9  
    1313 
    1414    scale : mouseArea.pressed ? 0.9 : 1.0 
    15     //transform: Scale { origin.x: 25; origin.y: 25; xScale: 3} 
    1615 
    1716    width : iconSize 
     
    2625        // TODO: get color from theme 
    2726        // TODO: slightly darker (themable ?) pressed color ? 
     27        //color : mouseArea.pressed ? Qt.darker("#92aaf3") : "#92aaf3" 
    2828        color : "#92aaf3" 
    2929        radius : 10 
     
    5757        onClicked: icgb.clicked() 
    5858    } 
     59    Rectangle { 
     60        anchors.fill : parent 
     61        visible : mouseArea.pressed 
     62        color : "black" 
     63        opacity : 0.35 
     64    } 
    5965} 
Note: See TracChangeset for help on using the changeset viewer.