6#include "structure/arrangement/arranger_object.h"
9#include <QtQmlIntegration/qqmlintegration.h>
11namespace zrythm::gui::qquick
36 Q_INVOKABLE
static double
45 Q_INVOKABLE
static double
63 double timeline_end_ticks);
QML singleton providing imperative arranger object queries.
static Q_INVOKABLE double timelineTicks(structure::arrangement::ArrangerObject *obj)
Warp-aware absolute timeline position of an arranger object.
static Q_INVOKABLE void setEndFromTimelineTicks(structure::arrangement::ArrangerObject *obj, double timeline_end_ticks)
Sets an object's length so that its timeline end matches the given timeline tick position.
static Q_INVOKABLE bool isClip(structure::arrangement::ArrangerObject *obj)
Whether the object is a Clip (MidiClip, AudioClip, ChordClip, or AutomationClip).
static Q_INVOKABLE double timelineEndTicks(structure::arrangement::ArrangerObject *obj)
Warp-aware absolute timeline end position.
Base class for all objects in the arranger.