Jit::ApplicationPlugin Struct Referencefinal
Inheritance diagram for Jit::ApplicationPlugin:
score::GUIApplicationPlugin

Public Member Functions

 ApplicationPlugin (const score::GUIApplicationContext &ctx)
 
void setupAddon (const QString &addon)
 
void registerAddon (score::Plugin_QtInterface *)
 
void updateAddon (const QString &addon)
 
void setupNode (const QString &addon)
 
void initialize () override
 initialize More...
 
void rescanAddons ()
 
void rescanNodes ()
 
- Public Member Functions inherited from score::GUIApplicationPlugin
 GUIApplicationPlugin (const score::GUIApplicationContext &presenter)
 
virtual GUIElements makeGUIElements ()
 makeGUIElements More...
 
DocumentcurrentDocument () const
 currentDocument More...
 
virtual bool handleLoading ()
 afterStartup Returns true if the start-up was handled by this plug-in.
 
virtual void afterStartup ()
 afterStartup Called after all the documents have been created / loaded
 
virtual void on_initDocument (score::Document &doc)
 on_initDocument Will be called after the document has been created, for new, load, and restore, and before anything is loaded.
 
virtual void on_newDocument (score::Document &doc)
 on_newDocument Will be called only when a new, empty document is created; classes inheriting from SerializableDocumentPlugin should be instantiated and added to the document at this point.
 
virtual void on_loadedDocument (score::Document &doc)
 on_loadedDocument Will be called only after a document has been loaded
 
virtual void on_createdDocument (score::Document &doc)
 on_createdDocument Will be called after either on_newDocument or on_loadedDocument was called on every plug-in.
 
virtual void prepareNewDocument ()
 prepareNewDocument Will be called just before a document switch. It is possible to check if we are in the process of document switching via DocumentManager::preparingNewDocument.
 
virtual void on_documentChanged (score::Document *olddoc, score::Document *newdoc)
 on_documentChanged Will be called after a document switch. If newdoc isn't null, it means that it is currently being focused by score.
 
virtual void on_activeWindowChanged ()
 on_activeWindowChanged Can be used to check if the focus moves out of the main window.
 
virtual void on_keyPressEvent (QKeyEvent &event)
 on_keyPressEvent Called with key events in the main document view.
 
virtual void on_keyReleaseEvent (QKeyEvent &event)
 on_keyPressEvent Called with key events in the main document view.
 

Public Attributes

QFileSystemWatcher m_addonsWatch
 
QFileSystemWatcher m_nodesWatch
 
QSet< QString > m_addonsPaths
 
AddonCompiler m_compiler
 
- Public Attributes inherited from score::GUIApplicationPlugin
const GUIApplicationContextcontext
 

Additional Inherited Members

- Public Types inherited from score::GUIApplicationPlugin
using GUIElements = score::GUIElements
 

Member Function Documentation

◆ initialize()

void Jit::ApplicationPlugin::initialize ( )
overridevirtual

initialize

This method will be called once every class has been loaded from every plug-in.

Reimplemented from score::GUIApplicationPlugin.


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