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

« back to all changes in this revision

Viewing changes to app/alarm/AlarmRepeat.qml

Setup autopilot infrastructure and added alarm test

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
Page {
24
24
    id: _alarmRepeatPage
 
25
    objectName: "alarmRepeatPage"
25
26
 
26
27
    visible: false
27
28
    title: i18n.tr("Repeat")
75
76
 
76
77
        Repeater {
77
78
            id: _alarmDays
 
79
            objectName: 'alarmDays'
78
80
 
79
81
            model: daysModel
80
82
 
81
83
            ListItem.Standard {
82
84
                Label {
83
85
                    id: _alarmDay
 
86
                    objectName: 'alarmDay' + index
84
87
 
85
88
                    anchors {
86
89
                        left: parent.left
93
96
                }
94
97
 
95
98
                control: Switch {
 
99
                    objectName: 'daySwitch' + index
96
100
                    checked: (alarm.daysOfWeek & flag) == flag
97
101
                    onCheckedChanged: {
98
102
                        if (checked) {