Commit graph

40 commits

Author SHA1 Message Date
Werner Schweer
867f2582f6 move Segment::Type into SegmentType 2017-03-08 13:12:26 +01: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
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
Werner Schweer
4e0b0dbae0 update layout code 2016-10-20 11:32:17 +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
Jason Leung
d327b29922 Fixed #15899: update MusicXML figured bass export/import
Updated figured bass export and import according to the MusicXML 3.0 specification. Specifically, the following features were changed/added:
- Figures held over multiple notes are no longer treated as prolonged durations, but exclusively as extension lines (is backward compatible).
- Extend tags now specify type: <extend type="..." />
- Changing figures under a single note can now be exported and imported, utilizing the duration tag.
- The "cross" and "backslash" modifiers can now be exported and imported as prefix or suffix tags.

Also added test files.
2015-02-16 19:04:35 -05:00
ws
16764d4614 fix #44466: Crash extending volta over mmrest starting a new system + other cleanups 2015-01-19 12:41:16 +01:00
Maurizio M. Gavioli
d11f1b118b Fixes the following Q_INVOKABLE methods returning a QObject* by turning them into a property:
- Measure:
-- firstSegment
-- lastSegment
- MeasureBase:
-- nextMeasure
-- nextMeasureMM (new)
-- prevMeasure
-- prevMeasureMM (new)
- Score:
-- firstMeasure
-- firstMeasureMM (new)
-- (for firstSegment(), see special cases below)
-- lastMeasure
-- lastMeasureMM (new)
-- lastSegment

- Segment:
-- next (renamed from `next1`)
-- nextInMeasure (renamed from `next`)
-- prev (renamed from `prev1`)
-- prevInMeasure (renamed from prev)

Special cases:

- Cursor: The prototype of the `Q_INVOKABLE Ms::Note* Cursor::addNote(int pitch)` was wrong: corrected in `Q_INVOKABLE void Cursor::addNote(int pitch)`.
- QmlPlugin: `Q_INVOKABLE Score* QmlPlugin::readScore()` and `Q_INVOKABLE Score* QmlPlugin::newScore()` has been kept, as they are intended to be called from QML; code has been added to ensure the C++ ownership of the returned object.
- Score: `Q_INVOKABLE Segment* Score::firstSegment(Segment::Type segType)` is kept (as it needs a parameters), but code is added to ensure C++ ownership of the returned Segment*.
- Segment: `Ms::Element* Segment::element(int track)` has been made NOT Q_INVOKABLE; a variant `Q_INVOKABLE Ms::Element* elementAt(int track)` has been added specifically for QML with code to ensure the C++ ownership of the returned Element* (this was the cause for the crash of the Walk plug-in).
- FiguredBass: `Q_INVOKABLE Ms::FiguredBassItem* FiguredBass::addItem()` has been removed; plugin interface for FiguredBass needs to be redesigned anyway.

The few occurrences in the supplied plug-ins of the methods whose names did change have been updated.
2014-07-06 01:56:30 +02:00
ws
b70f9b8766 partial fix for #23324 2014-06-27 14:03:17 +02:00
Joachim Schmitz
38a16b115b some cosmetic changes to plugin documentation 2014-06-26 11:57:52 +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
d8d3e8e185 convert enum Combinations into enum class
and renamed to to Combination (singular)
2014-05-23 11:45:32 +02:00
Joachim Schmitz
63791d7fff convert enum Styles to class enum
and renamed to to Style (singular).
Fixed a leftover plugin documentation from last commit.
2014-05-23 10:35:34 +02:00
Joachim Schmitz
c38ac8c0a2 convert enum ContLine into enum class 2014-05-23 10:35:33 +02:00
Joachim Schmitz
d3122969b7 convert enum Parenthesis into enum class 2014-05-23 10:35:32 +02:00
Joachim Schmitz
89cb436ce2 convert enum Modifier into enum class 2014-05-23 10:35:30 +02:00
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +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
lasconic
101a7e46b3 expose ContLine in figuredbass 2014-05-12 11:12:56 +02:00
Maurizio M. Gavioli
765751fea8 Refactor FiguredBass class
Refactor FiguredBass to use a std::vector<FiguredBassItem*> rather than QList<FiguredBassItem>
2014-04-21 00:46:40 +02:00
Maurizio M. Gavioli
0a05faddb5 Fix #25060 - Fix FiguredBass creating, editing and displaying.
After the recent changes to Text styling and editing, FiguredBass has been broken. This patch attempts to fix it.

As the current Text in-place editor insists in inserting spurious (and sometime wrong) HTML markup and styling which jeopardize the parsing of FiguredBassItem's, I have modified the FiguredBass endEdit() callback function to discard all HTML and keep only the plain text.

This may reduce the flexibility of entering extra indications in FiguredBass elements, but ensure that properly structured texts are parsed and recognized.

The patch also corrects two points in text.cpp which forced extra HTML formatting to be inserted.
2014-03-28 10:57:42 +01:00
lasconic
cf0d56d965 fix #21819: Q_INVOKABLE needs namespace declaration, better fix for #21812 2013-07-13 18:41:16 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
ws
220db94494 reorganize synthesizer; add zita1 reverb 2013-04-03 12:50:21 +02:00
Maurizio M. Gavioli
ee201f4618 Figured bass: Continuation lines end right after the last ChordRest of the FiguredBass element.
Previously, they were drawn for the whole duration of the FiguredBass element (stopping right before the next segment).
2013-03-01 13:42:05 +01:00
Maurizio M. Gavioli
ee3de10b8d Added an extended continuation line, which connects with a matching cont. line in the next F.b. element.
Occasionally required in Baroque scores and in modern figured-bass-like harmonic analysis.
2013-02-12 16:28:55 +01:00
Maurizio M. Gavioli
74868e2c00 Figured Bass: add top/bottom alignment parameter to General Style 2013-02-10 19:29:26 +01:00
Maurizio M. Gavioli
92f974b844 Accept '+' as both a prefix and a suffix, to accommodate harmony notation.
Also, added '0' (with usual suffix combination) to font and to acceptable digits.
2013-02-10 07:01:31 +01:00
ws
8fbfa094b1 enable musicxml support, move needed xml functions to musicxml code 2013-01-17 11:33:11 +01:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Leon Vinken
1fa8c4109a #15899: support figured bass extend elements 2013-01-01 16:23:24 +01:00
Maurizio Gavioli
7ab02dcc7c FiguredBassItem properties: completed 2012-08-14 15:00:48 +02:00
Maurizio Gavioli
b0b5cdc374 FiguredBassItem properties again 2012-08-11 01:15:22 +02:00
Maurizio Gavioli
ddce5e5b61 FiguredBassItem properties 2012-08-10 20:52:19 +02:00
Maurizio Gavioli
3fb7bc3d9a FiguredBass script properties (work in progress) 2012-08-10 01:26:50 +02:00
Maurizio Gavioli
04c68165ca Source cleanup 2012-08-02 19:21:04 +02:00
Werner Schweer
3d91e61ef4 More plugin bindings 2012-07-25 11:49:34 +02:00
Werner Schweer
5182c9e085 derive Element from QObject; add Q_OBJECT into every Element class 2012-05-28 11:29:21 +02:00
Werner Schweer
1f9ccfcdce add libmscore
git-subtree-dir: libmscore
git-subtree-mainline: 412ca45401
git-subtree-split: 6047361bd0
2012-05-26 14:54:47 +02:00