![]() |
MuseScore Plugins 3.3
Plugins API for MuseScore
|
Provides an access to score style settings. More...
#include <style.h>


Public Member Functions | |
| Q_INVOKABLE QVariant | value (const QString &key) const |
Returns a value of style setting named key. | |
| Q_INVOKABLE void | setValue (const QString &key, QVariant value) |
Sets the value of style setting named key to value. | |
Provides an access to score style settings.
Style settings for a score can be obtained by querying the 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.