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

#include <LadspaMatrixControlDialog.h>

Inheritance diagram for lmms::gui::LadspaMatrixControlDialog:
lmms::gui::EffectControlDialog lmms::gui::ModelView

Public Member Functions

 LadspaMatrixControlDialog (LadspaControls *ctl)
Public Member Functions inherited from lmms::gui::EffectControlDialog
 EffectControlDialog (EffectControls *controls)
 ~EffectControlDialog () override=default
Public Member Functions inherited from lmms::gui::ModelView
 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

Private Slots

void updateEffectView (LadspaControls *ctl)

Private Member Functions

bool needsLinkColumn () const
 Checks if a link column is needed for the current effect controls.
void arrangeControls (QWidget *parent, QGridLayout *gridLayout)
 Arranges widgets for the current controls in a grid/matrix layout.
QWidget * createMatrixWidget ()
 Creates a widget that holds the widgets of the current controls in a matrix arrangement.
LadspaControlsgetLadspaControls () const
ch_cnt_t getChannelCount () const

Private Attributes

QScrollArea * m_scrollArea
LedCheckBoxm_stereoLink

Additional Inherited Members

Protected Member Functions inherited from lmms::gui::ModelView
virtual void modelChanged ()
QWidget * widget ()
virtual void doConnections ()
Protected Attributes inherited from lmms::gui::EffectControlDialog
EffectControlsm_effectControls

Constructor & Destructor Documentation

◆ LadspaMatrixControlDialog()

lmms::gui::LadspaMatrixControlDialog::LadspaMatrixControlDialog ( LadspaControls * ctl)

Member Function Documentation

◆ arrangeControls()

void lmms::gui::LadspaMatrixControlDialog::arrangeControls ( QWidget * parent,
QGridLayout * gridLayout )
private

Arranges widgets for the current controls in a grid/matrix layout.

Parameters
parentThe parent of all created widgets
gridLayoutThe layout into which the controls are organized

◆ createMatrixWidget()

QWidget * lmms::gui::LadspaMatrixControlDialog::createMatrixWidget ( )
private

Creates a widget that holds the widgets of the current controls in a matrix arrangement.

Parameters
ladspaControls
Returns

◆ getChannelCount()

ch_cnt_t lmms::gui::LadspaMatrixControlDialog::getChannelCount ( ) const
private

◆ getLadspaControls()

LadspaControls * lmms::gui::LadspaMatrixControlDialog::getLadspaControls ( ) const
private

◆ needsLinkColumn()

bool lmms::gui::LadspaMatrixControlDialog::needsLinkColumn ( ) const
private

Checks if a link column is needed for the current effect controls.

Returns
true if a link column is needed.

◆ updateEffectView

void lmms::gui::LadspaMatrixControlDialog::updateEffectView ( LadspaControls * ctl)
privateslot

Member Data Documentation

◆ m_scrollArea

QScrollArea* lmms::gui::LadspaMatrixControlDialog::m_scrollArea
private

◆ m_stereoLink

LedCheckBox* lmms::gui::LadspaMatrixControlDialog::m_stereoLink
private

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