addElem simplification
setSLinePlacement simplification
use handleSpannerStart and ...Stop for pedal handling
use handleSpannerStart and ...Stop for hairpin handling
further simplification of direction handling
improved pedal handling, partially fixing #17507
fix #28341
fix #30661: last note of tuplet shortened on paste
Merge pull request #1212 from lvinken/musicxml-fixes

Musicxml fixes
Merge pull request #1214 from MarcSabatella/30661-triplet-copy

fix #30661: last note of tuplet shortened on paste
fix typo and warning on startup
fix #30586, create segments on demand when cloning staves
fix #30671, make link staff undoable when creating parts
fix import of gtp, clefs (GPX) and key sigs (all) were generated on each measure