Zrythm v2.0.0-alpha.1+31.4967fd053471
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 (utils::IObjectRegistry &reg, QObject *parent=nullptr)
MidiEditormidiEditor () const
ChordEditorchordEditor () const
AudioClipEditoraudioClipEditor () const
AutomationEditorautomationEditor () 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< ArrangerObject *, Track * > > get_region_and_track () const

Properties

QVariant region
QVariant track
zrythm::structure::project::MidiEditormidiEditor
zrythm::structure::project::ChordEditorchordEditor
zrythm::structure::project::AudioClipEditoraudioEditor
zrythm::structure::project::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 22 of file clip_editor.h.

Member Function Documentation

◆ audioClipEditor()

AudioClipEditor * zrythm::structure::project::ClipEditor::audioClipEditor ( ) const
inline

Definition at line 47 of file clip_editor.h.

◆ automationEditor()

AutomationEditor * zrythm::structure::project::ClipEditor::automationEditor ( ) const
inline

Definition at line 51 of file clip_editor.h.

◆ chordEditor()

ChordEditor * zrythm::structure::project::ClipEditor::chordEditor ( ) const
inline

Definition at line 46 of file clip_editor.h.

◆ has_region()

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

Definition at line 79 of file clip_editor.h.

◆ midiEditor()

MidiEditor * zrythm::structure::project::ClipEditor::midiEditor ( ) const
inline

Definition at line 45 of file clip_editor.h.

Property Documentation

◆ audioEditor

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

Definition at line 29 of file clip_editor.h.

◆ automationEditor

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

Definition at line 30 of file clip_editor.h.

◆ chordEditor

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

Definition at line 28 of file clip_editor.h.

◆ midiEditor

zrythm::structure::project::MidiEditor * zrythm::structure::project::ClipEditor::midiEditor
read

Definition at line 27 of file clip_editor.h.

◆ region

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

Definition at line 25 of file clip_editor.h.

◆ track

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

Definition at line 26 of file clip_editor.h.


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