Loading...
Searching...
No Matches
score::HelperPanelDelegate Class Reference
Inheritance diagram for score::HelperPanelDelegate:
score::PanelDelegate

Classes

struct  FasterLabel
 

Public Member Functions

 HelperPanelDelegate (const score::GUIApplicationContext &ctx)
 
QWidget * widget () override
 widget The widget of the panel.
 
const PanelStatusdefaultPanelStatus () const override
 defaultPanelStatus Metadata of the panel.
 
- 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
 
virtual void setNewSelection (const Selection &s)
 setNewSelection This function will be called if the selected objects change in score
 

Public Attributes

QWidget * widg {}
 
QLabel * status {}
 

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.
 

Member Function Documentation

◆ defaultPanelStatus()

const PanelStatus & score::HelperPanelDelegate::defaultPanelStatus ( ) const
inlineoverridevirtual

defaultPanelStatus Metadata of the panel.

Implements score::PanelDelegate.

◆ widget()

QWidget * score::HelperPanelDelegate::widget ( )
inlineoverridevirtual

widget The widget of the panel.

Note
The View class takes ownership of it.

Implements score::PanelDelegate.


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