Loading...
Searching...
No Matches
Scenario::ScenarioApplicationPlugin Class Referencefinal
Inheritance diagram for Scenario::ScenarioApplicationPlugin:
Public Member Functions | |
| ScenarioApplicationPlugin (const score::GUIApplicationContext &app) | |
| void | initialize () override |
| initialize | |
| GUIElements | makeGUIElements () override |
| makeGUIElements | |
| ScenarioPresenter * | focusedPresenter () const |
| void | reinit_tools () |
| Scenario::EditionSettings & | editionSettings () |
| Process::ProcessFocusManager * | processFocusManager () const |
| Scenario::ScenarioExecution & | execution () |
| TransportActions & | transportActions () |
| void | keyPressed (int arg_1) |
| void | keyReleased (int arg_1) |
Public Member Functions inherited from score::GUIApplicationPlugin | |
| GUIApplicationPlugin (const score::GUIApplicationContext &presenter) | |
| Document * | currentDocument () const |
| currentDocument | |
| 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_closeDocument (score::Document &doc) |
| on_closeDocument Will be called before closing the document. | |
| 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_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. | |
Friends | |
| class | ScenarioContextMenuManager |
Additional Inherited Members | |
Public Types inherited from score::GUIApplicationPlugin | |
| using | GUIElements = score::GUIElements |
Public Attributes inherited from score::GUIApplicationPlugin | |
| const GUIApplicationContext & | context |
Member Function Documentation
◆ initialize()
|
overridevirtual |
initialize
This method will be called once every class has been loaded from every plug-in.
Reimplemented from score::GUIApplicationPlugin.
◆ makeGUIElements()
|
overridevirtual |
makeGUIElements
This function allows a plug-in to provide custom elements to put in toolbars, menus, etc.
When returned here, they will afterwards be available through an score::ApplicationContext.
- See also
- score::GUIElements
Reimplemented from score::GUIApplicationPlugin.
The documentation for this class was generated from the following files:
- ScenarioApplicationPlugin.hpp
- ScenarioApplicationPlugin.cpp
Public Member Functions inherited from