|
Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
|
POD gadget carrying one (chord × visible loop iteration) tuple. More...
#include <src/gui/qquick/chord_region_segmenter.h>

Data Fields | |
| double | abs_start_ticks = 0 |
| Absolute start position within the region, in ticks. | |
| double | abs_end_ticks = 0 |
| Absolute end position within the region, in ticks. | |
| zrythm::structure::arrangement::ChordObject * | chord_object = nullptr |
| Pointer to the source chord object. | |
| int | chord_index = 0 |
| Index of the chord in the region's chordObjects list (insertion order, not sorted order). | |
Properties | |
| double | absStartTicks |
| double | absEndTicks |
| zrythm::structure::arrangement::ChordObject * | chordObject |
| int | chordIndex |
POD gadget carrying one (chord × visible loop iteration) tuple.
Each instance represents a single chord as it should be drawn within the region's timeline bounds. When a region is looped, a single source chord may produce multiple ChordSegment instances (one per visible iteration).
Exposed to QML as roles of the segmenter's model. Property names match role names automatically (QRangeModel maps Q_PROPERTY names to roles when MultiRoleItem row category is set).
Definition at line 34 of file chord_region_segmenter.h.
| double zrythm::gui::qquick::ChordSegment::abs_end_ticks = 0 |
Absolute end position within the region, in ticks.
Either the next chord's start (within the same loop iteration) or the iteration's boundary, whichever comes first.
Definition at line 52 of file chord_region_segmenter.h.
| double zrythm::gui::qquick::ChordSegment::abs_start_ticks = 0 |
Absolute start position within the region, in ticks.
Definition at line 44 of file chord_region_segmenter.h.
| int zrythm::gui::qquick::ChordSegment::chord_index = 0 |
Index of the chord in the region's chordObjects list (insertion order, not sorted order).
Useful for stable identity across recalculations.
Definition at line 61 of file chord_region_segmenter.h.
| zrythm::structure::arrangement::ChordObject* zrythm::gui::qquick::ChordSegment::chord_object = nullptr |
Pointer to the source chord object.
Not null for valid segments.
Definition at line 55 of file chord_region_segmenter.h.
| double zrythm::gui::qquick::ChordSegment::absEndTicks |
Definition at line 38 of file chord_region_segmenter.h.
| double zrythm::gui::qquick::ChordSegment::absStartTicks |
Definition at line 37 of file chord_region_segmenter.h.
| int zrythm::gui::qquick::ChordSegment::chordIndex |
Definition at line 40 of file chord_region_segmenter.h.
| zrythm::structure::arrangement::ChordObject * zrythm::gui::qquick::ChordSegment::chordObject |
Definition at line 39 of file chord_region_segmenter.h.