|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
Canvas item for rendering chord clips. More...
#include <src/gui/qquick/chord_clip_canvas_item.h>


Signals | |
| void | chordClipChanged () |
| void | textColorChanged () |
| void | fontChanged () |
| Signals inherited from zrythm::gui::qquick::ClipCanvasItemBase | |
| void | referenceWidthChanged () |
| void | referenceXChanged () |
| void | loopPreviewChanged () |
Public Member Functions | |
| ChordClipCanvasItem (QQuickItem *parent=nullptr) | |
| QCanvasPainterItemRenderer * | createItemRenderer () const override |
| structure::arrangement::ChordClip * | chordClip () const |
| void | setChordClip (structure::arrangement::ChordClip *clip) |
| QColor | textColor () const |
| void | setTextColor (const QColor &color) |
| QFont | font () const |
| void | setFont (const QFont &font) |
| Public Member Functions inherited from zrythm::gui::qquick::ClipCanvasItemBase | |
| ClipCanvasItemBase (QQuickItem *parent=nullptr) | |
| qreal | referenceWidth () const |
| void | setReferenceWidth (qreal w) |
| qreal | referenceX () const |
| void | setReferenceX (qreal x) |
| qreal | effectiveReferenceWidth () const |
| Returns referenceWidth if set (> 0), otherwise the actual width(). | |
| bool | loopPreview () const |
| When true, the renderer wraps content into the loop region even if the clip is not currently looped. | |
| void | setLoopPreview (bool preview) |
Properties | |
| zrythm::structure::arrangement::ChordClip * | chordClip |
| QColor | textColor |
| QFont | font |
| Properties inherited from zrythm::gui::qquick::ClipCanvasItemBase | |
| qreal | referenceWidth |
| qreal | referenceX |
| bool | loopPreview |
Canvas item for rendering chord clips.
Replaces the old ChordClipSegmenter + QML Repeater approach. Inherits referenceWidth/referenceX/loopPreview from ClipCanvasItemBase so drag-preview works the same as audio/MIDI/automation clips.
Definition at line 29 of file chord_clip_canvas_item.h.
|
inline |
Definition at line 43 of file chord_clip_canvas_item.h.
|
inline |
Definition at line 49 of file chord_clip_canvas_item.h.
|
inline |
Definition at line 46 of file chord_clip_canvas_item.h.
|
readwrite |
Definition at line 34 of file chord_clip_canvas_item.h.
|
readwrite |
Definition at line 36 of file chord_clip_canvas_item.h.
|
readwrite |
Definition at line 35 of file chord_clip_canvas_item.h.