|
|
void | projectLoaded (ProjectUiState *project) |
|
void | projectLoadingFailed (const QString &errorMessage) |
|
void | activeProjectChanged (ProjectUiState *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 void | loadProject (const QString &filepath) |
|
void | add_to_recent_projects (const QString &path) |
|
RecentProjectsModel * | getRecentProjects () const |
|
ProjectUiState * | activeProject () const |
|
void | setActiveProject (ProjectUiState *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 19 of file project_manager.h.
◆ ProjectLoadResult
| using zrythm::gui::ProjectManager::ProjectLoadResult |
Initial value:
std::variant<utils::QObjectUniquePtr<ProjectUiState>, QString>
Definition at line 33 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. |
◆ activeProject
◆ recentProjects
The documentation for this class was generated from the following file: