Commit graph

133 commits

Author SHA1 Message Date
Joachim Schmitz
083fa2f00c fix yet another size_t compiler warning 2019-08-29 12:28:39 +02:00
Joachim Schmitz
842109d4dd fix #290493: Ottava begin and continue text cannot be saved as independent style setting
and use "8va" for ottava bassa if not just number to match the handbook
https://musescore.org/en/handbook/3/octave-lines
and also the 2nd preference from Elain Gould's "Behind Bars":

1. 8
2. 8va
3. 8va bassa
4. 8ba

Note: 8vb is not amongst those...
2019-08-28 17:11:22 +02:00
Marc Sabatella
ea2bc3d85a add spanners except hairpins, also fix fingerings 2019-05-09 22:46:59 -06: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
079b77c074 fix #282433: numbers only not saved 2019-02-18 18:44:15 +00: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
MarcSabatella
4e3dcb87e0 fix #279373: manage default placement for ottavas 2019-01-08 14:20:45 -07:00
ws
c21ed1a244 fix #279962 Ottava 8vb displays as 8va on save/reload 2018-12-18 20:46:18 +01:00
ws
c489ea507a fix #278490 Lines placed above the top staff when single note selected 2018-12-12 14:41:57 +01:00
ws
5e1a949b0b fix #279343 Adding bracket in a system doesn't expand in other systems 2018-12-07 15:06:15 +01:00
ws
a5381618fb fix #278916 Numbers only option has no effect on ottava display 2018-12-05 15:17:48 +01:00
ws
ffdab67a9d fix handling of custom formatted text and values in inspector:
- replace properties "BOLD ITALIC UNDERLINE" by one property FONT_STYLE
- if text is custom fomatted (has size/fontface changes, contains parts in bold/italic etc.
  then the appropriate property values are set to "unstyled". This enables the reset button
  in the inspector.
- pressing reset for some text properties strips changes of this property in the text
  Example: text contains a part in italic: pressing reset removes the italic formatting
- the "remove custom formatting" button is only enabled if there is some custom formatting
2018-11-26 21:17:19 +01:00
Dmitri Ovodok
f42943e90b fix #278722: do not delete spanner segments but reuse them 2018-11-26 01:59:02 +02:00
ws
e122462931 fix #277746 hairpins can't get moved above staff anymore 2018-11-05 11:49:28 +01:00
Dmitri Ovodok
c95dfd5a40 Make it possible to record elements written to MSCX 2018-10-29 16:30:19 +02:00
ws
8bae2fec91 remove unused setYoff() method from Spanner() 2018-10-26 10:41:30 +02:00
ws
96af32eee7 fix regressions: layout of misc. elements 2018-10-25 15:44:21 +02:00
ws
d77183b3bb refactoring of Element::userOff and TextBase::offset 2018-10-18 11:56:23 +02:00
Dmitri Ovodok
c354eb24c3 Remove read300 functions 2018-09-19 01:57:37 +03:00
ws
17a180baea cleanups for spanner segment autoplace 2018-09-12 09:24:02 +02:00
ws
b232149321 remove measure staff shapes, replace with skyline 2018-09-11 16:30:47 +02:00
Dmitri Ovodok
104898195b Read and write spanners using the connectors framework
Remove IDs for spanners
2018-08-16 19:10:28 +03:00
Dmitri Ovodok
8fa920b7df Backup old MSC read functions, add a test for fileformats compatibility
Use old read functions for reading 1.x and 2.x fileformats

Assign version number 3.01 to the new MSCX format flavor
2018-08-16 19:08:45 +03:00
alexandr
13ab878c55 fix #27498 add ability to load ottava in old score
To read ottava from score version 1.14 I implement logic that read old format of ottava like volta already have
2018-08-03 15:14:42 +02:00
ws
8fac795067 rename _subStyle into _elementStyle 2018-08-02 13:27:20 +02:00
ws
10ebbb9080 update text style implementation 2018-08-01 11:46:35 +02:00
ws
10d1ae0529 add method propertyDelegate() to Element 2018-07-24 15:48:24 +02:00
ws
3fc269fc8b update ottava styles and properties 2018-07-11 12:23:42 +02:00
ws
f57973ce7a fix lineWidth for ottava and pedal lines 2018-07-04 15:08:45 +02:00
ws
175d5aadb3 cleanup ElementFlags interface, use more Placement properties on mxml import/export 2018-07-04 12:41:14 +02:00
ws
af29311ec4 remove Element->_readPos 2018-04-30 16:08:25 +02:00
ws
27145ea9b3 fix #271258: Changing 9va-8vb for an Ottava in the Inspector leads to crash 2018-04-13 14:30:54 +02:00
ws
49068ccf6f more updates for properties/styles 2018-03-28 10:43:28 +02:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
ws
2580eb7a69 update for properties/styles 2018-03-27 14:40:45 +02:00
ws
35265cd358 implement new fermata element 2018-01-16 13:38:28 +01:00
Werner Schweer
df237c58c2 fix visual test line-1 2018-01-03 10:00:01 +01:00
Werner Schweer
ef0e2ef0b2 fixes for element initialization 2017-12-27 16:09:27 +01:00
Werner Schweer
d92ef8b9d4 update properties/styles, update glissando 2017-12-13 15:50:04 +01:00
Werner Schweer
6d301fbbf5 update spanner editing 2017-07-26 09:59:34 +02:00
Werner Schweer
24ee3a2482 fix text layout for pedal lines 2017-06-08 15:43:05 +02:00
Werner Schweer
a124bb8dd8 fix text alignment of ottava lines 2017-06-07 11:58:42 +02:00
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00
Werner Schweer
129d508144 move Ottava::Type into OttavaType 2017-03-08 14:18:34 +01:00
Werner Schweer
fa25d23bdc fix deleting measures 2017-02-15 13:59:06 +01:00
Werner Schweer
a53bf1e2c3 some 2xx compatibility fixes 2017-02-09 11:57:10 +01:00
Werner Schweer
fe8a3e5e9c move textline properties to inspector 2017-02-07 18:48:41 +01:00
Werner Schweer
5433d719d9 replace TextStyle by SubStyle 2017-01-16 20:59:21 +01:00
Werner Schweer
0b1aea952f layout for movements 2017-01-05 11:28:45 +01:00