|
|
void | projectLoaded (ProjectSession *project) |
|
void | projectLoadingFailed (const QString &errorMessage) |
|
void | activeSessionChanged (ProjectSession *project) |
|
|
| ProjectManager (utils::AppSettings &app_settings, QObject *parent=nullptr) |
|
TemplateList | get_templates () const |
| | Gets a copy of the list of project templates.
|
|
Q_INVOKABLE void | createNewProject (const QUrl &directory, const QString &name, const QUrl &templateUrl=QUrl{}) |
| Q_INVOKABLE qquick::QFutureQmlWrapper * | loadProject (const QString &filepath) |
| | Loads a project from the specified directory.
|
|
RecentProjectsModel * | getRecentProjects () const |
|
ProjectSession * | activeSession () const |
|
void | setActiveSession (ProjectSession *project) |
|
|
static ProjectManager * | get_instance () |
| static Q_INVOKABLE QString | getNextAvailableProjectName (const QUrl &directory, const QString &name) |
| | Get the next available untitled project name for the given directory.
|
Definition at line 20 of file project_manager.h.
◆ ProjectLoadResult
| using zrythm::gui::ProjectManager::ProjectLoadResult |
Initial value:
std::variant<utils::QObjectUniquePtr<ProjectSession>, QString>
Definition at line 34 of file project_manager.h.
◆ Template
| using zrythm::gui::ProjectManager::Template = fs::path |
◆ TemplateList
| using zrythm::gui::ProjectManager::TemplateList = std::vector<Template> |
◆ getNextAvailableProjectName()
| Q_INVOKABLE QString zrythm::gui::ProjectManager::getNextAvailableProjectName |
( |
const QUrl & | directory, |
|
|
const QString & | name ) |
|
static |
Get the next available untitled project name for the given directory.
- Parameters
-
| directory | Direcctory to check for untitled projects. |
◆ loadProject()
Loads a project from the specified directory.
- Parameters
-
| filepath | The project directory path. |
- Returns
- A QFutureQmlWrapper that resolves to the loaded project path on success.
◆ activeSession
◆ recentProjects
The documentation for this class was generated from the following file: