|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
Serializable UI state for a project. More...
#include <src/structure/project/project_ui_state.h>


Signals | |
| void | audioInputSelectionChanged () |
| void | midiInputDeviceChanged () |
Public Member Functions | |
| ProjectUiState (Project &project, utils::AppSettings &app_settings) | |
| Constructs ProjectUiState with references from the given Project. | |
| structure::project::ArrangerTool * | tool () const |
| structure::project::ClipEditor * | clipEditor () const |
| structure::arrangement::Timeline * | timeline () const |
| dsp::SnapGrid * | snapGridTimeline () const |
| dsp::SnapGrid * | snapGridEditor () const |
| Q_INVOKABLE dsp::AudioInputSelection * | audioInputSelectionForTrack (const structure::tracks::Track *track) |
| Q_INVOKABLE dsp::MidiInputSelection * | midiInputSelectionForTrack (const structure::tracks::Track *track) |
| dsp::AudioInputSelection * | find_audio_input_selection (const structure::tracks::Track::Uuid &uuid) const |
| dsp::MidiInputSelection * | find_midi_input_selection (const structure::tracks::Track::Uuid &uuid) const |
Static Public Attributes | |
| static constexpr auto | kAudioInputSelectionsKey = "audioInputSelections"sv |
| static constexpr auto | kMidiInputSelectionsKey = "midiInputSelections"sv |
Friends | |
| void | to_json (nlohmann::json &j, const ProjectUiState &p) |
| void | from_json (const nlohmann::json &j, ProjectUiState &p) |
Serializable UI state for a project.
Contains UI-related state that should be persisted between sessions:
This class does NOT own the Project; it receives a reference to access necessary components (tempo map, registries) during construction.
Definition at line 38 of file project_ui_state.h.
| zrythm::structure::project::ProjectUiState::ProjectUiState | ( | Project & | project, |
| utils::AppSettings & | app_settings ) |
Constructs ProjectUiState with references from the given Project.
| project | The Project to extract tempo map and registries from. |
| app_settings | Application settings for snap grid defaults. |
|
staticconstexpr |
Definition at line 76 of file project_ui_state.h.
|
staticconstexpr |
Definition at line 77 of file project_ui_state.h.
|
read |
Definition at line 43 of file project_ui_state.h.
|
read |
Definition at line 45 of file project_ui_state.h.
|
read |
Definition at line 44 of file project_ui_state.h.
|
read |
Definition at line 41 of file project_ui_state.h.
|
read |
Definition at line 42 of file project_ui_state.h.