Commit graph

65 commits

Author SHA1 Message Date
Matt McClinch
c07d2058bb Redesign note input workflow based on Tantacrul's suggestions.
See https://musescore.org/en/noteinput_redesign.

This implements most of the changes Tantacrul suggested in his document, except for the part on Tuplets.
2019-10-15 07:29:17 -04:00
Dale Larson
b05c823912 Fix #291708: Expose PlayEvent's via QML Plugin Note interface.
Adds capablity to examine and modify PlayEvent's and a Note's
playEvents list. Adds access to Chord.playEventType. Also
supports UNDO for these operations.
2019-07-29 13:27:29 -05:00
Dmitri Ovodok
d26bd056de Assign PIDs and names for some properties 2019-03-14 15:13:43 +02:00
Dmitri Ovodok
77bcd39537 Expose enumerations to QML
All enumerations defined directly in Ms namespace had to be moved
to types.h due as Q_NAMESPACE cannot be used multiple times in one
namespace, see https://bugreports.qt.io/browse/QTBUG-68611
2019-01-24 17:42:46 +03:00
Dmitri Ovodok
6ae48c8b32 Extend properties framework for score comparison related needs
This commit adds:
- ScoreElement::propertyId for obtaining property ID by its XML name
  within the context of the respective element
- ScoreElement::propertyUserValue to obtain values of the properties
  in a human-readable representation
2018-10-29 17:04:24 +02:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
Werner Schweer
b46b55fa1e fix ties from/to grace notes; add 'final' to classes were appropriate 2017-12-21 14:08:44 +01:00
Werner Schweer
0e4211e2d0 update let ring, palm mute 2017-11-27 16:55:52 +01:00
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00
Werner Schweer
90b1991912 replace Q_OBJECT with Q_GADGET for all Element based classes 2017-02-17 15:48:28 +01:00
Werner Schweer
88703a3259 interpret custom keys 2017-02-13 12:45:37 +01:00
Werner Schweer
48f2f0897f add parenthesis/bracket to accidental 2017-01-31 17:28:56 +01:00
Werner Schweer
73d097eec6 cleanup some header files 2017-01-19 09:17:21 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Fyrult
f87b20b01e fix #153501: After enharmonic change, double flats stay 2016-12-31 23:34:17 -05:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
lasconic
f8c3049ef6 fix potential crash when drawing beam 2016-10-23 08:22:18 -04:00
lasconic
7e6ec7f192 add Extended Helmholtz-Ellis accidentals (MHD Boston) 2016-10-22 15:32:40 -04:00
lasconic
03237ee332 fix read114 test for accidentals, remove old unused accidentals and replace by naturals. Order accidentals like SMuFL. Add a couple more accidentals. 2016-09-29 15:17:51 +02:00
Werner Schweer
8c18761d3b change accidental file format 2016-09-22 12:02:41 +02:00
Joachim Schmitz
a9829292a1 fix #108206: Add natural sharp and natural flat to accidentals palette
see also https://musescore.org/en/node/108191

Missing: support for these in Emmentaler and Gonville, as well as proper
vtests
2016-09-19 12:33:49 +02:00
ws
492709f203 code cleanups 2016-04-13 11:10:17 +02:00
lasconic
9c9593718d Merge branch 'plugin_manual_classes_E-L' of https://github.com/mgavioli/MuseScore into mgavioli-plugin_manual_classes_E-L 2015-07-13 10:09:25 +02:00
Nicolas Froment
b14c0586b6 Merge pull request #1966 from mgavioli/plugin_manual_classes_A-D
Plugin Manual - Documentation update for classes A-D
2015-07-13 10:07:11 +02:00
ws
64d9689e16 fix compilation without script interface 2015-05-07 11:36:27 +02:00
Maurizio M. Gavioli
2f7b5bfe76 Updates the documentation for classes named from E to L to proposal A) in http://dev-list.musescore.org/Plugin-documentation-generated-manual-td7579164.html
Properties are also sorted in alphabetical order for easier identification.

No attempt made to evaluate what to include and what to exclude from documentation: anything which is currently documented is retained. Case by case decisions can always be made.

Also completed update for `Accidental`.
2015-04-24 00:55:46 +02:00
Maurizio M. Gavioli
38df8d9a8e Plugin Manual - Documentation update for classes A-D
Updates the documentation for classes named from A to D to proposal A) in http://dev-list.musescore.org/Plugin-documentation-generated-manual-td7579164.html

Properties are also sorted in alphabetical order for easier identification.

Note that `enum`s for `Accidental` are not final, as current situation does not seem to work in plug-ins.
2015-04-23 21:06:36 +02:00
ws
01952574e3 add tests for scripting interface 2015-04-03 18:24:12 +02:00
ws
e9222d1b45 move enums Accidental::Role and ::Type 2015-04-03 18:24:12 +02:00
ws
0e0e258f5a fix high pitch accidental calculation (midi 127) 2015-03-31 17:35:19 +02:00
ws
16764d4614 fix #44466: Crash extending volta over mmrest starting a new system + other cleanups 2015-01-19 12:41:16 +01:00
lasconic
be027cd31c fix #40216: Accidental on trill are not displayed anymore 2014-11-29 11:11:19 +01:00
Andrei Tuicu
6460485d3f Score accessibility system.
Provides screen-reader feedback for the selected element.
2014-08-19 00:09:13 +03:00
ws
6d46589c56 fix #29431 2014-08-13 21:01:21 +02:00
Bartlomiej Lewandowski
88ad22a353 Added subtype to accidental 2014-07-22 14:54:49 +02:00
lasconic
3a68b492c5 fix accidental parenthesis in palette by using an icon, it's the same than the note one, added a shortcut to add bracket around note and accidental 2014-07-18 00:11:00 +02:00
ws
d59cc84ee2 fix some spanner bugs 2014-07-09 18:05:58 +02:00
Joachim Schmitz
b6be7a9852 rename AccidentalRole and AccidentalType to Role and Type 2014-06-26 11:57:41 +02:00
Joachim Schmitz
75623c53dc move ElementType to Element::Type
needed to make it available to the Plugin framework
2014-06-26 11:57:35 +02:00
Joachim Schmitz
b5c97a0636 change enum class SymId back to int
the memory saved is not worth the performance penalty
2014-06-26 11:49:07 +02:00
Marc Sabatella
264eee216a fix #22205: microtonal accidentals display as naturals after earlier accidental 2014-06-12 20:13:41 -06:00
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
Joachim Schmitz
7043cdaac5 convert "enum class" to "enum class : char"
or "enum class : signed char" or even "enum class: short", whatever/whenever feasible on all exsting "enum class" that don't have it yet, also fixing some signed vs. unadorned char. This
should reduce the memory footprint.
2014-05-23 10:35:15 +02:00
Joachim Schmitz
6b3bd55258 convert enum AccidentalType to enum class 2014-05-23 10:35:08 +02:00
Joachim Schmitz
7085e52486 convert enum AccidentalRole to enum class 2014-05-23 10:35:07 +02:00
Joachim Schmitz
54ede6a1f6 improve builtin plugin documentation
reformatting, removing some comments that are irrelevant to plugin
framework in a way that DoxyGen should still find them, documenting the
enums and fully qualify all types that are specific to MuseScore,
2014-05-16 13:58:30 +02:00
Joachim Schmitz
27ba0bada7 some purly cosmetic changes
adding semicolons for Q_DECLARE_METATYPE() and
Q_DECLARE_OPERATORS_FOR_FLAGS(), removing semicolons from Q_PROPERTY()
(QtCreator complains about them) and fixing a comment, reformatting for
alignment
2014-05-12 12:28:07 +02:00
ws
733c1934db smufl integration, part I 2013-11-12 09:29:12 +01:00
ws
63fe67a54a fix accidentals for trills 2013-08-30 16:04:01 +02:00
ws
a4bab21d01 fix crash for accidental palette 2013-05-29 21:38:08 +02:00