Loading...
Searching...
No Matches
score::DocumentTemplate Struct Reference
A .score file that can be opened as a new, untitled document. More...
Detailed Description
A .score file that can be opened as a new, untitled document.
Templates and examples are .score files, or project archives (a .zip holding a .score and its media, as written by Project > Archive), found in well-known folders:
- Templates:
:/templates,<library>/Templates,<library>/packages/<pkg>/Templates - Examples:
<library>/Examples,<library>/packages/<pkg>/Examples(recursive), and the whole tree of a package that is itself an examples package: its folder is namedexamplesor its package.json has"kind": "examples".
where <library> is the user library root (Library/RootPath setting). Two files have a special role and are not listed:
<library>/default.scoreis used as the template of every new document.first-run.scorein any template folder is the guided score proposed to first-time users by the start screen.
Public Attributes | |
| QString | name |
| File name without extension. | |
| QString | path |
| Absolute path or resource path. | |
| QString | source |
| "bundled", "library" or the package name | |
| QString | category |
| Folder path relative to the search root, e.g. | |
Member Data Documentation
◆ category
| QString score::DocumentTemplate::category |
Folder path relative to the search root, e.g.
"reference / processes"
The documentation for this struct was generated from the following file: