Commit graph

102 commits

Author SHA1 Message Date
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
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
Werner Schweer
8ca739b5e7 more style values 2016-11-18 14:29:05 +01:00
Werner Schweer
27b0b767d1 fix #123601 Volta Hook height style setting not applied via double click 2016-09-28 16:06:38 +02:00
werner
e3e2682004 fix #122551 Text line: inability to delete or change the 'Begin' text 2016-08-30 14:03:26 +02:00
werner
3172717cbb autoplace for volta 2016-07-10 12:00:57 +02:00
werner
dc4d3ec4f8 the connection between style and property now depends on element type 2016-07-09 17:07:12 +02:00
werner
073529e737 impl. incremental layout of spanner line segment 2016-06-30 17:27:13 +02:00
werner
216fa4a6cf use ottava shape for system distance calculation 2016-06-16 11:20:22 +02:00
werner
8ec8b50fc8 implement autoplace for ottava 2016-06-15 16:11:17 +02:00
werner
22d16c3615 inspector updates; misc. cleanups 2016-06-09 09:33:19 +02:00
ws
9db0540ad2 fix Spatium/QVariant conversions 2016-04-13 11:35:22 +02:00
ws
bbd802f8ae framework for partial relayout 2016-04-13 11:35:21 +02:00
ws
492709f203 code cleanups 2016-04-13 11:10:17 +02:00
lasconic
d45cc192e5 better fix #68271 2015-10-28 19:43:55 +01:00
Marc Sabatella
40e73ade70 add text style type, Inspector settings 2015-08-26 14:20:46 -06:00
lasconic
92d7e1369a revert commit 6dbdd05a 2015-03-06 13:38:22 +01:00
Maurizio M. Gavioli
4e68502b0f Fix #29986 : Ottavas in TABs - Solution A)
Ottavas are not used in TAB staves, as they do not really make sense in TAB's. Yet, currently ottavas:

- can be dropped on TAB staves
- ottavas added to standard staves are duplicated in TAB staves linked to them

Fix:

- Ottavas cannot be dropped on TAB staves any longer. Attempting to drop an Ottava on a TAB, results in the action being ignored.
- If an `Ottava` is added to a standard staff linked to TAB staves, the standard staff operation is carried over exactly as before, but the Ottava element is not replicated in the TAB linked staff; instead, the actual pitches of corresponding notes in the TAB staff are shifted by the pitchOffset of the Ottava.
- If the `Ottava` span is later edited (in the standard staff, of course), the pitches of the corresponding TAB staff notes are updated accordingly.

Regarding adding ottavas directly to TAB staves, either linked, there is no difference between Solution A) and Solution B): with both, ottavas **cannot** be added to TAB staves.

When TABs are linked to standard staves and ottavas are added to the standard staff, the differences between Solution A) and B) are:

- A) does not create **any** `Ottava` element in TABs; B) creates hidden `Ottava` elements in the linked TAB.
- A) modifies the TAB note pitches to render the ottava effect; B) does not change the stored pitches, only the fretting.

I am not very fond of the hidden `Ottava` trick of Solution B), but that solution seems more in tune with the current code and easier to understand (and maintain). This solution A) seems to me less tricky, but probably less clear to the unaware developer, as each modification of the 'master' `Ottava` has to be cloned into the linked TAB, at the proper place and time with respect to undo/redo machinery.

My 'instinctive' preference is for Solution B), but advice is welcome!
2015-02-25 23:59:41 +01:00
Marc Sabatella
777f30c038 fix #40566: add text style for pedal, baseline alignment 2015-02-21 14:52:56 -07:00
ws
24419cbf95 fix #45961 Adding measures does not mark the file as changed 2015-02-03 13:42:37 +01:00
ws
822aa31be3 cleanup for score dirty status 2015-02-02 10:54:48 +01:00
ws
27267b09f4 fix #22695: Text ottava changes to symbol after reset 2014-12-02 18:47:38 +01:00
Marc Sabatella
eb52afec85 fix #36446: ottava numbers only property not read in inspector 2014-10-12 11:38:02 -06:00
Marc Sabatella
dbae0e1928 34586: placement ignored for ottava in Inspector 2014-10-10 14:00:02 -06:00
Andrei Tuicu
c3ff25358b fix 30281
Fix readability
Optimize string allocation
	modified:   libmscore/accidental.cpp
	modified:   libmscore/ambitus.cpp
	modified:   libmscore/articulation.cpp
	modified:   libmscore/barline.cpp
	modified:   libmscore/chord.cpp
	modified:   libmscore/chordline.cpp
	modified:   libmscore/chordrest.cpp
	modified:   libmscore/dynamic.cpp
	modified:   libmscore/fingering.cpp
	modified:   libmscore/hairpin.cpp
	modified:   libmscore/harmony.cpp
	modified:   libmscore/jump.cpp
	modified:   libmscore/keysig.cpp
	modified:   libmscore/marker.cpp
	modified:   libmscore/measure.cpp
	modified:   libmscore/note.cpp
	modified:   libmscore/ottava.cpp
	modified:   libmscore/rest.cpp
	modified:   libmscore/score.h
	modified:   libmscore/tempotext.cpp
	modified:   libmscore/text.cpp
	modified:   libmscore/timesig.cpp
	modified:   libmscore/tremolo.cpp
	modified:   libmscore/trill.cpp
	modified:   libmscore/volta.cpp
	modified:   mscore/scoreaccessibility.cpp
2014-08-21 20:33:11 +03:00
Andrei Tuicu
6460485d3f Score accessibility system.
Provides screen-reader feedback for the selected element.
2014-08-19 00:09:13 +03:00
ws
01ebb2e443 fix #29736 2014-08-18 11:33:28 +02:00
Bartlomiej Lewandowski
cbaa128e4d Added comments and spaces 2014-08-15 22:49:59 +02:00
ws
9e93f15037 fix #29511 2014-08-13 15:42:55 +02:00
Bartlomiej Lewandowski
5311a65614 Filter for hairpin, ottava, trill and pedal line. 2014-07-30 14:49:53 +02:00
lasconic
e7a782ed83 Ottava position is lost between save and reload 2014-07-28 18:25:12 +02:00
ws
17910f7441 remove id from spanner class 2014-07-21 14:28:37 +02:00