Design questions

• Sep 20, 2018 - 15:23

Being fairly new to MS development, I have a couple of questions.
Hope someone can come up with a short answer.

MasterScore vs. Score:
It seems to me that all scores are created with type MasterScore, whether they are masters or parts.
If there are no scores that are not type MasterScore, why do we need to have a subclass?

Model/view:
The developer handbook recommends using Qt model/view classes, but I haven't found examples of this.
Can someone give a hint, so I can have a look, how this is used in MS?


Comments

MasterScore vs. Score

My understanding is that a MasterScore contains Movements, a list of MasterScore but parts (or excerpts in the code) are Score and not MasterScore.
From score.h
A movement is a unit of a larger work that may stand by itself as a complete composition.
A MuseScore score file can contain several movements represented as MasterScores. A MasterScore can have several parts represented as Score.

Do you still have an unanswered question? Please log in first to post your question.