Commit graph

171 commits

Author SHA1 Message Date
Howard-C
c876cbe4a6 String fix regarding the alternate beaming style of minim tremolos
- "Beam style" -> "Stroke style"
- "All lines attached to stem" -> "All strokes attached to stems"
2020-04-17 15:55:13 +08:00
anatoly-os
887f745b20
Merge pull request #5332 from mattmcclinch/294542-notehead-scheme
fix #294542: Allow setting notehead scheme on a note-by-note basis in the Inspector
2020-04-15 00:15:52 +03:00
Matt McClinch
4c0db9b19b fix #294542: Allow setting notehead scheme on a note-by-note basis in the Inspector
Resolves: https://musescore.org/en/node/294542.

Up until now, notehead scheme has only been a StaffType property. If a Note is going to have its own notehead scheme, it seems fitting to do a bit of reorganization. Here is a summary of the changes made:
- Moved enum class NoteHeadScheme to NoteHead::Scheme, alongside NoteHead::Group and NoteHead::Type.
- Added HEAD_AUTO as a possible value for NoteHead::Scheme.
- Moved scheme2userName(), scheme2name(), and name2scheme() from class StaffType to class NoteHead.
- Renamed Pid::STAFF_NOTEHEAD_SCHEME to Pid::HEAD_SCHEME. This change is reflected in the Plugin API, with Element property staffNoteheadScheme being renamed to headScheme. This should not break too many existing plugins, because the NoteHeadScheme enum values have never been exposed until now. Speaking of which,
- Exposed the NoteHead::Scheme enum values to the Plugin API as NoteHeadScheme.HEAD_AUTO, etc. And finally, (and the main point of all of this):
- Added a property of type NoteHead::Scheme to class Note, and exposed it via the Inspector. If set to HEAD_AUTO (the default), the StaffType’s noteHeadScheme will be used. Otherwise, this will override the StaffType’s noteHeadScheme.
2020-04-14 10:26:09 -04:00
Howard-C
9cde80bd56 Initial implementation of "all lines attached to stem" beam style of tremolo 2020-04-14 16:54:19 +08:00
Peter Hieu Vu
86a4e7b105 Added basic chord symbol realization 2020-03-19 13:52:39 +02:00
Dmitri Ovodok
7012eb7254
Merge pull request #5500 from Howard-C/prefer-sharp-flat
fix #288495: allow user to select flats or sharps for enharmonic key signatures
2020-03-17 10:26:55 +02:00
Howard-C
a433a743ee Enable proper undo for preferSharpFlat property 2020-02-12 21:07:14 +08:00
James Thistlewood
50bb690f6f migrate hairpin dynamics and VeloList to more generic ChangeMap 2020-01-26 17:19:21 +00:00
Dmitri Ovodok
8ac7d265dc fix #299522: fix undoability of edit mode changes for Tuplet, ChordLine, Image 2020-01-10 14:55:21 +02:00
Howard-C
b8ad6741ac move Section Break Properties into Inspector 2019-11-11 02:07:05 +08:00
anatoly-os
ca3eb206cc
Merge pull request #5246 from MarcSabatella/chord-symbol-format
expansion of chord symbol formatting
2019-08-30 20:26:59 +02:00
Joachim Schmitz
1b7d2658f4 Fix #271505: Allow user to set mode along with key signature
for MusicXML im- and export of all possible key signatur modes
2019-08-28 18:56:13 +02:00
Marc Sabatella
6ef78fbef5 add support for Roman numeral analysis & Nashville notation 2019-08-27 08:53:38 -06:00
Joachim Schmitz
a53bac4711 replace slashStyle with stemless
and all related things along with it, including a compatibility layer
2019-08-19 15:07:30 +02:00
Dmitri Ovodok
54ffcc5017 Implement styleable tremolo placement property, add it to Inspector 2019-06-10 14:23:50 +02:00
Dmitri Ovodok
af7b8890ab Assign PIDs to more properties 2019-06-07 14:22:39 +02:00
James Thistlewood
fb2afc8ae1 add chord symbol support for fret diagrams and some small read/write fixes 2019-05-21 21:50:46 +01:00
Marc Sabatella
ef300d1cea implement minDistance per element 2019-05-09 22:46:58 -06:00
Marc Sabatella
e3d7986b22 working other than some undo glitches 2019-05-09 22:46:58 -06:00
Marc Sabatella
cf52824b67 remove ABS_OFFSET property + collect_artifacts 2019-05-09 22:46:58 -06:00
Marc Sabatella
77f908bc58 allow autoplaced elements to cross into skyline 2019-05-09 22:46:58 -06:00
James Thistlewood
40cef95299 Refactor fret diagrams
fix #284966
fix #283759
fix #283678
fix #283676
fix #283674
fix #283452
fix #275658
fix #265324
fix #285616
fix #285613
fix #280575
fix #283762
fix #283679
2019-05-02 19:05:01 +01:00
Dmitri Ovodok
d26bd056de Assign PIDs and names for some properties 2019-03-14 15:13:43 +02:00
Dmitri Ovodok
7177cf8203 Extract propertyToString and propertyToString 2019-03-14 15:11:40 +02:00
James Thistlewood
459049b5c4 Add single-note dynamics 2019-03-02 18:18:12 +00:00
James Thistlewood
43b1d5f050 fix #282404: line colour not saved 2019-02-18 12:08:42 +00:00
Dmitri Ovodok
568176a913 Remove unused Part playback properties 2019-02-08 16:34:51 +03:00
Dmitri Ovodok
ea81a9338c Add a new QML plugins API
- Move Qml plugin engine out of libmscore
 - Add Pid::TICK handling to Element class
 - Make tick QML property correspond to absolute tick in all contexts
     That is a temporary solution though, a proper solution would
     require revising Pid::TICK handling
 - Move plugins API to api directory
 - Rename ElementW -> Element (PluginAPI namespace)
 - Remove Qt meta-object macros from Score in libmscore
 - Remove string-based access to properties from QML
 - Remove unused functions from Note
 - Rename QML properties names to camel case
     Two reasons:
       - They were named so in MuseScore 2.X.
       - Using underscored_names is less consistent with MuseScore
         coding style.
2019-01-24 17:36:05 +03:00
ws
fd4df4e49a fix small typos 2018-11-27 10:32:52 +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
0bf8e1beb0 Make properties names translatable 2018-10-29 17:32:48 +02:00
Dmitri Ovodok
70d836713a Make it possible to write voice and position for handling them in score diff 2018-10-29 16:32:31 +02:00
Dmitri Ovodok
b5e2514519 Add properties used in <location> tag to the common properties system 2018-10-29 16:30:19 +02:00
Dmitri Ovodok
fa1cf0abe0 Possibility to find property ID by its name, not only qml name 2018-10-29 16:30:18 +02:00
ws
6dbff17ca7 fix compat114 issues 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
Joachim Schmitz
406d97def2 link playback related propertes, unlink one layout property
see https://musescore.org/en/node/274144
2018-08-08 10:10:10 +02:00
ws
10ebbb9080 update text style implementation 2018-08-01 11:46:35 +02:00
ws
2934f93142 new style value frameType replacing hasFrame, circle, square 2018-07-26 13:14:06 +02:00
ws
fab478d131 fixes and updates for chord names 2018-07-16 14:35:19 +02:00
ws
a39ef47ee4 remove P_TYPE::TEXT_STYLE 2018-04-12 18:32:30 +02:00
ws
a819eb6ae9 fix #139271: some Radio buttons in General Style do not switch 2018-04-11 12:19:50 +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
6969419cfc update subStyle implementation 2018-03-21 14:05:43 +01:00
ws
01da75509f update properties&styles 2018-03-15 11:52:34 +01:00
Werner Schweer
d92ef8b9d4 update properties/styles, update glissando 2017-12-13 15:50:04 +01:00
lasconic
e356a89e51 update for vibrato, it's now a first class Element. GPX import test for vibrato. 2017-11-30 13:25:25 +01:00
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00