|
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) | |
| structure::arrangement::PianoRoll * | getPianoRoll () const |
| structure::arrangement::ChordEditor * | getChordEditor () const |
| structure::arrangement::AudioClipEditor * | getAudioClipEditor () const |
| structure::arrangement::AutomationEditor * | getAutomationEditor () 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 |
Data Fields | |
| ArrangerObjectRegistry & | object_registry_ |
| TrackResolver | track_resolver_ |
| std::optional< std::pair< ArrangerObject::Uuid, TrackUuid > > | region_id_ |
| Region currently attached to the clip editor. | |
| utils::QObjectUniquePtr< structure::arrangement::PianoRoll > | piano_roll_ |
| utils::QObjectUniquePtr< structure::arrangement::AudioClipEditor > | audio_clip_editor_ |
| utils::QObjectUniquePtr< structure::arrangement::AutomationEditor > | automation_editor_ |
| utils::QObjectUniquePtr< structure::arrangement::ChordEditor > | chord_editor_ |
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 64 of file clip_editor.h.
|
inline |
Definition at line 68 of file clip_editor.h.
|
inline |
Definition at line 60 of file clip_editor.h.
|
inline |
Definition at line 56 of file clip_editor.h.
|
inline |
Definition at line 120 of file clip_editor.h.
|
inline |
Definition at line 73 of file clip_editor.h.
|
inline |
Sets the track and refreshes the piano roll widgets.
Definition at line 110 of file clip_editor.h.
|
inline |
Definition at line 82 of file clip_editor.h.
|
friend |
Definition at line 152 of file clip_editor.h.
|
friend |
Definition at line 125 of file clip_editor.h.
|
friend |
Definition at line 144 of file clip_editor.h.
| utils::QObjectUniquePtr<structure::arrangement::AudioClipEditor> ClipEditor::audio_clip_editor_ |
Definition at line 170 of file clip_editor.h.
| utils::QObjectUniquePtr<structure::arrangement::AutomationEditor> ClipEditor::automation_editor_ |
Definition at line 172 of file clip_editor.h.
| utils::QObjectUniquePtr<structure::arrangement::ChordEditor> ClipEditor::chord_editor_ |
Definition at line 173 of file clip_editor.h.
| ArrangerObjectRegistry& ClipEditor::object_registry_ |
Definition at line 162 of file clip_editor.h.
| utils::QObjectUniquePtr<structure::arrangement::PianoRoll> ClipEditor::piano_roll_ |
Definition at line 168 of file clip_editor.h.
| std::optional<std::pair<ArrangerObject::Uuid, TrackUuid> > ClipEditor::region_id_ |
Region currently attached to the clip editor.
Definition at line 166 of file clip_editor.h.
| TrackResolver ClipEditor::track_resolver_ |
Definition at line 163 of file clip_editor.h.
|
read |
Definition at line 33 of file clip_editor.h.
|
read |
Definition at line 34 of file clip_editor.h.
|
read |
Definition at line 32 of file clip_editor.h.
|
read |
Definition at line 31 of file clip_editor.h.
|
read |
Definition at line 29 of file clip_editor.h.
|
read |
Definition at line 30 of file clip_editor.h.