Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
zrythm::dsp::CurveOptionsQmlAdapter Class Reference

QML adapter for CurveOptions. More...

#include <src/dsp/curve.h>

Inheritance diagram for zrythm::dsp::CurveOptionsQmlAdapter:
Collaboration diagram for zrythm::dsp::CurveOptionsQmlAdapter:

Public Member Functions

 CurveOptionsQmlAdapter (CurveOptions &options, QObject *parent=nullptr)
double curviness () const
void setCurviness (double curviness)
Q_SIGNAL void curvinessChanged (double curviness)
zrythm::dsp::CurveOptions::Algorithm algorithm () const
void setAlgorithm (zrythm::dsp::CurveOptions::Algorithm algorithm)
Q_SIGNAL void algorithmChanged (zrythm::dsp::CurveOptions::Algorithm algorithm)
Q_INVOKABLE double normalizedY (double x, bool startHigher) const

Properties

double curviness
zrythm::dsp::CurveOptions::Algorithm algorithm

Detailed Description

QML adapter for CurveOptions.

Definition at line 123 of file curve.h.

Constructor & Destructor Documentation

◆ CurveOptionsQmlAdapter()

zrythm::dsp::CurveOptionsQmlAdapter::CurveOptionsQmlAdapter ( CurveOptions & options,
QObject * parent = nullptr )
inline

Definition at line 135 of file curve.h.

Member Function Documentation

◆ algorithm()

zrythm::dsp::CurveOptions::Algorithm zrythm::dsp::CurveOptionsQmlAdapter::algorithm ( ) const
inline

Definition at line 156 of file curve.h.

◆ curviness()

double zrythm::dsp::CurveOptionsQmlAdapter::curviness ( ) const
inline

Definition at line 144 of file curve.h.

◆ normalizedY()

Q_INVOKABLE double zrythm::dsp::CurveOptionsQmlAdapter::normalizedY ( double x,
bool startHigher ) const
inline

Definition at line 171 of file curve.h.

◆ setAlgorithm()

void zrythm::dsp::CurveOptionsQmlAdapter::setAlgorithm ( zrythm::dsp::CurveOptions::Algorithm algorithm)
inline

Definition at line 160 of file curve.h.

◆ setCurviness()

void zrythm::dsp::CurveOptionsQmlAdapter::setCurviness ( double curviness)
inline

Definition at line 145 of file curve.h.

Property Documentation

◆ algorithm

zrythm::dsp::CurveOptions::Algorithm zrythm::dsp::CurveOptionsQmlAdapter::algorithm
read

Definition at line 128 of file curve.h.

◆ curviness

double zrythm::dsp::CurveOptionsQmlAdapter::curviness
readwrite

Definition at line 126 of file curve.h.


The documentation for this class was generated from the following file: