Loading...
Searching...
No Matches
score::PathRoots Struct Reference

Detailed Description

The two roots against which a document path is resolved. Passing them explicitly (instead of a DocumentContext) is what lets the path math be exercised without an application, and lets "save as" resolve against the old folder while relativizing against the new one.

Public Member Functions

QString documentFolder () const noexcept
 Absolute path of the folder holding the document.
 

Public Attributes

QString documentFile
 
QString library
 Absolute path of the user library root. May be empty.
 

Member Data Documentation

◆ documentFile

QString score::PathRoots::documentFile

Absolute path of the document file (not its folder). May be empty for a never-saved document, in which case nothing is project-relative.


The documentation for this struct was generated from the following files: