|
lmms
Cross-platform music production software
|
#include <AutomatableModelView.h>
Public Member Functions | |
| AutomatableModelView (Model *model, QWidget *_this) | |
| ~AutomatableModelView () override=default | |
| AutomatableModel * | modelUntyped () |
| const AutomatableModel * | modelUntyped () const |
| void | setModel (Model *model, bool isOldModelValid=true) override |
| void | unsetModel () override |
| template<typename T> | |
| T | value () const |
| void | setDescription (const QString &desc) |
| void | setUnit (const QString &unit) |
| void | addDefaultActions (QMenu *menu) |
| void | setConversionFactor (float factor) |
| float | getConversionFactor () |
| Public Member Functions inherited from lmms::gui::ModelView | |
| ModelView (Model *model, QWidget *widget) | |
| virtual | ~ModelView () |
| Model * | model () |
| const Model * | model () const |
| template<class T> | |
| T * | castModel () |
| template<class T> | |
| const T * | castModel () const |
Protected Member Functions | |
| virtual void | mousePressEvent (QMouseEvent *event) |
| Protected Member Functions inherited from lmms::gui::ModelView | |
| virtual void | modelChanged () |
| QWidget * | widget () |
| virtual void | doConnections () |
Protected Attributes | |
| QString | m_description |
| QString | m_unit |
| float | m_conversionFactor |
| lmms::gui::AutomatableModelView::AutomatableModelView | ( | Model * | model, |
| QWidget * | _this ) |
|
overridedefault |
| void lmms::gui::AutomatableModelView::addDefaultActions | ( | QMenu * | menu | ) |
| float lmms::gui::AutomatableModelView::getConversionFactor | ( | ) |
|
inline |
|
inline |
|
protectedvirtual |
| void lmms::gui::AutomatableModelView::setConversionFactor | ( | float | factor | ) |
|
inline |
|
overridevirtual |
Reimplemented from lmms::gui::ModelView.
|
inline |
|
overridevirtual |
Reimplemented from lmms::gui::ModelView.
|
inline |
|
protected |
|
protected |
|
protected |