Fraction object available to QML plugins.
More...
#include <fraction.h>
Fraction object available to QML plugins.
Use PluginAPI::PluginAPI::fraction to create a fraction for usage within your plugin:
var ts = newElement(Element.TIMESIG);
◆ FractionWrapper() [1/2]
Ms::PluginAPI::FractionWrapper::FractionWrapper |
( |
| ) |
|
|
default |
◆ FractionWrapper() [2/2]
Ms::PluginAPI::FractionWrapper::FractionWrapper |
( |
const Ms::Fraction & |
_f | ) |
|
|
inline |
◆ denominator()
int Ms::PluginAPI::FractionWrapper::denominator |
( |
| ) |
const |
|
inline |
◆ fraction()
Ms::Fraction Ms::PluginAPI::FractionWrapper::fraction |
( |
| ) |
const |
|
inline |
◆ numerator()
int Ms::PluginAPI::FractionWrapper::numerator |
( |
| ) |
const |
|
inline |
◆ setFraction
void Ms::PluginAPI::FractionWrapper::setFraction |
( |
Fraction |
_f | ) |
|
|
inlineslot |
◆ ticks()
int Ms::PluginAPI::FractionWrapper::ticks |
( |
| ) |
const |
|
inline |
◆ toString()
QString Ms::PluginAPI::FractionWrapper::toString |
( |
| ) |
const |
|
inline |
◆ wrap()
◆ denominator
int Ms::PluginAPI::FractionWrapper::denominator |
|
read |
◆ numerator
int Ms::PluginAPI::FractionWrapper::numerator |
|
read |
◆ str
QString Ms::PluginAPI::FractionWrapper::str |
|
read |
String representation of this fraction.
◆ ticks
int Ms::PluginAPI::FractionWrapper::ticks |
|
read |
MIDI ticks number equal to the number of the whole notes represented by this fraction.
The documentation for this class was generated from the following file: