|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Composition root for a project session. More...
#include <src/gui/backend/project_session.h>


Signals | |
| void | titleChanged (const QString &title) |
| void | projectDirectoryChanged (const QString &directory) |
Public Member Functions | |
| ProjectSession (utils::AppSettings &app_settings, utils::QObjectUniquePtr< structure::project::Project > &&project) | |
| QString | title () const |
| void | setTitle (const QString &title) |
| QString | projectDirectory () const |
| void | setProjectDirectory (const QString &directory) |
| structure::project::Project * | project () const |
| structure::project::ProjectUiState * | uiState () const |
| undo::UndoStack * | undoStack () const |
| zrythm::actions::ArrangerObjectCreator * | arrangerObjectCreator () const |
| zrythm::actions::TrackCreator * | trackCreator () const |
| actions::PluginImporter * | pluginImporter () const |
| actions::FileImporter * | fileImporter () const |
| controllers::TransportController * | transportController () const |
| Q_INVOKABLE actions::ArrangerObjectSelectionOperator * | createArrangerObjectSelectionOperator (QItemSelectionModel *selectionModel) const |
| Q_INVOKABLE qquick::QFutureQmlWrapper * | save () |
| Saves the project to the current project directory. | |
| Q_INVOKABLE qquick::QFutureQmlWrapper * | saveAs (const QString &path) |
| Saves the project to a new directory. | |
| std::optional< fs::path > | get_newer_backup () |
| Finds a backup directory newer than the main project file. | |
Composition root for a project session.
Owns and coordinates all the components needed for an active project:
QML accesses UI components (tool, clipEditor, timeline, snapGrids) via the uiState property.
Definition at line 35 of file project_session.h.
| std::optional< fs::path > zrythm::gui::ProjectSession::get_newer_backup | ( | ) |
Finds a backup directory newer than the main project file.
| Q_INVOKABLE qquick::QFutureQmlWrapper * zrythm::gui::ProjectSession::save | ( | ) |
Saves the project to the current project directory.
| Q_INVOKABLE qquick::QFutureQmlWrapper * zrythm::gui::ProjectSession::saveAs | ( | const QString & | path | ) |
Saves the project to a new directory.
Updates projectDirectory and title on success.
| path | The new directory path to save to. |
|
read |
Definition at line 42 of file project_session.h.
|
read |
Definition at line 45 of file project_session.h.
|
read |
Definition at line 44 of file project_session.h.
|
read |
Definition at line 39 of file project_session.h.
|
readwrite |
Definition at line 47 of file project_session.h.
|
readwrite |
Definition at line 38 of file project_session.h.
|
read |
Definition at line 43 of file project_session.h.
|
read |
Definition at line 46 of file project_session.h.
|
read |
Definition at line 40 of file project_session.h.
|
read |
Definition at line 41 of file project_session.h.