Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::project::ClipEditor Class Reference

Backend for the clip editor part of the UI. More...

#include <src/structure/project/clip_editor.h>

Inheritance diagram for zrythm::structure::project::ClipEditor:
Collaboration diagram for zrythm::structure::project::ClipEditor:

Public Member Functions

 ClipEditor (ArrangerObjectRegistry &reg, TrackResolver track_resolver, QObject *parent=nullptr)
structure::arrangement::PianoRollgetPianoRoll () const
structure::arrangement::ChordEditorgetChordEditor () const
structure::arrangement::AudioClipEditorgetAudioClipEditor () const
structure::arrangement::AutomationEditorgetAutomationEditor () const
QVariant region () const
QVariant track () const
Q_INVOKABLE void setRegion (QVariant region, QVariant track)
Q_INVOKABLE void unsetRegion ()
Q_SIGNAL void regionChanged (QVariant region)
void init_loaded ()
 Inits the ClipEditor after a Project is loaded.
void init ()
 Inits the clip editor.
void set_region (ArrangerObject::Uuid region_id, TrackUuid track_id)
 Sets the track and refreshes the piano roll widgets.
bool has_region () const
std::optional< std::pair< ArrangerObjectPtrVariant, TrackPtrVariant > > get_region_and_track () const

Properties

QVariant region
QVariant track
zrythm::structure::arrangement::PianoRollpianoRoll
zrythm::structure::arrangement::ChordEditorchordEditor
zrythm::structure::arrangement::AudioClipEditoraudioEditor
zrythm::structure::arrangement::AutomationEditorautomationEditor

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)

Detailed Description

Backend for the clip editor part of the UI.

Definition at line 21 of file clip_editor.h.

Member Function Documentation

◆ getAudioClipEditor()

structure::arrangement::AudioClipEditor * zrythm::structure::project::ClipEditor::getAudioClipEditor ( ) const
inline

Definition at line 59 of file clip_editor.h.

◆ getAutomationEditor()

structure::arrangement::AutomationEditor * zrythm::structure::project::ClipEditor::getAutomationEditor ( ) const
inline

Definition at line 63 of file clip_editor.h.

◆ getChordEditor()

structure::arrangement::ChordEditor * zrythm::structure::project::ClipEditor::getChordEditor ( ) const
inline

Definition at line 55 of file clip_editor.h.

◆ getPianoRoll()

structure::arrangement::PianoRoll * zrythm::structure::project::ClipEditor::getPianoRoll ( ) const
inline

Definition at line 51 of file clip_editor.h.

◆ has_region()

bool zrythm::structure::project::ClipEditor::has_region ( ) const
inline

Definition at line 99 of file clip_editor.h.

◆ set_region()

void zrythm::structure::project::ClipEditor::set_region ( ArrangerObject::Uuid region_id,
TrackUuid track_id )
inline

Sets the track and refreshes the piano roll widgets.

Definition at line 89 of file clip_editor.h.

Property Documentation

◆ audioEditor

zrythm::structure::arrangement::AudioClipEditor * zrythm::structure::project::ClipEditor::audioEditor
read

Definition at line 28 of file clip_editor.h.

◆ automationEditor

zrythm::structure::arrangement::AutomationEditor * zrythm::structure::project::ClipEditor::automationEditor
read

Definition at line 29 of file clip_editor.h.

◆ chordEditor

zrythm::structure::arrangement::ChordEditor * zrythm::structure::project::ClipEditor::chordEditor
read

Definition at line 27 of file clip_editor.h.

◆ pianoRoll

zrythm::structure::arrangement::PianoRoll * zrythm::structure::project::ClipEditor::pianoRoll
read

Definition at line 26 of file clip_editor.h.

◆ region

QVariant zrythm::structure::project::ClipEditor::region
read

Definition at line 24 of file clip_editor.h.

◆ track

QVariant zrythm::structure::project::ClipEditor::track
read

Definition at line 25 of file clip_editor.h.


The documentation for this class was generated from the following file: