FYI - I have found one circumstance outside of pagesettings.cpp in which
the page settings are definitely handled distinctly from the styles: the
class Score constructors. Parts inherit all styles from their master
score, except page settings, which are inherited from the default
MuseScore settings (A4, 10/20mm margins). See this block of code:
https://github.com/musescore/MuseScore/blob/584e193e7d26182bf103074ad4efa7829921a515/libmscore/score.cpp#L275
On 12/2/2018 7:14 AM, Sideways Skullfinger wrote:
Can someone explain to me how the page settings data fields overlap
and interact with the global styles in MuseScore? I'm looking from an
internal, code-based perspective.
They are in separate dialog boxes for the user. They are stored
together at run time in the styles (Sid::whatever). They are stored
in the same section of the XML, as far as I can tell. They seem to be
treated differently in the code in several places, but I don't have a
complete catalog of that, and I might even be mistaken about that.
Are they all styles that just happen to be separated in the user
interface? Or are there further internal differences in how they are
stored and used in the code?
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer