Commit graph

272 commits

Author SHA1 Message Date
Nicolas Froment
4e388f7665 Merge pull request #1114 from BartlomiejLewandowski/29311-selection-extend
Fixed single selection to range selection transition.
2014-08-10 02:05:33 +02:00
Nicolas Froment
cec67e6790 Merge pull request #933 from BartlomiejLewandowski/25852-range-timesig
Range selection ending fix
2014-08-10 01:02:37 +02:00
Bartlomiej Lewandowski
559815b0cd fix #29311 Fixed single selection to range selection transition. 2014-08-10 00:51:01 +02:00
Bartlomiej Lewandowski
2bf14c7cfb Fixed range ending for lasso select. 2014-08-10 00:16:37 +02:00
Bartlomiej Lewandowski
6afa0d74fd fix #25852 Fixed assigning the end of a range selection 2014-08-10 00:16:37 +02:00
ws
16c277158e fix #29101 2014-08-07 19:39:18 +02:00
ws
882598e23d fix #29096 2014-08-07 11:33:05 +02:00
ws
2f8b654ef0 fix #28936 2014-08-05 16:09:14 +02:00
ws
5373c93090 fix #28826 2014-08-05 14:10:22 +02:00
ws
f3548a9d56 fix #25472 2014-07-31 14:12:34 +02:00
Bartlomiej Lewandowski
b325a65f89 Added selection filter class.
Added selection filter object to score.
Added communication between selection window and selection filter.
Added example filtering for dynamics.
2014-07-30 14:47:59 +02:00
lasconic
d6fcb0e4f6 updates notes in all measures, no need to go through mmRest measure, there is no note. Plus, during read, mmRest are not in place yet 2014-07-28 23:38:39 +02:00
ws
e92ecfd2f8 cleanup findCR() 2014-07-27 16:48:05 +02:00
ws
de4737d3dc fix #27926 2014-07-27 16:11:59 +02:00
ws
66fcc1628c fix #28306 2014-07-27 12:39:00 +02:00
ws
f97a8b22c6 cleaner clef/cleflist implementation 2014-07-25 17:13:42 +02:00
Bartlomiej Lewandowski
491b922dce Added subtype filtering in select similar window 2014-07-22 14:54:49 +02:00
ws
17910f7441 remove id from spanner class 2014-07-21 14:28:37 +02:00
ws
a227994dee fix regression & mtest 2014-07-17 18:26:59 +02:00
Nicolas Froment
64a86e75d9 Merge pull request #1019 from Jojo-Schmitz/enum-class
convert as many "enum" as possible to "enum class", and make them ": char" in the due course #7
2014-07-17 14:43:13 +02:00
Bartlomiej Lewandowski
c6c4579628 Added staff start and end to selection pattern 2014-07-16 17:45:21 +02:00
Bartlomiej Lewandowski
b76327c6f9 Refactored common code from measure and score scanElements to segment 2014-07-16 17:44:03 +02:00
Bartlomiej Lewandowski
6f99921b57 Moved selectSimilar methods from MuseScore to Score. 2014-07-16 17:44:03 +02:00
Bartlomiej Lewandowski
40bf7b383b Added scanElementsInRange method to Score 2014-07-16 17:44:03 +02:00
Joachim Schmitz
16e2cef027 turn enum TextStyleType into enum class
not sure why I did shy away from it earlier, guess it was the shere
amount of the changes needed. Not sure it is worth the effort...
2014-07-15 14:23:19 +02:00
ws
a2c0bf6188 fix #26476 2014-07-15 12:49:51 +02:00
Werner Schweer
6520e4b305 Merge pull request #1028 from mgavioli/Fix_27201_Plugin_methods_returning_QObjects
Fix #27201 - PLUGINS: methods returning pntrs to QObject lead to crash.
2014-07-11 17:58:39 +02:00
ws
d59cc84ee2 fix some spanner bugs 2014-07-09 18:05:58 +02:00
Maurizio M. Gavioli
20565e6016 An overlooked details... 2014-07-06 02:14:58 +02: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
2da5273597 fix #22132 2014-07-03 15:02:36 +02:00
Joachim Schmitz
e6e7436177 move SegmentType to Segment::Type and make int again
needed to make it available to the plugin framework
and the memory saved is not worth the performance penalty
2014-06-26 11:57:39 +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
ws
83ead22c35 cleaner implem. for reading ties 2014-06-24 14:45:50 +02:00
ws
87ad7b4f25 SpannerMap key fix 2014-06-24 13:38:05 +02:00
ws
b4066a7976 stronger typing for key 2014-06-20 17:07:22 +02:00
lasconic
c2552502d4 fix selection range when on staff > 1, when reverse selection 2014-06-18 10:17:00 +02:00
Joachim Schmitz
836db56543 fix warnings reg. wrong format specifier 2014-06-17 14:23:15 +02:00
Nicolas Froment
ea51a179cc Merge pull request #945 from BartlomiejLewandowski/selection-refactor-range
Selection refactor range
2014-06-09 16:12:55 +02:00
ws
9bafd84535 fix mtest 2014-06-05 11:57:01 +02:00
ws
9a6d909a29 fix #25945 2014-06-05 11:37:21 +02:00
ws
d5b3159c3d more fixes for instrument change 2014-06-04 10:40:26 +02:00
ws
e8be73f41b fix transposition when changing instrument 2014-06-04 10:40:26 +02:00
ws
b7dd5af499 update KeySig implementation 2014-06-03 15:28:10 +02:00
ws
e1b1246e0c make SegmentType an global enum class 2014-06-01 20:24:29 +02:00
Bartlomiej Lewandowski
3379436ba4 Change range extend to work on measures too. 2014-06-01 11:49:29 +02:00
Bartlomiej Lewandowski
eebd0f9621 Added range extend method. 2014-06-01 11:49:29 +02:00
Bartlomiej Lewandowski
a94263885d Added setRange calls. Changed min max call to qMin qMax. 2014-06-01 11:49:29 +02:00
ws
6edea9fd9e fix mtest & regression 2014-05-31 12:04:41 +02:00
Joachim Schmitz
4bf9d60be1 convert unnamed enum into enum class Pad 2014-05-30 13:37:36 +02:00