~nik90/ubuntu-clock-app/prep-new-design-part1

« back to all changes in this revision

Viewing changes to timer/TimerFace.qml

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-02-10 13:51:21 UTC
  • Revision ID: krnekhelesh@gmail.com-20140210135121-je1wm2c19wrw2vmf
Updated image assets. Removed rectangular glow from the timer. Moved the visual image hints to the face files

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    property bool timerOn: false;
35
35
    property bool inProgressFlag
36
36
 
37
 
    // Property to expose the timer outer glow effect to outside objects
38
 
    property alias glowEffect: _glowEffect
 
37
    // Property to expose the timer visual hint
 
38
    property alias timerHintImage: _timerHintImage.source
39
39
 
40
40
    showHourHand: false
41
41
    draggable: !inProgressFlag
82
82
        minutes = seconds = totalTime = 0;
83
83
    }
84
84
 
85
 
    RectangularGlow {
86
 
        id: _glowEffect
87
 
        spread: 0.8
88
 
        glowRadius: 5
89
 
        color: "#03CB4A"
90
 
        visible: false;
91
 
        z: parent.z - 1
92
 
        anchors.fill: parent
93
 
        cornerRadius: parent.size
 
85
    // Image to display the side bars to differentiate it from other tabs
 
86
    Image {
 
87
        id: _timerHintImage
 
88
        smooth: true
 
89
        width: units.gu(40)
 
90
        anchors.centerIn: parent
 
91
        fillMode: Image.PreserveAspectFit
 
92
        source: Qt.resolvedUrl("../images/timer_black.png")
94
93
    }
95
94
 
96
95
    Repeater {