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

#include <undo.h>

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

Public Member Functions

 ChangeStaff (Staff *, bool invisible, ClefTypeList _clefType, qreal userDist, Staff::HideMode _hideMode, bool _showIfEmpty, bool _cutaway, bool hide)
 
- 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
 
bool invisible
 
ClefTypeList clefType
 
qreal userDist
 
Staff::HideMode hideMode
 
bool showIfEmpty
 
bool cutaway
 
bool hideSystemBarLine
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ChangeStaff()

Ms::ChangeStaff::ChangeStaff ( Staff _staff,
bool  invisible,
ClefTypeList  _clefType,
qreal  userDist,
Staff::HideMode  _hideMode,
bool  _showIfEmpty,
bool  _cutaway,
bool  hide 
)

Member Function Documentation

◆ flip()

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

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ clefType

ClefTypeList Ms::ChangeStaff::clefType
private

◆ cutaway

bool Ms::ChangeStaff::cutaway
private

◆ hideMode

Staff::HideMode Ms::ChangeStaff::hideMode
private

◆ hideSystemBarLine

bool Ms::ChangeStaff::hideSystemBarLine
private

◆ invisible

bool Ms::ChangeStaff::invisible
private

◆ showIfEmpty

bool Ms::ChangeStaff::showIfEmpty
private

◆ staff

Staff* Ms::ChangeStaff::staff
private

◆ userDist

qreal Ms::ChangeStaff::userDist
private

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