|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
A Position whose ticks are absolute timeline ticks. More...
#include <src/dsp/position.h>


Public Member Functions | |
| TimelineTick | asTick () const |
| Position (QObject *parent=nullptr) | |
| Construct a Position without a value constraint. | |
| Position (ConstraintFunction constraint, QObject *parent=nullptr) | |
| Construct a Position with a value constraint. | |
| Public Member Functions inherited from zrythm::dsp::Position | |
| Position (QObject *parent=nullptr) | |
| Construct a Position without a value constraint. | |
| Position (ConstraintFunction constraint, QObject *parent=nullptr) | |
| Construct a Position with a value constraint. | |
| double | ticks () const |
| The stored tick value (meaning depends on owner context). | |
| void | setTicks (double ticks) |
| void | set_ticks_without_constraint (double ticks) |
| Set ticks without applying constraint_. | |
| Q_INVOKABLE void | addTicks (double ticks) |
Additional Inherited Members | |
| Public Types inherited from zrythm::dsp::Position | |
| using | ConstraintFunction |
| Function that clamps/adjusts tick values on setTicks (e.g. | |
| Signals inherited from zrythm::dsp::Position | |
| void | positionChanged () |
| Properties inherited from zrythm::dsp::Position | |
| double | ticks |
A Position whose ticks are absolute timeline ticks.
Inherits all Position behavior (Q_PROPERTY, serialization, signals). The asTick method provides a typed TimelineTick for compile-time coordinate-space safety.
Definition at line 96 of file position.h.
|
inline |
Definition at line 105 of file position.h.
|
explicit |
Construct a Position with a value constraint.
| constraint | Function that clamps/adjusts tick values on setTicks (e.g. min-length enforcement). |
| parent | QObject parent. |
|
explicit |
Construct a Position without a value constraint.
| parent | QObject parent. |