Commit graph

45 commits

Author SHA1 Message Date
ws
2f8b654ef0 fix #28936 2014-08-05 16:09:14 +02:00
ws
c5671c8359 fix #28656 2014-08-02 09:48:59 +02:00
ws
4e426c4808 implement 'never hide' flag for staff 2014-07-31 18:46:58 +02:00
ws
f7bea5e267 fix #28471 2014-07-29 15:56:43 +02:00
ws
f97a8b22c6 cleaner clef/cleflist implementation 2014-07-25 17:13:42 +02:00
ws
a2c0bf6188 fix #26476 2014-07-15 12:49:51 +02:00
ws
b4066a7976 stronger typing for key 2014-06-20 17:07:22 +02:00
ws
b7dd5af499 update KeySig implementation 2014-06-03 15:28:10 +02:00
Joachim Schmitz
cde0a3910d convert enum StaffGroup into enum class 2014-05-30 13:37:28 +02:00
Joachim Schmitz
0533e643e7 convert enum BracketType into enum class 2014-05-26 22:25:34 +02:00
ws
085492df90 fix #17535 2014-05-21 20:08:50 +02:00
Joachim Schmitz
fcbc3e21c2 leftover improvements to plugin documentattion... 2014-05-16 15:58:57 +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
ws
02d0fcca12 fix #25646 2014-05-08 17:59:24 +02:00
ws
2f85f8e007 fix #23006 2014-05-03 11:37:12 +02:00
ws
f9059a269b remove stafftype subclasses 2014-04-30 13:39:16 +02:00
lasconic
53bbb8f071 fix #24041: Pitches incorrect after inserting measures before key signature/clef change 2013-12-28 16:58:06 +01:00
Maurizio M. Gavioli
c309b21a5a Added colour property to the lines of a staff.
Colour is set with a colour box in the Staff Properties dialogue box.
2013-10-26 13:47:05 +02:00
lasconic
008c5bbbe2 various fix for slurs, slurs no more possible between linked staves and staves in different parts 2013-10-10 15:41:25 +02:00
Maurizio M. Gavioli
3ed3546e76 Rename Tablature class to StringData
Refactoring the following names:

Classes:
Tablature => StringData

Member variables and methods:
Instrument::tablature() => stringData()
Instrument::setTablature() => setStringdata()
InstrumentTemplate::tablature => stringData
InstrumentData::_tablature => _stringData
InstrumentData::tablature() => stringData()
InstrumentData::setTablature() => setStringData()

There is no change in logic or program behaviour, only renaming.
2013-09-15 18:43:48 +02:00
ws
517627a21f update clef implementation 2013-09-05 16:38:04 +02:00
Maurizio M. Gavioli
073cfec588 Re-factor presets and staff types.
1) Built-in staff types have been removed.

2) Presets are internally used as source for the staff types of a new score, to match data in Instruments.xml and as reference to check for modifications.

3) Each new score is given by default one staff type for each preset with the same name.

4) The Instrument page of the New Score Wizard lists (under the name of "Staff types") the default staff types applicable to the instrument (actually it lists the preset, as the score does not have any staff type yet).

5) The "Add | Instruments" dlg box lists all the staff types applicable to the instrument: = to the list of 4) + any user-created staff type.

6) The Staff Properties dlg box lists all the staff types applicable to the instrument: = list in 5)

7) The Staff Type Editor lists all the staff types

This should ensure consistency among the several lists of staff types and avoid duplication of similar items

Terminology:

7) A new staff type created in the editor is named by default with the group name ("Standard-", "Perc-", "Tab-") + the index of the new type in its group + the suffix "[*]" marking a user customisation. The user is anyway able to rename it, if he want.

8) The pitched staff type has been renamed everywhere (hopefully!) to "Standard"

9) The term 'preset' have been removed from the UI, except from the Staff Type Editor where it keeps its meaning of ready-made collections of parameters

The commit affects many files, but a fair number of them have only changes in names of literals. The files with significant code changes are:
libmscore/score.cpp
libmscore/stafftype.cpp/.h
mscore/editstafftype.cpp (code for naming a new staff type)
mscore/instrdialog.cpp (building type list)

Note: as score files store staff type indications as integer indices and the number and order of new default staff types is different from the old built-in types, there is a compatibility issue with old 2.0 score which use percussion and tab staves. In Score::read() (libmscore/scorefile.cpp), there is a rudimentary attempt to cope with this.Old scores will need manual fix anyway. There should not be any (new) compatibility issue with 1.x scores, as they did not use staff types.
2013-08-18 11:55:31 +02:00
ws
58c07cc8e3 fix #21835 2013-07-16 09:03:47 +02:00
ws
71d39e6ffe fixes for timesig & more... 2013-06-25 10:41:42 +02:00
lasconic
5d482a071c fix #21625: key signature and ledger lines in staff type don't work 2013-06-22 10:55:22 +02:00
ws
c4072fce7c fix #21221 2013-05-28 15:42:16 +02:00
Maurizio M. Gavioli
c22aca988c Merge pull request #339 from mgavioli/Fix_20703_keysig_changes_lack_naturals_ter
Fix #20703 - Key sig changes lack naturals (3rd solution)
2013-05-17 14:54:21 -07:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
Maurizio M. Gavioli
b0e4330de7 Fix #20703 - Key sig changes lack naturals (3rd solution)
When a key sig changes, no natural is ever displayed, regardless of the "Hide naturals" property of the key sig.

Corrected by:
- adding methods to KeySig to locate the prev and next key sigs and update naturals accordingly when a key sig is added or removed
- in Score::addElement(), Score::removeElement() and undo's ChangeElement::flip() by calling the relevant KeySig method

Notes:
1) Covers updating naturals in following key sigs, if a previous key changes.
2) Fully integrated in undo
3) The fix is already predisposed to cope with a score style setting for natural display style: none, before, after accidentals. Until this style is implemented, the relevant code is commented out.
2013-05-08 11:36:56 +02:00
ws
66e5ef9e9d fix performance regression for layout 2013-05-06 14:20:43 +02:00
ws
1ec148995a new grouping implementation, dialog for changing grouping for a timesig 2013-04-29 15:47:22 +02:00
Maurizio M. Gavioli
f930baed2b Instrument dialogue: when a new staff is added and/or is linked to another staff
1) It is not completely initialized (not from dlg item settings anyway)

2) it is not inserted in the linked staff list.
2013-04-05 15:52:35 +02:00
ws
220db94494 reorganize synthesizer; add zita1 reverb 2013-04-03 12:50:21 +02:00
Maurizio M. Gavioli
6a217a95bd Allows to select the staff types for the instruments in the Instruments dlg box 2013-03-25 20:46:27 +01:00
ws
9b1656966f enable initialization of concert & transposing clef from instruments.xml 2013-03-08 19:33:30 +01:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Maurizio Gavioli
d1296c8eab Initial implementation 2012-10-20 17:00:31 +02:00
Werner Schweer
3843057a76 fix clef editing 2012-09-20 11:35:34 +02:00
Werner Schweer
c47574accf rename useTablature() -> isTabStaff(); more cleanups 2012-08-16 11:09:36 +02:00
Jonathan Klein
7d29a6c2c2 Fixed wrong class/struct forward declarations 2012-08-12 16:14:58 +02:00
Werner Schweer
5cd3f6802b fixes for 'show part' flag (instrument dialog) 2012-08-01 22:15:58 +02:00
Werner Schweer
3d91e61ef4 More plugin bindings 2012-07-25 11:49:34 +02:00
Werner Schweer
8e11e03a53 add manual generator for plugins 2012-07-11 21:29:42 +02:00
Werner Schweer
fa35cd9430 expose more classes to scripting 2012-07-06 14:21:05 +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