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

« back to all changes in this revision

Viewing changes to app/alarm/EditAlarmPage.qml

  • Committer: Daniel Holbach
  • Date: 2014-08-05 07:31:06 UTC
  • mfrom: (37.1.1 reboot)
  • Revision ID: daniel.holbach@canonical.com-20140805073106-0gmcmoge080haftu
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
Page {
27
27
    id: _addAlarmPage
 
28
    objectName: "AddAlarmPage"
28
29
 
29
30
    // Property to determine if this is a new/saved alarm
30
31
    property bool isNewAlarm: true
47
48
 
48
49
        actions: Action {
49
50
            iconName: "ok"
 
51
            objectName: "saveAlarmAction"
50
52
            text: i18n.tr("Alarm")
51
53
            onTriggered: {
52
54
                if(isNewAlarm) {
182
184
 
183
185
        SubtitledListItem {
184
186
            id: _alarmRepeat
 
187
            objectName: "alarmRepeat"
185
188
 
186
189
            text: i18n.tr("Repeat")
187
190
            subText: alarmUtils.format_day_string(_alarm.daysOfWeek)
191
194
 
192
195
        SubtitledListItem {
193
196
            id: _alarmLabel
 
197
            objectName: "alarmLabel"
194
198
 
195
199
            text: i18n.tr("Label")
196
200
            subText: _alarm.message
200
204
 
201
205
        SubtitledListItem {
202
206
            id: _alarmSound
 
207
            objectName: "alarmSound"
203
208
            /*
204
209
              #TODO: Add support for choosing new alarm sound when indicator-
205
210
              datetime supports custom alarm sounds