Commit graph

172 commits

Author SHA1 Message Date
Werner Schweer
c89464f8b0 fix quirks while editing slurs in staves > 1 2017-07-05 17:41:47 +02:00
Werner Schweer
90d3a6ff2f rollback text editing behaviour 2017-06-13 17:23:24 +02:00
Werner Schweer
f80caadfe8 misc. layout fixes 2017-06-02 10:28:29 +02:00
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00
Werner Schweer
d435c3e5fc change barline alignment 2017-03-20 18:24:29 +01:00
Werner Schweer
ac3e8dbbc4 fix #180996: bad 2.xx import; compact inspector text panel 2017-03-13 10:25:00 +01:00
Werner Schweer
867f2582f6 move Segment::Type into SegmentType 2017-03-08 13:12:26 +01:00
Werner Schweer
dff05f9d6d fix note head dragging 2017-03-06 11:33:54 +01:00
lasconic
24d192df37 fix #178176: Hang/crash by extending a glissando on a note with another one in the second staff 2017-02-28 16:48:45 +01:00
Werner Schweer
fe8a3e5e9c move textline properties to inspector 2017-02-07 18:48:41 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
5433d719d9 replace TextStyle by SubStyle 2017-01-16 20:59:21 +01:00
Werner Schweer
337e885896 barline changes, part-1 2016-12-28 16:36:59 +01:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
Werner Schweer
6ef95da0d6 first simple implementation of slur autoplace 2016-11-15 16:33:38 +01:00
Werner Schweer
292a8d9cd1 fixes for palette; cleanup drag&drop 2016-10-29 12:33:16 +02:00
Werner Schweer
e7c291942c fix regression: crash during line editing 2016-10-11 18:12:40 +02:00
Werner Schweer
e097ae5ec8 fix custom dash for hairpin, trill and textline 2016-09-22 15:54:39 +02:00
werner
9f57c06f51 fix text layout regressions 2016-09-04 16:17:33 +02:00
werner
55092d78bb fix handling of user modified spanner segments 2016-08-30 17:04:26 +02:00
werner
e5d6ac2c86 fix mtest regression 2016-08-07 11:26:32 +02:00
werner
3d6dfaf883 fix regressions for hairpin+dynamics 2016-07-20 12:45:34 +02:00
werner
e8b3f95fd0 fix layout of cautionary timesig 2016-07-18 15:04:49 +02:00
werner
2de4e0d3f9 mtest updates 2016-07-15 19:57:02 +02:00
werner
367f445953 autoplacement for hairpins, pedal lines 2016-07-15 14:07:23 +02:00
werner
3172717cbb autoplace for volta 2016-07-10 12:00:57 +02:00
werner
5c02629ec3 remove ledgerlines from shape; cleanups 2016-07-03 16:23:11 +02:00
werner
11b4940457 update incremental layout for slurs 2016-07-01 12:42:15 +02:00
werner
01a432202b update incremental layout of spanner line segment 2016-07-01 10:21:28 +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
ZackTheCardshark
cdc82364e4 Fix #100396: change "note heads" to "noteheads"
See http://music.stackexchange.com/questions/42722/notehead-or-note-head

(also correct "fo" to "for" in comment)
2016-05-02 21:22:29 -04:00
ws
b9daf6ed4c rename Segment->shape(int) to Segment->staffShape(int) 2016-04-18 20:27:01 +02:00
ws
2874c409ae specialize MasterScore() from Score() 2016-04-13 11:46:21 +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
9ec1d02471 code cleanups & speed optimizations 2016-04-13 11:18:14 +02:00
ws
dfba52ba77 more regression fixes & cleaups 2016-04-13 11:10:18 +02:00
ws
3d8749ffe9 some regression fixes, code cleanups 2016-04-13 11:08:01 +02:00
ws
9f933d8503 Layout reorganization 2016-04-13 11:05:04 +02:00
Homletmoo
4ea25cd8d9 fix #103176: correct length of volta with mmrests enabled 2016-03-23 21:50:20 +00:00
Marc Sabatella
7645675be1 fix #84206: exclude courtesy signature from volta 2016-03-11 11:36:41 -07:00
Marc Sabatella
01abf78a45 fix #84156: ottava drawn to measure rest with notes in other voices 2016-02-01 22:22:17 -07:00
lasconic
8df88b7f50 fix #93126: Dotted line to anchor when dragging element points off page when in vertical orientation on page >1 2016-01-23 22:21:21 +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
b7c9e15953 fix #68331: line other than ottava should not start at accidental 2015-07-09 13:20:19 -06:00
lasconic
335c3bd36b fix #67001: Crash on opening file with invalid note anchored textline. Also delete note line when start or end note deleted. 2015-06-29 16:20:47 +02:00
Nicolas Froment
fd51063ec1 Merge pull request #1753 from MarcSabatella/46736-spanner-voice-2
fix #46736: spanner end cannot be set to note in voice > 1
2015-02-22 09:36:25 +01:00
ws
12b4b1c097 fix #45581 manual object positioning is incorrect after staff size change 2015-02-20 11:56:13 +01:00
ws
b6767eea68 dont crash on local help if help is not available 2015-02-19 17:29:48 +01:00