Commit graph

20 commits

Author SHA1 Message Date
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
Joachim Schmitz
cde0a3910d convert enum StaffGroup into enum class 2014-05-30 13:37:28 +02:00
Joachim Schmitz
0b43247956 convert enum StyleIdx into enum class 2014-05-26 15:31:36 +02:00
Joachim Schmitz
6acb7cae34 remove unnamed enum { SHOW }
as it was use in only 3 places in 2 of which a simple 'if/else' seems
the better choice and in the 3rd a simple '0'.
2014-05-26 12:25:21 +02:00
ws
cf0bf8cf97 fix #24842 2014-04-24 15:03:03 +02:00
Joachim Schmitz
5977488174 eliminating needless \n in qDebug() calls
searching for 'qDebug.*\\n\'
2014-03-25 14:59:32 +01:00
ws
d796ea407d rework text implementation 2014-02-11 14:27:44 +01:00
Maurizio M. Gavioli
2acd24ba1c Finish renaming of Tablature class to StringData
Renames also the files hoding the class itself:
- libmscore/tablature.cpp => stringdata.cpp
- libmscore/tablature.h => stringdata.h

No actual change in the code, only updated references to stringdata.h in #include's.
2013-12-05 21:37:28 +01:00
ws
d9c1b78851 cleanup sym.h use 2013-11-12 09:29:13 +01:00
ws
e9672f0b46 implement up/down keys to move anchor for slurs 2013-10-13 11:37:15 +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
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
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Werner Schweer
3843057a76 fix clef editing 2012-09-20 11:35:34 +02:00
Werner Schweer
3139970fd1 move ElementType to Element() 2012-09-13 18:07:11 +02:00
Werner Schweer
5cd3f6802b fixes for 'show part' flag (instrument dialog) 2012-08-01 22:15:58 +02:00
lasconic
72a29cfe74 fix compatibility of 1.2 drum score 2012-07-01 19:31:48 +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