MuseScore  3.4
Music composition and notation
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Ms::ChangeBracketProperty Class Reference

#include <undo.h>

Inheritance diagram for Ms::ChangeBracketProperty:
Inheritance graph
[legend]
Collaboration diagram for Ms::ChangeBracketProperty:
Collaboration graph
[legend]

Public Member Functions

 ChangeBracketProperty (Staff *s, int l, Pid i, const QVariant &v, PropertyFlags ps=PropertyFlags::NOSTYLE)
 
- Public Member Functions inherited from Ms::ChangeProperty
 ChangeProperty (ScoreElement *e, Pid i, const QVariant &v, PropertyFlags ps=PropertyFlags::NOSTYLE)
 
Pid getId () const
 
ScoreElementgetElement () const
 
QVariant data () const
 
- Public Member Functions inherited from Ms::UndoCommand
virtual ~UndoCommand ()
 
virtual void undo (EditData *)
 
virtual void redo (EditData *)
 
void appendChild (UndoCommand *cmd)
 
UndoCommandremoveChild ()
 
int childCount () const
 
void unwind ()
 
const QList< UndoCommand * > & commands () const
 
virtual void cleanup (bool undo)
 
virtual const char * name () const
 

Private Member Functions

void flip (EditData *) override
 

Private Attributes

Staffstaff
 
int level
 

Additional Inherited Members

- Protected Attributes inherited from Ms::ChangeProperty
ScoreElementelement
 
Pid id
 
QVariant property
 
PropertyFlags flags
 

Constructor & Destructor Documentation

◆ ChangeBracketProperty()

Ms::ChangeBracketProperty::ChangeBracketProperty ( Staff s,
int  l,
Pid  i,
const QVariant &  v,
PropertyFlags  ps = PropertyFlags::NOSTYLE 
)
inline

Member Function Documentation

◆ flip()

void Ms::ChangeBracketProperty::flip ( EditData ed)
overrideprivatevirtual

Reimplemented from Ms::ChangeProperty.

Member Data Documentation

◆ level

int Ms::ChangeBracketProperty::level
private

◆ staff

Staff* Ms::ChangeBracketProperty::staff
private

The documentation for this class was generated from the following files: