LMMS
Loading...
Searching...
No Matches
lmms::gui::ModelView Class Reference

#include <ModelView.h>

Inheritance diagram for lmms::gui::ModelView:
lmms::gui::AutomatableModelView lmms::gui::ClipView lmms::gui::ControllerDialog lmms::gui::ControllerView lmms::gui::EffectControlDialog lmms::gui::EffectRackView lmms::gui::EnvelopeAndLfoView lmms::gui::EnvelopeGraph lmms::gui::Graph lmms::gui::InstrumentFunctionArpeggioView lmms::gui::InstrumentFunctionNoteStackingView lmms::gui::InstrumentMidiIOView lmms::gui::InstrumentSoundShapingView lmms::gui::InstrumentTrackWindow lmms::gui::LadspaControlView lmms::gui::LfoGraph lmms::gui::MeterDialog lmms::gui::MidiPortMenu lmms::gui::MixerView lmms::gui::PianoView lmms::gui::PluginView lmms::gui::SampleTrackWindow lmms::gui::TrackContainerView lmms::gui::TrackView

Public Member Functions

 ModelView (Model *model, QWidget *widget)
virtual ~ModelView ()
virtual void setModel (Model *model, bool isOldModelValid=true)
virtual void unsetModel ()
Modelmodel ()
const Modelmodel () const
template<class T>
T * castModel ()
template<class T>
const T * castModel () const

Protected Member Functions

virtual void modelChanged ()
QWidget * widget ()
virtual void doConnections ()

Private Attributes

QWidget * m_widget
QPointer< Modelm_model

Constructor & Destructor Documentation

◆ ModelView()

lmms::gui::ModelView::ModelView ( Model * model,
QWidget * widget )

◆ ~ModelView()

lmms::gui::ModelView::~ModelView ( )
virtual

Member Function Documentation

◆ castModel() [1/2]

template<class T>
T * lmms::gui::ModelView::castModel ( )
inline

◆ castModel() [2/2]

template<class T>
const T * lmms::gui::ModelView::castModel ( ) const
inline

◆ doConnections()

void lmms::gui::ModelView::doConnections ( )
protectedvirtual

◆ model() [1/2]

Model * lmms::gui::ModelView::model ( )
inline

◆ model() [2/2]

const Model * lmms::gui::ModelView::model ( ) const
inline

◆ modelChanged()

virtual void lmms::gui::ModelView::modelChanged ( )
inlineprotectedvirtual

Reimplemented in lmms::gui::AudioFileProcessorView, lmms::gui::AutomatableButton, lmms::gui::AutomatableButtonGroup, lmms::gui::AutomatableSlider, lmms::gui::BitInvaderView, lmms::gui::CarlaInstrumentView, lmms::gui::ControllerView, lmms::gui::EffectRackView, lmms::gui::EffectView, lmms::gui::EnvelopeAndLfoView, lmms::gui::EnvelopeGraph, lmms::gui::FreeBoyInstrumentView, lmms::gui::GigInstrumentView, lmms::gui::Graph, lmms::gui::GroupBox, lmms::gui::InstrumentFunctionArpeggioView, lmms::gui::InstrumentFunctionNoteStackingView, lmms::gui::InstrumentMidiIOView, lmms::gui::InstrumentSoundShapingView, lmms::gui::InstrumentTrackView, lmms::gui::InstrumentTrackWindow, lmms::gui::KickerInstrumentView, lmms::gui::Lb302SynthView, lmms::gui::LcdFloatSpinBox, lmms::gui::LcdSpinBox, lmms::gui::LfoControllerDialog, lmms::gui::Lv2FxControlDialog, lmms::gui::Lv2InsView, lmms::gui::MalletsInstrumentView, lmms::gui::MeterDialog, lmms::gui::MidiPortMenu, lmms::gui::MonstroView, lmms::gui::NesInstrumentView, lmms::gui::NineButtonSelector, lmms::gui::OpulenzInstrumentView, lmms::gui::OrganicInstrumentView, lmms::gui::PatmanView, lmms::gui::PeakControllerDialog, lmms::gui::PianoView, lmms::gui::SampleTrackView, lmms::gui::SampleTrackWindow, lmms::gui::Sf2InstrumentView, lmms::gui::SfxrInstrumentView, lmms::gui::SidInstrumentView, lmms::gui::TempoSyncBarModelEditor, lmms::gui::TempoSyncKnob, lmms::gui::TrackView, lmms::gui::TripleOscillatorView, lmms::gui::VestigeInstrumentView, lmms::gui::VibedView, lmms::gui::WatsynView, lmms::gui::XpressiveView, and lmms::gui::ZynAddSubFxView.

◆ setModel()

void lmms::gui::ModelView::setModel ( Model * model,
bool isOldModelValid = true )
virtual

◆ unsetModel()

void lmms::gui::ModelView::unsetModel ( )
virtual

◆ widget()

QWidget * lmms::gui::ModelView::widget ( )
inlineprotected

Member Data Documentation

◆ m_model

QPointer<Model> lmms::gui::ModelView::m_model
private

◆ m_widget

QWidget* lmms::gui::ModelView::m_widget
private

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