Loading...
Searching...
No Matches
score::DocumentManager Class Reference
Owns the documents. More...
Inheritance diagram for score::DocumentManager:
Detailed Description
Owns the documents.
Public Member Functions | |
| DocumentManager (score::View *view, QObject *parentPresenter) | |
| void | init (const score::GUIApplicationContext &ctx) |
| auto | recentFiles () const |
| Document * | setupDocument (const score::GUIApplicationContext &ctx, score::Document *doc) |
| template<typename... Args> | |
| Document * | newDocument (const score::GUIApplicationContext &ctx, Args &&... args) |
| template<typename... Args> | |
| Document * | loadDocument (const score::GUIApplicationContext &ctx, Args &&... args) |
| template<typename... Args> | |
| void | restoreDocument (const score::GUIApplicationContext &ctx, Args &&... args) |
| void | restoreDocuments (const score::GUIApplicationContext &ctx) |
| void | setCurrentDocument (const score::GUIApplicationContext &ctx, Document *doc) |
| bool | closeDocument (const score::GUIApplicationContext &ctx, Document &) |
| void | forceCloseDocument (const score::GUIApplicationContext &ctx, Document &) |
| bool | saveDocument (Document &) |
| bool | saveDocumentAs (Document &) |
| bool | saveDocumentAs (Document &, const QString &path) |
| bool | saveStack () |
| Document * | loadStack (const score::GUIApplicationContext &ctx) |
| Document * | loadStack (const score::GUIApplicationContext &ctx, const QString &) |
| Document * | loadFile (const score::GUIApplicationContext &ctx) |
| Document * | loadFile (const score::GUIApplicationContext &ctx, const QString &filename) |
| bool | closeAllDocuments (const score::GUIApplicationContext &ctx) |
| bool | preparingNewDocument () const |
| void | documentChanged (score::Document *arg_1) |
Public Member Functions inherited from score::DocumentList | |
| const std::vector< Document * > & | documents () const |
| std::vector< Document * > & | documents () |
| Document * | currentDocument () const |
| void | setCurrentDocument (Document *d) |
Static Public Member Functions | |
| static bool | checkAndUpdateJson (rapidjson::Value &, const score::GUIApplicationContext &ctx) |
| checkAndUpdateJson | |
Additional Inherited Members | |
Protected Attributes inherited from score::DocumentList | |
| std::vector< Document * > | m_documents |
| Document * | m_currentDocument {} |
Member Function Documentation
◆ checkAndUpdateJson()
|
static |
checkAndUpdateJson
- Returns
- boolean indicating if the document is loadable
The documentation for this class was generated from the following files:
- DocumentManager.hpp
- DocumentManager.cpp
Public Member Functions inherited from