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

#include <undo.h>

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

Public Member Functions

 ChangeMStaffProperties (Measure *, int staffIdx, bool visible, bool stemless)
 
- 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

Measuremeasure
 
int staffIdx
 
bool visible
 
bool stemless
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ChangeMStaffProperties()

Ms::ChangeMStaffProperties::ChangeMStaffProperties ( Measure m,
int  staffIdx,
bool  visible,
bool  stemless 
)

Member Function Documentation

◆ flip()

void Ms::ChangeMStaffProperties::flip ( EditData )
overrideprivatevirtual

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ measure

Measure* Ms::ChangeMStaffProperties::measure
private

◆ staffIdx

int Ms::ChangeMStaffProperties::staffIdx
private

◆ stemless

bool Ms::ChangeMStaffProperties::stemless
private

◆ visible

bool Ms::ChangeMStaffProperties::visible
private

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