![]() |
MuseScore Plugins
3.5
Plugins API for MuseScore
|
Provides an access to score style settings. More...


Public Member Functions | |
| Q_INVOKABLE QVariant | value (const QString &key) const |
Returns a value of style setting named key. More... | |
| Q_INVOKABLE void | setValue (const QString &key, QVariant value) |
Sets the value of style setting named key to value. More... | |
Provides an access to score style settings.
Style settings for a score can be obtained by querying the Score::style property.
Usage example:
| void setValue | ( | const QString & | key, |
| QVariant | value | ||
| ) |
Sets the value of style setting named key to value.
Key should be one of Sid values.
| QVariant value | ( | const QString & | key | ) | const |
Returns a value of style setting named key.
Key should be one of Sid values. Type of the returned value depends on type of the corresponding style setting.
1.8.13