Commit graph

113 commits

Author SHA1 Message Date
anatoly-os
960047dd53
Merge pull request #4916 from MarcSabatella/287662-transpose-key
fix #287662: transpose keys
2020-04-28 14:48:50 +03:00
Igor Korsukov
a2bfb02954 fix #292631 fixed spanners (glissandos) layout 2020-03-26 16:41:36 +02:00
Marc Sabatella
af8032870b fix #287662, fix #286058: transpose keys 2020-03-19 12:24:54 -06:00
joshwd36
3130bcd26d Change structure of warnings, key signatures, and clefs to remove pointers between them and instrument changes 2020-03-18 18:26:09 +02:00
Howard-C
9c7e98145c fix #297738: "generate key signatures" in staff type change does not work
`staff()->genKeySig()` always checks for `Fraction(0, 1)` while `staff()->staffType(tick())->genKeysig()` checks for the property at the exact tick.

The patch also fixes the `StaffType` generation of tablature staves, making `genKeysig` default (and always) to false.
2019-12-26 16:39:43 +08:00
Howard-C
16ea17b8ba fix layout of key signature inspector
Removed an unnecessary horizontal layout and put all widgets in a single panel layout.
2019-12-24 21:30:23 +08:00
Dmitri Ovodok
99c7b0d746 Add more information to setLayout() 2019-10-25 16:18:41 +02:00
Joachim Schmitz
1b7d2658f4 Fix #271505: Allow user to set mode along with key signature
for MusicXML im- and export of all possible key signatur modes
2019-08-28 18:56:13 +02:00
Matt McClinch
e1499eb7e8 fix #288865: Moving a key signature with Ctrl + Shift crashes the program 2019-05-07 13:14:17 -04:00
Marc Sabatella
6b7f33ec64 fix #278999, fix #288474: autoplace customization 2019-05-01 07:52:11 -06:00
Dmitri Ovodok
d26bd056de Assign PIDs and names for some properties 2019-03-14 15:13:43 +02:00
James Thistlewood
99b57846b6 fix build error with keysigs 2019-02-18 18:22:28 +00:00
anatoly-os
aa89ac0703
Merge pull request #4669 from MarcSabatella/280390-keysig-transpose
fix #280390: spurious keychange on each system on transpose
2019-02-18 20:16:41 +02:00
ws
ec3be9a99a Replacd integer midi tick values by fractions.
- tick names a position on the time axis
- tick is always a Fraction()
- only Measure() and Segment() (and Tuplet?) have a tick value
- tick() for an generic element return only a sensible value if isMeasure() or isSegment() or isSegment(parent())

- "ticks" names a duration stored in a Fraction()
- the tick value for an Segment is relative to its measure

- rename "duration" to "ticks"
- rename afrac() to tick()
- rename rfrac() to rtick()
- rename some variables, changing "fraction" into "tick"
  (example: actualFraction() into actualTicks())

- Lyrics ticks are written as Fraction, on read if xmlreader sees a "/" it reads a fraction
  else midi ticks for backwards compatibility
2019-02-18 11:46:05 +01:00
Marc Sabatella
efe3fcfe88 fix #280390, fix #284100: spurious key signatures 2019-02-15 13:27:13 -07:00
anatoly-os
bab29bf4e9
Merge pull request #3694 from mattmcclinch/272887-midmeasure-clef
fix #272887: Unable to add mid-measure clef on the first tick of a measure
2019-02-15 16:59:18 +02:00
Joachim Schmitz
a4c491bd2a fix #281028, fix #280842, fix #280470, fix #281369 and some more text fixes
* Change sharps, flats and naturals to their unicode counterparts
* Fix #281028: remove superfluos double spaces
* Add missing "the"
* Fix #280842: change [Tablature] to (Tablature) for instruments
* fix #280470: Inconsistent reference to menu entry navigation
* Translate MusicXML import error message prefix
see https://musescore.org/en/node/281133
* Improve message on importing pre-3.0 scores
and also enabling it for pre-2.0 scores
* Fix #281369: Ottava bassa shows as "8vb", while 15ma and 22ma is used
for alta and bassa
see also PR #4547
Clefs were having the same issue, so changed those too
* Improve one text in Preferences > I/O and remove another
as that is no longer true
* Yet another ellipsis
2019-01-11 15:15:25 +01:00
anatoly-os
486c90c23e
Merge pull request #4408 from dmitrio95/278975-section-break-keysig
fix #278975: rewrite the condition for showing naturals on keysig change
2018-12-18 17:25:24 +02:00
MarcSabatella
bedf24cbf6 fix shape of key signatures 2018-12-16 22:30:35 -07:00
Dmitri Ovodok
80a1003283 fix #278975: rewrite the condition for showing naturals on keysig change 2018-12-15 16:04:30 +02:00
Joachim Schmitz
1bf01544d9 fix/add/remove more strings 2018-11-30 11:28:36 +01:00
Matt McClinch
6df5c1c9aa Fix #272887: Unable to add mid-measure clef on the first tick of a measure 2018-11-14 12:06:16 -05:00
ws
d2e452040b fix #278099 Crash when inserting a symbol from master palette 2018-11-13 13:32:33 +01:00
Dmitri Ovodok
c95dfd5a40 Make it possible to record elements written to MSCX 2018-10-29 16:30:19 +02:00
Dmitri Ovodok
f919c65239 fix #276397: add a missing check for staff presence in KeySig::layout
Replace also segment()->tick() calls with more safe KeySig::tick()
calls in KeySig::layout
2018-10-16 20:57:12 +03:00
Joachim Schmitz
f7685e28c1 Fix some warnings C4456 and C4458 2018-08-17 15:06:15 +02:00
ws
175d5aadb3 cleanup ElementFlags interface, use more Placement properties on mxml import/export 2018-07-04 12:41:14 +02:00
Matt McClinch
4c8dbaa9fc fix #268122: Missing naturals when switching key 2018-05-03 21:26:04 -04:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
Werner Schweer
1943bd1ff1 replace most static_cast in libmscore 2017-12-20 16:49:58 +01:00
divya-urs
28d4e39b05 accessibility: nextElement and prevElement 2017-07-13 23:52:00 +05:30
Bernhard Landauer
2c96e2f9d5 mark fallthrough instances as intentional
- quieting warnings of newer compilers
2017-06-15 15:27:25 +02:00
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00
Werner Schweer
867f2582f6 move Segment::Type into SegmentType 2017-03-08 13:12:26 +01:00
Werner Schweer
90b1991912 replace Q_OBJECT with Q_GADGET for all Element based classes 2017-02-17 15:48:28 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
337e885896 barline changes, part-1 2016-12-28 16:36:59 +01:00
Werner Schweer
660b393b98 change StaffType interface 2016-12-14 15:44:24 +01:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
werner
22d16c3615 inspector updates; misc. cleanups 2016-06-09 09:33:19 +02:00
ws
c1195e87fd system header layout test (vtest layout-6) + fixes 2016-04-20 18:56:08 +02:00
ws
2874c409ae specialize MasterScore() from Score() 2016-04-13 11:46:21 +02:00
ws
bbd802f8ae framework for partial relayout 2016-04-13 11:35:21 +02:00
ws
eb279e5e8a misc. layout fixes 2016-04-13 11:20:05 +02:00
ws
9ec1d02471 code cleanups & speed optimizations 2016-04-13 11:18:14 +02:00
ws
492709f203 code cleanups 2016-04-13 11:10:17 +02:00
ws
9f933d8503 Layout reorganization 2016-04-13 11:05:04 +02:00
lasconic
bf3ca4d273 Merge branch '2-3-line' of https://github.com/MarcSabatella/MuseScore into MarcSabatella-2-3-line
On branch MarcSabatella-2-3-line
2015-10-28 12:41:40 +01:00
ws
6f2cf4c2c1 fix build for gcc 5.2 2015-10-27 11:30:09 +01:00
Marc Sabatella
2e7e27b715 support scaled or non-scaled line distances 2015-09-01 13:42:17 -06:00