void InspectorNote::dot1Clicked() { Note* note = toNote(inspector->element()); if (note == 0) return; if (note->dots().size() > 0) { NoteDot* dot = note->dot(0); dot->score()->select(dot); inspector->setElement(dot); dot->score()->update(); } }
void InspectorNote::dot3Clicked() { Note* note = static_cast<Note*>(inspector->element()); if (note == 0) return; NoteDot* dot = note->dot(2); if (dot) { dot->score()->select(dot); inspector->setElement(dot); dot->score()->end(); } }