Fraction object available to QML plugins.
More...
#include <fraction.h>
|
|
int | numerator |
| | Fraction numerator.
|
| |
|
int | denominator |
| | Fraction denominator.
|
| |
|
int | ticks |
| | MIDI ticks number equal to the number of the whole notes represented by this fraction.
|
| |
|
QString | str |
| | String representation of this fraction.
|
| |
Fraction object available to QML plugins.
Use PluginAPI::PluginAPI::fraction to create a fraction for usage within your plugin:
var ts = newElement(
Element.TIMESIG);
ts.timesig = fraction(3, 4);
The documentation for this class was generated from the following file: