Commit graph

100 commits

Author SHA1 Message Date
ws
b232149321 remove measure staff shapes, replace with skyline 2018-09-11 16:30:47 +02:00
ws
ca6e5d003e misc. updates for inspector 2018-08-08 14:16:29 +02:00
ws
39c15a51e3 add text aligment properties for text lines in inspector 2018-08-07 17:20:06 +02:00
ws
59d3de0630 change default *_TEXT_PLACE properties for TextLine to PlaceText::LEFT 2018-08-07 16:05:16 +02:00
ws
4db3af42cb fix #274894 Crash if changing 'vertical frame bottom margin' leads to different number of pages 2018-08-06 10:38:28 +02:00
ws
1be753b3a4 fix delete of LetRing and PalmMute; updates for Trill and Hairpin in inspector 2018-08-06 10:38:28 +02:00
ws
10ebbb9080 update text style implementation 2018-08-01 11:46:35 +02:00
ws
528d04335d fix regression: enable dragging of textline and palmmute elements 2018-07-25 14:56:43 +02:00
ws
3fc269fc8b update ottava styles and properties 2018-07-11 12:23:42 +02:00
ws
af29311ec4 remove Element->_readPos 2018-04-30 16:08:25 +02:00
ws
da63ca5804 fix for vtest line-1 2018-03-29 18:57:25 +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
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
5433d719d9 replace TextStyle by SubStyle 2017-01-16 20:59:21 +01:00
Werner Schweer
bb7d535ce5 add score ptr to XmlReader and Xml 2016-11-19 10:31:14 +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
37e2b5e058 fix #120261 2016-08-03 18:03:30 +02:00
werner
b38ac07170 updates for hairpins & dynamics 2016-07-25 12:29:34 +02:00
werner
367f445953 autoplacement for hairpins, pedal lines 2016-07-15 14:07:23 +02:00
werner
1cf20ac90c make dashed lines configurable 2016-06-30 20:22:36 +02:00
werner
073529e737 impl. incremental layout of spanner line segment 2016-06-30 17:27:13 +02:00
lasconic
0ca9081c4e fix warnings in libmscore 2016-06-21 18:56:15 +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
ws
9db0540ad2 fix Spatium/QVariant conversions 2016-04-13 11:35:22 +02:00
lasconic
ab36c06385 fix #72721: don't show invisible lines if 'show invisible' is turned off 2016-02-16 18:30:39 +04:00
Maurizio M. Gavioli
49edb8d0c3 Fixes #19155, #22861 (duplicate of the former) and #23100.
__References__:
Issues:	https://musescore.org/en/node/19155 https://musescore.org/en/node/22861 https://musescore.org/en/node/23100

__Description__:
Allows to change the start and end note to which a glissando is anchored after it has been entered. Either anchor can be changed independently.

The user interface follows the current working of other 'snappable' lines. Once either the start or end grip is selected:
- `[Shift]+[Left]` snaps the anchor to the previous chord, defaulting to its top note.
- `[Shift]+[Right]` snaps to the next chord, defaulting to its top note.
- `[Shift]+[Up]` snaps to the note above (possibly in a chord, voice or staff above the current one).
- `[Shift]+[Down]` snaps to the note below (possibly in a chord, voice or staff below the current one).

This permits to set the anchor points of a glissando to any note in the score, allowing several glissandi between the notes of the same two chords and other complex configurations (glissandi skipping intermediate chords, start and end notes in different voices or staves, and so on).

It is possible to move the anchor to a different staff of the same instrument, but not to a different instrument; also, it is not possible to 'cross' a change of instrument in the same staff.

__Known limitations__:
- The `[Shift]+[Up]` and `[Shift]+[Down]` use the same note-finding functions as the `[Alt]+[Up]` and `[Alt]+[Down]`actions which move the selection cursor to the above and below note, even across voices or staves. Occasionally, in particular if the note immediately above or below is not time-aligned, the algorithm has little expected results; however, the behaviour is already known to the user. Improving the algorithm would benefit both uses.

__Notes__:
- Most of the added infrastructure is not specific to glissando but to any spanner anchored to notes, then it should also add after-the-fact "snap to" note support to note-anchored text line.
- When moving an anchor, the algorithm usually prefers a note in the same voice/staff of the old note if it exists; if there is none, it tries other voices of the same staff.
- The change of anchor is undoable.
- The fix corrects the management of the `Chord::_endsGlissando` flag, taking into account that a chord can be the ending point of several glissandi and removing one of them not necessarily means the chord no longer ends a glissando (another glissando may still exists).
- The fix also improved the rendering of the glissando wavy line, with better alignment with anchor notes and, with glissando text, better text-line spacing.
2015-09-30 09:16:47 +02:00
Marc Sabatella
33671b3605 fix #74951: hairpin appears to remain selected 2015-08-29 08:29:26 -06:00
Marc Sabatella
40e73ade70 add text style type, Inspector settings 2015-08-26 14:20:46 -06:00
Marc Sabatella
04604f5c74 fix #74171: cresc. and dim. lines 2015-08-26 09:31:39 -06:00
Marc Sabatella
42ec49d357 fix #72491: text properties in lines added by double click 2015-08-11 15:05:54 -06:00
Marc Sabatella
5803aa5a55 fix #63481: scale symbols, trill lines, arpeggios, and glissandi with staff size 2015-06-05 14:55:52 -06:00
Marc Sabatella
81751cbac4 fix #63481: text in line does not scale with staff size 2015-06-03 14:59:34 -06:00
ws
892e5887f9 fix #57861 bad import of & in part name 2015-04-27 13:03:52 +02:00
lasconic
1f260b5656 review selection color. Fix #51141 Fix #23845 Fix #49416 2015-03-18 11:40:40 +01:00
Marc Sabatella
777f30c038 fix #40566: add text style for pedal, baseline alignment 2015-02-21 14:52:56 -07:00
ws
56abfd71a5 add lineVisible property to TextLine elements 2014-10-16 11:56:25 +02:00
Marc Sabatella
25f2d6e2e5 fix #35171: allow backwards lines when possible 2014-10-03 14:44:02 -06:00
ws
3f77eba971 fix #9567 2014-08-26 09:21:46 +02:00
Marc Sabatella
cd7d50143e fix #29506: more thorough fixes 2014-08-23 07:53:43 -06:00
Bartlomiej Lewandowski
cbaa128e4d Added comments and spaces 2014-08-15 22:49:59 +02:00
Marc Sabatella
a1dab35dae fix #25896: textline end text not affected by text properties until reload 2014-08-06 14:21:27 -06:00
ws
aa7957ba29 another fix for #25896 2014-08-06 19:18:40 +02:00
ws
d94fb368e7 fix #25896 2014-07-31 17:24:32 +02:00
Bartlomiej Lewandowski
5311a65614 Filter for hairpin, ottava, trill and pedal line. 2014-07-30 14:49:53 +02:00
lasconic
3d4b36e318 fix default position of generic text line 2014-07-28 18:23:13 +02:00
ws
17910f7441 remove id from spanner class 2014-07-21 14:28:37 +02:00