Merge pull request #939 from mgavioli/Phasing_out_PERC2_and_TAB2_clefs
Removing default usages of the PERC2 and TAB2 clefs.
This commit is contained in:
commit
f7b34054c3
26 changed files with 50 additions and 50 deletions
|
@ -562,7 +562,7 @@ ClefType Clef::clefType(const QString& s)
|
|||
case 16: ct = ClefType::G4; break;
|
||||
case 17: ct = ClefType::F_8VA; break;
|
||||
case 18: ct = ClefType::F_15MA; break;
|
||||
case 19: ct = ClefType::PERC2; break;
|
||||
case 19: ct = ClefType::PERC; break; // PERC2 no longer supported
|
||||
case 20: ct = ClefType::TAB2; break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -495,7 +495,7 @@ StyleData::StyleData()
|
|||
{ StyleIdx::ottavaLineWidth, QVariant(.1) },
|
||||
{ StyleIdx::ottavaLineStyle, QVariant(int(Qt::DashLine)) },
|
||||
{ StyleIdx::ottavaNumbersOnly, true },
|
||||
{ StyleIdx::tabClef, QVariant(int(ClefType::TAB2)) },
|
||||
{ StyleIdx::tabClef, QVariant(int(ClefType::TAB)) },
|
||||
{ StyleIdx::tremoloWidth, QVariant(1.2) }, // tremolo stroke width: note head width
|
||||
{ StyleIdx::tremoloBoxHeight, QVariant(0.65) },
|
||||
{ StyleIdx::tremoloStrokeWidth, QVariant(0.35) },
|
||||
|
|
|
@ -5492,11 +5492,11 @@ StaffTypes MusicXml::xmlClef(QDomElement e, int staffIdx, Measure* measure)
|
|||
clef = ClefType::C1;
|
||||
}
|
||||
else if (c == "percussion") {
|
||||
clef = ClefType::PERC2;
|
||||
clef = ClefType::PERC;
|
||||
res = StaffTypes::PERC_DEFAULT;
|
||||
}
|
||||
else if (c == "TAB") {
|
||||
clef = ClefType::TAB2;
|
||||
clef = ClefType::TAB;
|
||||
res = StaffTypes::TAB_DEFAULT;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -408,8 +408,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -304,8 +304,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -494,8 +494,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<Chord>
|
||||
<lid>3</lid>
|
||||
|
|
|
@ -502,8 +502,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -502,8 +502,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -275,8 +275,8 @@ All Rights Reserved - International Copyright Secured</metaTag>
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<Chord>
|
||||
<lid>3</lid>
|
||||
|
|
|
@ -283,8 +283,8 @@ All Rights Reserved - International Copyright Secured</metaTag>
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -283,8 +283,8 @@ All Rights Reserved - International Copyright Secured</metaTag>
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -492,8 +492,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -560,8 +560,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<Chord>
|
||||
<lid>4</lid>
|
||||
|
|
|
@ -763,8 +763,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -294,8 +294,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -308,8 +308,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -322,8 +322,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -524,8 +524,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<Chord>
|
||||
<lid>3</lid>
|
||||
|
|
|
@ -532,8 +532,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -532,8 +532,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -406,8 +406,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -324,8 +324,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -294,8 +294,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -1778,8 +1778,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<Chord>
|
||||
<lid>4</lid>
|
||||
|
|
|
@ -1458,8 +1458,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>1</lid>
|
||||
|
|
|
@ -3844,8 +3844,8 @@
|
|||
<Staff id="2">
|
||||
<Measure number="1">
|
||||
<Clef>
|
||||
<concertClefType>TAB2</concertClefType>
|
||||
<transposingClefType>TAB2</transposingClefType>
|
||||
<concertClefType>TAB</concertClefType>
|
||||
<transposingClefType>TAB</transposingClefType>
|
||||
</Clef>
|
||||
<KeySig>
|
||||
<lid>3</lid>
|
||||
|
|
Loading…
Reference in a new issue