~twstd-dev/ubuntu-clock-app/next-alarm

« back to all changes in this revision

Viewing changes to app/clock/ClockPage.qml

Added objectNames required for the autopilot tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
PageWithBottomEdge {
27
27
    id: _clockPage
 
28
    objectName: "clockPage"
28
29
 
29
30
    /*
30
31
      Property to set the minimum drag distance before activating the add
51
52
 
52
53
        PullToAdd {
53
54
            id: addCityButton
 
55
            objectName: "addCityButton"
54
56
 
55
57
            anchors {
56
58
                top: parent.top
64
66
 
65
67
        AbstractButton {
66
68
            id: settingsIcon
 
69
            objectName: "settingsIcon"
67
70
 
68
71
            onClicked: {
69
72
                mainStack.push(Qt.resolvedUrl("../alarm/AlarmSettingsPage.qml"))
89
92
 
90
93
        MainClock {
91
94
            id: clock
 
95
            objectName: "clock"
92
96
 
93
97
            anchors {
94
98
                verticalCenter: parent.top
113
117
 
114
118
        Row {
115
119
            id: locationRow
 
120
            objectName: "locationRow"
116
121
 
117
122
            opacity: settingsIcon.opacity
118
123
            spacing: units.gu(1)
132
137
 
133
138
            Label {
134
139
                id: location
 
140
                objectName: "location" + index
135
141
                text: "Location"
136
142
                fontSize: "medium"
137
143
                anchors.verticalCenter: locationIcon.verticalCenter
141
147
 
142
148
        UserWorldCityList {
143
149
            id: worldCityColumn
 
150
            objectName: "worldCityColumn"
144
151
            opacity: settingsIcon.opacity
145
152
        }
146
153