26#ifndef LMMS_GUI_AUTOMATABLE_MODEL_VIEW_H
27#define LMMS_GUI_AUTOMATABLE_MODEL_VIEW_H
55 void setModel(
Model* model,
bool isOldModelValid =
true )
override;
56 void unsetModel()
override;
74 void addDefaultActions( QMenu* menu );
76 void setConversionFactor(
float factor );
77 float getConversionFactor();
81 virtual void mousePressEvent( QMouseEvent* event );
Definition AutomatableModel.h:77
Definition AutomatableModelView.h:39
~AutomatableModelView() override=default
const AutomatableModel * modelUntyped() const
Definition AutomatableModelView.h:50
QString m_description
Definition AutomatableModelView.h:83
void setUnit(const QString &unit)
Definition AutomatableModelView.h:69
AutomatableModel * modelUntyped()
Definition AutomatableModelView.h:45
void setDescription(const QString &desc)
Definition AutomatableModelView.h:64
AutomatableModelView(Model *model, QWidget *_this)
Definition AutomatableModelView.cpp:47
float m_conversionFactor
Definition AutomatableModelView.h:85
T value() const
Definition AutomatableModelView.h:59
QString m_unit
Definition AutomatableModelView.h:84
void execConnectionDialog()
Definition AutomatableModelView.cpp:200
AutomatableModelViewSlots(AutomatableModelView *amv, QObject *parent)
Definition AutomatableModelView.cpp:190
void copyToClipboard()
Copy the model's value to the clipboard.
Definition AutomatableModelView.cpp:252
void removeConnection()
Definition AutomatableModelView.cpp:238
void pasteFromClipboard()
Paste the model's value from the clipboard.
Definition AutomatableModelView.cpp:260
AutomatableModelView * m_amv
Definition AutomatableModelView.h:108
Model * model()
Definition ModelView.h:43
ModelView(Model *model, QWidget *widget)
Definition ModelView.cpp:33
T * castModel()
Definition ModelView.h:54
Definition AutomatableModelView.h:115
TypedModelView(Model *model, QWidget *_this)
Definition AutomatableModelView.h:117
FloatModel * model()
Definition AutomatableModelView.h:121
const ModelType * model() const
Definition AutomatableModelView.h:125
static uintptr_t parent
Definition pugl.h:1644
Definition AudioPortAudio.cpp:223
TypedModelView< BoolModel > BoolModelView
Definition AutomatableModelView.h:133
TypedModelView< IntModel > IntModelView
Definition AutomatableModelView.h:132
TypedModelView< FloatModel > FloatModelView
Definition AutomatableModelView.h:131
png_const_structrp png_const_inforp int * unit
Definition png.h:2161