~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to app/clock/ClockPage.qml

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-18 02:02:22 UTC
  • mfrom: (23.1.21 10-alarm-settings)
  • Revision ID: krnekhelesh@gmail.com-20140718020222-0q8gqqz3hj2rv8y0
Adds support for Alarm Settings like the alarm ringtone duration, alarm sound volume.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
            rightLabel: i18n.tr("City")
60
60
        }
61
61
 
 
62
        Icon {
 
63
            id: settingsIcon
 
64
 
 
65
            Component.onCompleted: anchors.topMargin = units.gu(2)
 
66
 
 
67
            width: units.gu(3)
 
68
            height: width
 
69
 
 
70
            anchors {
 
71
                top: parent.top
 
72
                topMargin: units.gu(6)
 
73
                right: parent.right
 
74
                rightMargin: units.gu(2)
 
75
            }
 
76
 
 
77
            name: "settings"
 
78
            color: "Grey"
 
79
 
 
80
            Behavior on anchors.topMargin {
 
81
                UbuntuNumberAnimation { duration: 900 }
 
82
            }
 
83
 
 
84
            MouseArea {
 
85
                anchors.fill: parent
 
86
                onClicked: mainStack.push(
 
87
                               Qt.resolvedUrl("../alarm/AlarmSettingsPage.qml"))
 
88
            }
 
89
        }
 
90
 
62
91
        Clock {
63
92
            id: clock
64
93