39
39
property int milliseconds: 0;
41
41
property int decimalgradient: 0;
42
property int minuteHandValue: minutes;
43
property int secondHandValue: seconds;
43
signal clicked(var mouse)
45
45
// Sets the location and visible (bool) values of the blip (small circle visible when the lap button is pressed)
46
46
property alias blipLocation: blipFist.location;
89
90
// This component draws the trailing shadow of the second hand.
92
rotationAngle: secondHandValue * 6
93
rotationAngle: minutes * 6
93
94
decimalGradient: decimalgradient
101
height: units.gu(19); width: units.gu(19);
103
anchors.centerIn: parent;
104
color: Constants.coolGrey;
109
onClicked: analogStopwatch.clicked(mouse)
97
114
id:stopwatchMarkers
99
model: ["1", "2", "4", "5", "7", "8", "10", "11"]
116
model: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"]
101
118
delegate: AnalogClockMarker {
102
119
number: modelData
104
color: Constants.pitchBlack
109
model: ["15", "30", "45", "60"]
111
delegate: AnalogClockMarker {
117
// Draws the second and minute hand.
124
color: Constants.coolGrey
132
height: units.gu(12.5); width: units.gu(1);
133
rotationAngle: hours * 15;
141
height: units.gu(14.5); width: units.gu(0.5);
142
rotationAngle: minutes * 6;
121
rotationAngle: secondHandValue * 6
122
widthhand: units.gu(0.5); heighthand: units.gu(17); heighttop: units.gu(5)
123
colorhand: Constants.brightWhite
124
colortop: Constants.ubuntuOrange
130
rotationAngle: minuteHandValue * 6
131
widthhand: units.gu(0.5); heighthand: units.gu(6); heighttop: units.gu(0)
132
z: circleMinutes.z + 1
133
colorhand: Constants.pitchBlack
134
colortop: Constants.ubuntuOrange
140
width: units.gu(15); height: units.gu(15)
141
anchors.centerIn: parent
142
color: Constants.normalGrey
150
height: units.gu(17); width: units.gu(0.5)
151
rotationAngle: seconds * 6;