PanelDelegate Class Referencefinal
Inheritance diagram for PanelDelegate:
score::PanelDelegate

Public Member Functions

 PanelDelegate (const score::GUIApplicationContext &ctx)
 
QJSEngine & engine () noexcept
 
void evaluate (const QString &txt)
 
void compute (const QString &txt, std::function< void(QVariant)> r)
 
QMenu * addMenu (QMenu *cur, QStringList names)
 
void importModule (const QString &path)
 
- Public Member Functions inherited from score::PanelDelegate
 PanelDelegate (const score::GUIApplicationContext &ctx)
 
const score::GUIApplicationContextcontext () const
 
void setModel (const score::DocumentContext &model)
 
void setModel (std::nullopt_t n)
 
MaybeDocument document () const
 document The std::optional current document More...
 
virtual void setNewSelection (const Selection &s)
 setNewSelection This function will be called if the selected objects change in score More...
 

Additional Inherited Members

- Protected Member Functions inherited from score::PanelDelegate
virtual void on_modelChanged (MaybeDocument oldm, MaybeDocument newm)
 on_modelChanged This function is called when the visible document changes. More...
 

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