score::Document Class Referencefinal
The Document class is the central part of the software. More...
Inheritance diagram for score::Document:
Detailed Description
The Document class is the central part of the software.
It is similar to the opened file in Word for instance, this is the data on which score operates, further defined by the plugins.
It has ownership on the useful classes for document edition and display :
Public Member Functions | |
void | blockAllSignals () |
const DocumentMetadata & | metadata () const noexcept |
DocumentMetadata & | metadata () noexcept |
const Id< DocumentModel > & | id () const noexcept |
CommandStack & | commandStack () noexcept |
SelectionStack & | selectionStack () noexcept |
FocusManager & | focusManager () noexcept |
ObjectLocker & | locker () noexcept |
const DocumentContext & | context () const noexcept |
DocumentModel & | model () const noexcept |
DocumentPresenter * | presenter () const noexcept |
DocumentView * | view () const noexcept |
DocumentBackupManager * | backupManager () const noexcept |
void | saveDocumentModelAsJson (JSONObject::Serializer &writer) |
QByteArray | saveDocumentModelAsByteArray () |
void | saveAsJson (JSONObject::Serializer &writer) |
QByteArray | saveAsByteArray () |
bool | virgin () const |
Document (const QString &name, DocumentDelegateFactory &type, QObject *parent) | |
void | ready () |
void | updateTimers () |
Friends | |
class | DocumentBuilder |
struct | DocumentContext |
Member Function Documentation
◆ virgin()
|
inline |
Indicates if the document has just been created and can be safely discarded.
The documentation for this class was generated from the following files:
- Document.hpp
- Document.cpp
- DocumentSerialization.cpp