Changeset View
Changeset View
Standalone View
Standalone View
src/activities/piano_composition/Staff.qml
Context not available. | |||||
173 | } | 173 | } | ||
---|---|---|---|---|---|
174 | 174 | | |||
175 | MouseArea { | 175 | MouseArea { | ||
176 | id: noteMouseArea | ||||
176 | anchors.fill: parent | 177 | anchors.fill: parent | ||
177 | onClicked: { | 178 | hoverEnabled: true | ||
178 | print(items.staffLength) | 179 | onClicked: multipleStaff.noteClicked(noteName, noteType) | ||
179 | print(items.background.width,items.background.height) | | |||
180 | } | | |||
181 | } | 180 | } | ||
182 | 181 | | |||
183 | function play() { | 182 | function highlightNote() { | ||
184 | // if(highlightWhenPlayed) { | 183 | highlightTimer.start() | ||
185 | highlightTimer.start(); | | |||
186 | // } | | |||
187 | } | 184 | } | ||
188 | 185 | | |||
189 | y: { | 186 | y: { | ||
Context not available. |