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

#include <stafftype.h>

Collaboration diagram for Ms::StaffType:
Collaboration graph
[legend]

Public Member Functions

 StaffType ()
 
 StaffType (StaffGroup sg, const QString &xml, const QString &name, int lines, int stpOff, qreal lineDist, bool genClef, bool showBarLines, bool stemless, bool genTimeSig, bool genKeySig, bool showLedgerLines)
 
 StaffType (StaffGroup sg, const QString &xml, const QString &name, int lines, int stpOff, qreal lineDist, bool genClef, bool showBarLines, bool stemless, bool genTimesig, const QString &durFontName, qreal durFontSize, qreal durFontUserY, qreal genDur, const QString &fretFontName, qreal fretFontSize, qreal fretFontUserY, TablatureSymbolRepeat symRepeat, bool linesThrough, TablatureMinimStyle minimStyle, bool onLines, bool showRests, bool stemsDown, bool stemThrough, bool upsideDown, bool showTabFingering, bool useNumbers, bool showBackTied)
 
virtual ~StaffType ()
 
bool operator== (const StaffType &) const
 
bool isSameStructure (const StaffType &) const
 
StaffGroup group () const
 
const QString & name () const
 
const QString & xmlName () const
 
void setName (const QString &val)
 
void setXmlName (const QString &val)
 
const char * groupName () const
 
void setLines (int val)
 
int lines () const
 
void setStepOffset (int v)
 
int stepOffset () const
 
void setLineDistance (const Spatium &val)
 
Spatium lineDistance () const
 
void setGenClef (bool val)
 
bool genClef () const
 
void setShowBarlines (bool val)
 
bool showBarlines () const
 
qreal userMag () const
 
bool small () const
 
void setUserMag (qreal val)
 
void setSmall (bool val)
 
Spatium yoffset () const
 
void setYoffset (Spatium val)
 
qreal spatium (Score *) const
 
void write (XmlWriter &xml) const
 
void read (XmlReader &)
 
void setStemless (bool val)
 
bool stemless () const
 
bool genTimesig () const
 
void setGenTimesig (bool val)
 
qreal doty1 () const
 
qreal doty2 () const
 
void setGenKeysig (bool val)
 
bool genKeysig () const
 
void setShowLedgerLines (bool val)
 
bool showLedgerLines () const
 
void setNoteHeadScheme (NoteHeadScheme s)
 
NoteHeadScheme noteHeadScheme () const
 
QString fretString (int fret, int string, bool ghost) const
 
QString durationString (TDuration::DurationType type, int dots) const
 
int physStringToVisual (int strg) const
 
int visualStringToPhys (int line) const
 
qreal physStringToYOffset (int strg) const
 
QString tabBassStringPrefix (int strg, bool *hasFret) const
 
void drawInputStringMarks (QPainter *p, int string, int voice, QRectF rect) const
 
int numOfTabLedgerLines (int string) const
 
qreal durationBoxH () const
 
qreal durationBoxY () const
 
const QFont & durationFont () const
 
const QString durationFontName () const
 
qreal durationFontSize () const
 
qreal durationFontUserY () const
 
qreal durationFontYOffset () const
 
qreal durationGridYOffset () const
 
qreal fretBoxH () const
 
qreal fretBoxY () const
 
qreal fretMaskH () const
 
qreal fretMaskY () const
 
const QFont & fretFont () const
 
const QString fretFontName () const
 
qreal fretFontSize () const
 
qreal fretFontUserY () const
 
qreal fretFontYOffset () const
 
bool genDurations () const
 
bool linesThrough () const
 
TablatureMinimStyle minimStyle () const
 
TablatureSymbolRepeat symRepeat () const
 
bool onLines () const
 
bool showRests () const
 
bool stemsDown () const
 
bool stemThrough () const
 
bool upsideDown () const
 
bool showTabFingering () const
 
bool useNumbers () const
 
bool showBackTied () const
 
void setDurationFontName (const QString &)
 
void setDurationFontSize (qreal)
 
void setDurationFontUserY (qreal val)
 
void setFretFontName (const QString &)
 
void setFretFontSize (qreal)
 
void setFretFontUserY (qreal val)
 
void setGenDurations (bool val)
 
void setLinesThrough (bool val)
 
void setMinimStyle (TablatureMinimStyle val)
 
void setSymbolRepeat (TablatureSymbolRepeat val)
 
void setOnLines (bool)
 
void setShowRests (bool val)
 
void setStemsDown (bool val)
 
void setStemsThrough (bool val)
 
void setUpsideDown (bool val)
 
void setShowTabFingering (bool val)
 
void setUseNumbers (bool val)
 
void setShowBackTied (bool val)
 
QPointF chordStemPos (const Chord *) const
 
qreal chordRestStemPosY (const ChordRest *) const
 
qreal chordStemPosX (const Chord *) const
 
QPointF chordStemPosBeam (const Chord *) const
 
qreal chordStemLength (const Chord *) const
 
bool isTabStaff () const
 
bool isDrumStaff () const
 

Static Public Member Functions

static const char * groupName (StaffGroup)
 
static const StaffTypegetDefaultPreset (StaffGroup grp)
 
static const StaffTypepreset (StaffTypes idx)
 
static const StaffTypepresetFromXmlName (QString &xmlName)
 
static QList< QString > fontNames (bool bDuration)
 
static bool fontData (bool bDuration, int nIdx, QString *pFamily, QString *pDisplayName, qreal *pSize, qreal *pYOff)
 
static void initStaffTypes ()
 
static const std::vector< StaffType > & presets ()
 
static QString scheme2userName (NoteHeadScheme ns)
 
static QString scheme2name (NoteHeadScheme ns)
 
static NoteHeadScheme name2scheme (QString name)
 

Private Member Functions

void setDurationMetrics () const
 
void setFretMetrics () const
 

Static Private Member Functions

static bool readConfigFile (const QString &fileName)
 

Private Attributes

StaffGroup _group = StaffGroup::STANDARD
 
QString _xmlName
 
QString _name
 
qreal _userMag { 1.0 }
 
Spatium _yoffset { 0.0 }
 
bool _small { false }
 
int _lines = 5
 
int _stepOffset = 0
 
Spatium _lineDistance = Spatium(1)
 
bool _showBarlines = true
 
bool _showLedgerLines = true
 
bool _stemless = false
 
bool _genClef = true
 
bool _genTimesig = true
 
bool _genKeysig = true
 
NoteHeadScheme _noteHeadScheme = NoteHeadScheme::HEAD_NORMAL
 
qreal _durationFontSize = 15.0
 
qreal _durationFontUserY = 0.0
 
qreal _fretFontSize = 10.0
 
qreal _fretFontUserY = 0.0
 
bool _genDurations = false
 
bool _linesThrough = false
 
TablatureMinimStyle _minimStyle = TablatureMinimStyle::NONE
 
TablatureSymbolRepeat _symRepeat = TablatureSymbolRepeat::NEVER
 
bool _onLines = true
 
bool _showRests = false
 
bool _stemsDown = true
 
bool _stemsThrough = true
 
bool _upsideDown = false
 
bool _showTabFingering = false
 
bool _useNumbers = true
 
bool _showBackTied = true
 
qreal _durationBoxH = 0.0
 
qreal _durationBoxY = 0.0
 
QFont _durationFont
 
int _durationFontIdx = 0
 
qreal _durationYOffset = 0.0
 
qreal _durationGridYOffset = 0.0
 
bool _durationMetricsValid = false
 
qreal _fretBoxH = 0.0
 
qreal _fretBoxY = 0.0
 
QFont _fretFont
 
int _fretFontIdx = 0
 
qreal _fretYOffset = 0.0
 
bool _fretMetricsValid = false
 
qreal _refDPI = 0.0
 

Static Private Attributes

static QList< TablatureFretFont_fretFonts = QList<TablatureFretFont>()
 
static QList< TablatureDurationFont_durationFonts = QList<TablatureDurationFont>()
 
static std::vector< StaffType_presets
 
static const char groupNames [STAFF_GROUP_MAX][STAFF_GROUP_NAME_MAX_LENGTH]
 
static const QString fileGroupNames [STAFF_GROUP_MAX] = { "pitched", "percussion", "tablature" }
 

Friends

class TabDurationSymbol
 

Constructor & Destructor Documentation

◆ StaffType() [1/3]

Ms::StaffType::StaffType ( )

◆ StaffType() [2/3]

Ms::StaffType::StaffType ( StaffGroup  sg,
const QString &  xml,
const QString &  name,
int  lines,
int  stpOff,
qreal  lineDist,
bool  genClef,
bool  showBarLines,
bool  stemless,
bool  genTimeSig,
bool  genKeySig,
bool  showLedgerLines 
)

◆ StaffType() [3/3]

Ms::StaffType::StaffType ( StaffGroup  sg,
const QString &  xml,
const QString &  name,
int  lines,
int  stpOff,
qreal  lineDist,
bool  genClef,
bool  showBarLines,
bool  stemless,
bool  genTimesig,
const QString &  durFontName,
qreal  durFontSize,
qreal  durFontUserY,
qreal  genDur,
const QString &  fretFontName,
qreal  fretFontSize,
qreal  fretFontUserY,
TablatureSymbolRepeat  symRepeat,
bool  linesThrough,
TablatureMinimStyle  minimStyle,
bool  onLines,
bool  showRests,
bool  stemsDown,
bool  stemThrough,
bool  upsideDown,
bool  showTabFingering,
bool  useNumbers,
bool  showBackTied 
)

◆ ~StaffType()

virtual Ms::StaffType::~StaffType ( )
inlinevirtual

Member Function Documentation

◆ chordRestStemPosY()

qreal Ms::StaffType::chordRestStemPosY ( const ChordRest chordRest) const

◆ chordStemLength()

qreal Ms::StaffType::chordStemLength ( const Chord chord) const

◆ chordStemPos()

QPointF Ms::StaffType::chordStemPos ( const Chord chord) const

◆ chordStemPosBeam()

QPointF Ms::StaffType::chordStemPosBeam ( const Chord chord) const

◆ chordStemPosX()

qreal Ms::StaffType::chordStemPosX ( const Chord ) const
inline

◆ doty1()

qreal Ms::StaffType::doty1 ( ) const

◆ doty2()

qreal Ms::StaffType::doty2 ( ) const

◆ drawInputStringMarks()

void Ms::StaffType::drawInputStringMarks ( QPainter *  p,
int  string,
int  voice,
QRectF  rect 
) const

◆ durationBoxH()

qreal Ms::StaffType::durationBoxH ( ) const

◆ durationBoxY()

qreal Ms::StaffType::durationBoxY ( ) const

◆ durationFont()

const QFont& Ms::StaffType::durationFont ( ) const
inline

◆ durationFontName()

const QString Ms::StaffType::durationFontName ( ) const
inline

◆ durationFontSize()

qreal Ms::StaffType::durationFontSize ( ) const
inline

◆ durationFontUserY()

qreal Ms::StaffType::durationFontUserY ( ) const
inline

◆ durationFontYOffset()

qreal Ms::StaffType::durationFontYOffset ( ) const
inline

◆ durationGridYOffset()

qreal Ms::StaffType::durationGridYOffset ( ) const
inline

◆ durationString()

QString Ms::StaffType::durationString ( TDuration::DurationType  type,
int  dots 
) const

◆ fontData()

bool Ms::StaffType::fontData ( bool  bDuration,
int  nIdx,
QString *  pFamily,
QString *  pDisplayName,
qreal *  pSize,
qreal *  pYOff 
)
static

◆ fontNames()

QList< QString > Ms::StaffType::fontNames ( bool  bDuration)
static

◆ fretBoxH()

qreal Ms::StaffType::fretBoxH ( ) const
inline

◆ fretBoxY()

qreal Ms::StaffType::fretBoxY ( ) const
inline

◆ fretFont()

const QFont& Ms::StaffType::fretFont ( ) const
inline

◆ fretFontName()

const QString Ms::StaffType::fretFontName ( ) const
inline

◆ fretFontSize()

qreal Ms::StaffType::fretFontSize ( ) const
inline

◆ fretFontUserY()

qreal Ms::StaffType::fretFontUserY ( ) const
inline

◆ fretFontYOffset()

qreal Ms::StaffType::fretFontYOffset ( ) const
inline

◆ fretMaskH()

qreal Ms::StaffType::fretMaskH ( ) const
inline

◆ fretMaskY()

qreal Ms::StaffType::fretMaskY ( ) const
inline

◆ fretString()

QString Ms::StaffType::fretString ( int  fret,
int  string,
bool  ghost 
) const

◆ genClef()

bool Ms::StaffType::genClef ( ) const
inline

◆ genDurations()

bool Ms::StaffType::genDurations ( ) const
inline

◆ genKeysig()

bool Ms::StaffType::genKeysig ( ) const
inline

◆ genTimesig()

bool Ms::StaffType::genTimesig ( ) const
inline

◆ getDefaultPreset()

const StaffType * Ms::StaffType::getDefaultPreset ( StaffGroup  grp)
static

◆ group()

StaffGroup Ms::StaffType::group ( ) const
inline

◆ groupName() [1/2]

const char * Ms::StaffType::groupName ( ) const

◆ groupName() [2/2]

const char * Ms::StaffType::groupName ( StaffGroup  r)
static

◆ initStaffTypes()

void Ms::StaffType::initStaffTypes ( )
static

◆ isDrumStaff()

bool Ms::StaffType::isDrumStaff ( ) const
inline

◆ isSameStructure()

bool Ms::StaffType::isSameStructure ( const StaffType st) const

◆ isTabStaff()

bool Ms::StaffType::isTabStaff ( ) const
inline

◆ lineDistance()

Spatium Ms::StaffType::lineDistance ( ) const
inline

◆ lines()

int Ms::StaffType::lines ( ) const
inline

◆ linesThrough()

bool Ms::StaffType::linesThrough ( ) const
inline

◆ minimStyle()

TablatureMinimStyle Ms::StaffType::minimStyle ( ) const
inline

◆ name()

const QString& Ms::StaffType::name ( ) const
inline

◆ name2scheme()

NoteHeadScheme Ms::StaffType::name2scheme ( QString  name)
static

◆ noteHeadScheme()

NoteHeadScheme Ms::StaffType::noteHeadScheme ( ) const
inline

◆ numOfTabLedgerLines()

int Ms::StaffType::numOfTabLedgerLines ( int  string) const

◆ onLines()

bool Ms::StaffType::onLines ( ) const
inline

◆ operator==()

bool Ms::StaffType::operator== ( const StaffType st) const

◆ physStringToVisual()

int Ms::StaffType::physStringToVisual ( int  strg) const

◆ physStringToYOffset()

qreal Ms::StaffType::physStringToYOffset ( int  strg) const

◆ preset()

const StaffType * Ms::StaffType::preset ( StaffTypes  idx)
static

◆ presetFromXmlName()

const StaffType * Ms::StaffType::presetFromXmlName ( QString &  xmlName)
static

◆ presets()

static const std::vector<StaffType>& Ms::StaffType::presets ( )
inlinestatic

◆ read()

void Ms::StaffType::read ( XmlReader e)

◆ readConfigFile()

bool Ms::StaffType::readConfigFile ( const QString &  fileName)
staticprivate

◆ scheme2name()

QString Ms::StaffType::scheme2name ( NoteHeadScheme  ns)
static

◆ scheme2userName()

QString Ms::StaffType::scheme2userName ( NoteHeadScheme  ns)
static

◆ setDurationFontName()

void Ms::StaffType::setDurationFontName ( const QString &  name)

◆ setDurationFontSize()

void Ms::StaffType::setDurationFontSize ( qreal  val)

◆ setDurationFontUserY()

void Ms::StaffType::setDurationFontUserY ( qreal  val)
inline

◆ setDurationMetrics()

void Ms::StaffType::setDurationMetrics ( ) const
private

◆ setFretFontName()

void Ms::StaffType::setFretFontName ( const QString &  name)

◆ setFretFontSize()

void Ms::StaffType::setFretFontSize ( qreal  val)

◆ setFretFontUserY()

void Ms::StaffType::setFretFontUserY ( qreal  val)
inline

◆ setFretMetrics()

void Ms::StaffType::setFretMetrics ( ) const
private

◆ setGenClef()

void Ms::StaffType::setGenClef ( bool  val)
inline

◆ setGenDurations()

void Ms::StaffType::setGenDurations ( bool  val)
inline

◆ setGenKeysig()

void Ms::StaffType::setGenKeysig ( bool  val)
inline

◆ setGenTimesig()

void Ms::StaffType::setGenTimesig ( bool  val)
inline

◆ setLineDistance()

void Ms::StaffType::setLineDistance ( const Spatium val)
inline

◆ setLines()

void Ms::StaffType::setLines ( int  val)
inline

◆ setLinesThrough()

void Ms::StaffType::setLinesThrough ( bool  val)
inline

◆ setMinimStyle()

void Ms::StaffType::setMinimStyle ( TablatureMinimStyle  val)
inline

◆ setName()

void Ms::StaffType::setName ( const QString &  val)
inline

◆ setNoteHeadScheme()

void Ms::StaffType::setNoteHeadScheme ( NoteHeadScheme  s)
inline

◆ setOnLines()

void Ms::StaffType::setOnLines ( bool  val)

◆ setShowBackTied()

void Ms::StaffType::setShowBackTied ( bool  val)
inline

◆ setShowBarlines()

void Ms::StaffType::setShowBarlines ( bool  val)
inline

◆ setShowLedgerLines()

void Ms::StaffType::setShowLedgerLines ( bool  val)
inline

◆ setShowRests()

void Ms::StaffType::setShowRests ( bool  val)
inline

◆ setShowTabFingering()

void Ms::StaffType::setShowTabFingering ( bool  val)
inline

◆ setSmall()

void Ms::StaffType::setSmall ( bool  val)
inline

◆ setStemless()

void Ms::StaffType::setStemless ( bool  val)
inline

◆ setStemsDown()

void Ms::StaffType::setStemsDown ( bool  val)
inline

◆ setStemsThrough()

void Ms::StaffType::setStemsThrough ( bool  val)
inline

◆ setStepOffset()

void Ms::StaffType::setStepOffset ( int  v)
inline

◆ setSymbolRepeat()

void Ms::StaffType::setSymbolRepeat ( TablatureSymbolRepeat  val)
inline

◆ setUpsideDown()

void Ms::StaffType::setUpsideDown ( bool  val)
inline

◆ setUseNumbers()

void Ms::StaffType::setUseNumbers ( bool  val)
inline

◆ setUserMag()

void Ms::StaffType::setUserMag ( qreal  val)
inline

◆ setXmlName()

void Ms::StaffType::setXmlName ( const QString &  val)
inline

◆ setYoffset()

void Ms::StaffType::setYoffset ( Spatium  val)
inline

◆ showBackTied()

bool Ms::StaffType::showBackTied ( ) const
inline

◆ showBarlines()

bool Ms::StaffType::showBarlines ( ) const
inline

◆ showLedgerLines()

bool Ms::StaffType::showLedgerLines ( ) const
inline

◆ showRests()

bool Ms::StaffType::showRests ( ) const
inline

◆ showTabFingering()

bool Ms::StaffType::showTabFingering ( ) const
inline

◆ small()

bool Ms::StaffType::small ( ) const
inline

◆ spatium()

qreal Ms::StaffType::spatium ( Score score) const

◆ stemless()

bool Ms::StaffType::stemless ( ) const
inline

◆ stemsDown()

bool Ms::StaffType::stemsDown ( ) const
inline

◆ stemThrough()

bool Ms::StaffType::stemThrough ( ) const
inline

◆ stepOffset()

int Ms::StaffType::stepOffset ( ) const
inline

◆ symRepeat()

TablatureSymbolRepeat Ms::StaffType::symRepeat ( ) const
inline

◆ tabBassStringPrefix()

QString Ms::StaffType::tabBassStringPrefix ( int  strg,
bool *  hasFret 
) const

◆ upsideDown()

bool Ms::StaffType::upsideDown ( ) const
inline

◆ useNumbers()

bool Ms::StaffType::useNumbers ( ) const
inline

◆ userMag()

qreal Ms::StaffType::userMag ( ) const
inline

◆ visualStringToPhys()

int Ms::StaffType::visualStringToPhys ( int  line) const

◆ write()

void Ms::StaffType::write ( XmlWriter xml) const

◆ xmlName()

const QString& Ms::StaffType::xmlName ( ) const
inline

◆ yoffset()

Spatium Ms::StaffType::yoffset ( ) const
inline

Friends And Related Function Documentation

◆ TabDurationSymbol

friend class TabDurationSymbol
friend

Member Data Documentation

◆ _durationBoxH

qreal Ms::StaffType::_durationBoxH = 0.0
mutableprivate

◆ _durationBoxY

qreal Ms::StaffType::_durationBoxY = 0.0
mutableprivate

◆ _durationFont

QFont Ms::StaffType::_durationFont
private

◆ _durationFontIdx

int Ms::StaffType::_durationFontIdx = 0
private

◆ _durationFonts

QList< TablatureDurationFont > Ms::StaffType::_durationFonts = QList<TablatureDurationFont>()
staticprivate

◆ _durationFontSize

qreal Ms::StaffType::_durationFontSize = 15.0
private

◆ _durationFontUserY

qreal Ms::StaffType::_durationFontUserY = 0.0
private

◆ _durationGridYOffset

qreal Ms::StaffType::_durationGridYOffset = 0.0
mutableprivate

◆ _durationMetricsValid

bool Ms::StaffType::_durationMetricsValid = false
mutableprivate

◆ _durationYOffset

qreal Ms::StaffType::_durationYOffset = 0.0
mutableprivate

◆ _fretBoxH

qreal Ms::StaffType::_fretBoxH = 0.0
mutableprivate

◆ _fretBoxY

qreal Ms::StaffType::_fretBoxY = 0.0
mutableprivate

◆ _fretFont

QFont Ms::StaffType::_fretFont
private

◆ _fretFontIdx

int Ms::StaffType::_fretFontIdx = 0
private

◆ _fretFonts

QList< TablatureFretFont > Ms::StaffType::_fretFonts = QList<TablatureFretFont>()
staticprivate

◆ _fretFontSize

qreal Ms::StaffType::_fretFontSize = 10.0
private

◆ _fretFontUserY

qreal Ms::StaffType::_fretFontUserY = 0.0
private

◆ _fretMetricsValid

bool Ms::StaffType::_fretMetricsValid = false
mutableprivate

◆ _fretYOffset

qreal Ms::StaffType::_fretYOffset = 0.0
mutableprivate

◆ _genClef

bool Ms::StaffType::_genClef = true
private

◆ _genDurations

bool Ms::StaffType::_genDurations = false
private

◆ _genKeysig

bool Ms::StaffType::_genKeysig = true
private

◆ _genTimesig

bool Ms::StaffType::_genTimesig = true
private

◆ _group

StaffGroup Ms::StaffType::_group = StaffGroup::STANDARD
private

◆ _lineDistance

Spatium Ms::StaffType::_lineDistance = Spatium(1)
private

◆ _lines

int Ms::StaffType::_lines = 5
private

◆ _linesThrough

bool Ms::StaffType::_linesThrough = false
private

◆ _minimStyle

TablatureMinimStyle Ms::StaffType::_minimStyle = TablatureMinimStyle::NONE
private

◆ _name

QString Ms::StaffType::_name
private

◆ _noteHeadScheme

NoteHeadScheme Ms::StaffType::_noteHeadScheme = NoteHeadScheme::HEAD_NORMAL
private

◆ _onLines

bool Ms::StaffType::_onLines = true
private

◆ _presets

std::vector< StaffType > Ms::StaffType::_presets
staticprivate

◆ _refDPI

qreal Ms::StaffType::_refDPI = 0.0
mutableprivate

◆ _showBackTied

bool Ms::StaffType::_showBackTied = true
private

◆ _showBarlines

bool Ms::StaffType::_showBarlines = true
private

◆ _showLedgerLines

bool Ms::StaffType::_showLedgerLines = true
private

◆ _showRests

bool Ms::StaffType::_showRests = false
private

◆ _showTabFingering

bool Ms::StaffType::_showTabFingering = false
private

◆ _small

bool Ms::StaffType::_small { false }
private

◆ _stemless

bool Ms::StaffType::_stemless = false
private

◆ _stemsDown

bool Ms::StaffType::_stemsDown = true
private

◆ _stemsThrough

bool Ms::StaffType::_stemsThrough = true
private

◆ _stepOffset

int Ms::StaffType::_stepOffset = 0
private

◆ _symRepeat

TablatureSymbolRepeat Ms::StaffType::_symRepeat = TablatureSymbolRepeat::NEVER
private

◆ _upsideDown

bool Ms::StaffType::_upsideDown = false
private

◆ _useNumbers

bool Ms::StaffType::_useNumbers = true
private

◆ _userMag

qreal Ms::StaffType::_userMag { 1.0 }
private

◆ _xmlName

QString Ms::StaffType::_xmlName
private

◆ _yoffset

Spatium Ms::StaffType::_yoffset { 0.0 }
private

◆ fileGroupNames

const QString Ms::StaffType::fileGroupNames = { "pitched", "percussion", "tablature" }
staticprivate

◆ groupNames

const char Ms::StaffType::groupNames
staticprivate
Initial value:
= {
QT_TRANSLATE_NOOP("Staff type group name", "Standard"),
QT_TRANSLATE_NOOP("Staff type group name", "Percussion"),
QT_TRANSLATE_NOOP("Staff type group name", "Tablature")
}

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