MuseScore
3.4
Music composition and notation
|
Contains a score editing logic. More...
#include <edit.h>
Public Member Functions | |
Editor (Score *s, bool allowNonUnique=false) | |
Editor (const Editor &)=delete | |
Editor (Editor &&) | |
Editor & | operator= (const Editor &)=delete |
Editor & | operator= (Editor &&) |
~Editor () | |
void | rollback () |
void | commit () |
Hairpin * | addHairpin (HairpinType, ChordRest *cr1, ChordRest *cr2=nullptr, bool toCr2End=true) |
Private Member Functions | |
void | finishChanges () |
Private Attributes | |
Score * | score |
bool | needCommit |
Friends | |
class | Score |
Contains a score editing logic.
Ms::Editor::Editor | ( | Score * | s, |
bool | allowNonUnique = false |
||
) |
|
delete |
Ms::Editor::Editor | ( | Editor && | ) |
Ms::Editor::~Editor | ( | ) |
Hairpin* Ms::Editor::addHairpin | ( | HairpinType | , |
ChordRest * | cr1, | ||
ChordRest * | cr2 = nullptr , |
||
bool | toCr2End = true |
||
) |
void Ms::Editor::commit | ( | ) |
|
private |
void Ms::Editor::rollback | ( | ) |
|
friend |
|
private |
|
private |