Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Backend for the clip editor part of the UI. More...
#include <src/gui/backend/backend/clip_editor.h>
Public Member Functions | |
ClipEditor (ArrangerObjectRegistry ®, TrackResolver track_resolver, QObject *parent=nullptr) | |
PianoRoll * | getPianoRoll () const |
ChordEditor * | getChordEditor () const |
AudioClipEditor * | getAudioClipEditor () const |
AutomationEditor * | getAutomationEditor () const |
QVariant | getRegion () const |
void | setRegion (QVariant region) |
Q_INVOKABLE void | unsetRegion () |
Q_SIGNAL void | regionChanged (QVariant region) |
QVariant | getTrack () const |
Q_SIGNAL void | trackChanged (QVariant track) |
void | init_loaded () |
Inits the ClipEditor after a Project is loaded. | |
void | init () |
Inits the clip editor. | |
void | set_region (Region::Uuid region_id) |
Sets the track and refreshes the piano roll widgets. | |
bool | has_region () const |
std::optional< RegionPtrVariant > | get_region () const |
std::optional< Region::Uuid > | get_region_id () const |
std::optional< TrackPtrVariant > | get_track () const |
std::optional< TrackUuid > | get_track_id () const |
void | unset_region_if_belongs_to_track (const TrackUuid &track_id) |
Unsets the region if it belongs to the given track. | |
void | set_caches () |
To be called when recalculating the graph. | |
Data Fields | |
ArrangerObjectRegistry & | object_registry_ |
TrackResolver | track_resolver_ |
std::optional< ArrangerObject::Uuid > | region_id_ |
Region currently attached to the clip editor. | |
PianoRoll * | piano_roll_ {} |
AudioClipEditor * | audio_clip_editor_ {} |
AutomationEditor * | automation_editor_ {} |
ChordEditor * | chord_editor_ {} |
std::optional< TrackPtrVariant > | track_ |
Properties | |
QML_ELEMENT QVariant | region |
QVariant | track |
PianoRoll * | pianoRoll |
ChordEditor * | chordEditor |
AudioClipEditor * | audioEditor |
AutomationEditor * | automationEditor |
Friends | |
void | init_from (ClipEditor &obj, const ClipEditor &other, utils::ObjectCloneType clone_type) |
void | to_json (nlohmann::json &j, const ClipEditor &editor) |
void | from_json (const nlohmann::json &j, ClipEditor &editor) |
Backend for the clip editor part of the UI.
Definition at line 26 of file clip_editor.h.
|
inline |
Definition at line 106 of file clip_editor.h.
|
inline |
Definition at line 60 of file clip_editor.h.
|
inline |
Definition at line 61 of file clip_editor.h.
|
inline |
Definition at line 59 of file clip_editor.h.
|
inline |
Definition at line 58 of file clip_editor.h.
|
inline |
Definition at line 63 of file clip_editor.h.
|
inline |
Definition at line 103 of file clip_editor.h.
|
inline |
Sets the track and refreshes the piano roll widgets.
Definition at line 94 of file clip_editor.h.
|
friend |
Definition at line 150 of file clip_editor.h.
|
friend |
Definition at line 123 of file clip_editor.h.
|
friend |
Definition at line 142 of file clip_editor.h.
AudioClipEditor* ClipEditor::audio_clip_editor_ {} |
Definition at line 171 of file clip_editor.h.
AutomationEditor* ClipEditor::automation_editor_ {} |
Definition at line 172 of file clip_editor.h.
ChordEditor* ClipEditor::chord_editor_ {} |
Definition at line 173 of file clip_editor.h.
ArrangerObjectRegistry& ClipEditor::object_registry_ |
Definition at line 164 of file clip_editor.h.
PianoRoll* ClipEditor::piano_roll_ {} |
Definition at line 170 of file clip_editor.h.
std::optional<ArrangerObject::Uuid> ClipEditor::region_id_ |
Region currently attached to the clip editor.
Definition at line 168 of file clip_editor.h.
std::optional<TrackPtrVariant> ClipEditor::track_ |
Definition at line 178 of file clip_editor.h.
TrackResolver ClipEditor::track_resolver_ |
Definition at line 165 of file clip_editor.h.
|
read |
Definition at line 35 of file clip_editor.h.
|
read |
Definition at line 37 of file clip_editor.h.
|
read |
Definition at line 34 of file clip_editor.h.
|
read |
Definition at line 33 of file clip_editor.h.
|
readwrite |
Definition at line 30 of file clip_editor.h.
|
read |
Definition at line 32 of file clip_editor.h.