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

#include <MixerView.h>

Inheritance diagram for lmms::gui::MixerView:
lmms::gui::ModelView lmms::SerializingObjectHook

Public Slots

int addNewChannel ()

Public Member Functions

 MixerView (Mixer *mixer)
void keyPressEvent (QKeyEvent *e) override
void saveSettings (QDomDocument &doc, QDomElement &domElement) override
void loadSettings (const QDomElement &domElement) override
MixerChannelViewcurrentMixerChannel ()
MixerChannelViewchannelView (int index)
void setCurrentMixerChannel (MixerChannelView *channel)
void setCurrentMixerChannel (int channel)
void clear ()
void updateMixerChannel (int index)
void deleteChannel (int index)
void deleteUnusedChannels ()
void moveChannelLeft (int index)
void moveChannelRight (int index)
void renameChannel (int index)
void refreshDisplay ()
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
Public Member Functions inherited from lmms::SerializingObjectHook
 SerializingObjectHook ()
virtual ~SerializingObjectHook ()

Private Slots

void updateFaders ()
void toggledSolo ()
void toggledMute ()

Private Member Functions

MixergetMixer () const
void updateAllMixerChannels ()
void connectToSoloAndMute (int channelIndex)
void disconnectFromSoloAndMute (int channelIndex)
void updateMaxChannelSelector ()

Private Attributes

QVector< MixerChannelView * > m_mixerChannelViews
MixerChannelViewm_currentMixerChannel
QScrollArea * channelArea
QHBoxLayout * chLayout
QWidget * m_channelAreaWidget
QStackedLayout * m_racksLayout
QWidget * m_racksWidget
Mixerm_mixer

Friends

class MixerChannelView

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ MixerView()

lmms::gui::MixerView::MixerView ( Mixer * mixer)

Member Function Documentation

◆ addNewChannel

int lmms::gui::MixerView::addNewChannel ( )
slot

◆ channelView()

MixerChannelView * lmms::gui::MixerView::channelView ( int index)
inline

◆ clear()

void lmms::gui::MixerView::clear ( )

◆ connectToSoloAndMute()

void lmms::gui::MixerView::connectToSoloAndMute ( int channelIndex)
private

◆ currentMixerChannel()

MixerChannelView * lmms::gui::MixerView::currentMixerChannel ( )
inline

◆ deleteChannel()

void lmms::gui::MixerView::deleteChannel ( int index)

◆ deleteUnusedChannels()

void lmms::gui::MixerView::deleteUnusedChannels ( )

◆ disconnectFromSoloAndMute()

void lmms::gui::MixerView::disconnectFromSoloAndMute ( int channelIndex)
private

◆ getMixer()

Mixer * lmms::gui::MixerView::getMixer ( ) const
private

◆ keyPressEvent()

void lmms::gui::MixerView::keyPressEvent ( QKeyEvent * e)
override

◆ loadSettings()

void lmms::gui::MixerView::loadSettings ( const QDomElement & domElement)
overridevirtual

◆ moveChannelLeft()

void lmms::gui::MixerView::moveChannelLeft ( int index)

◆ moveChannelRight()

void lmms::gui::MixerView::moveChannelRight ( int index)

◆ refreshDisplay()

void lmms::gui::MixerView::refreshDisplay ( )

◆ renameChannel()

void lmms::gui::MixerView::renameChannel ( int index)

◆ saveSettings()

void lmms::gui::MixerView::saveSettings ( QDomDocument & doc,
QDomElement & domElement )
overridevirtual

◆ setCurrentMixerChannel() [1/2]

void lmms::gui::MixerView::setCurrentMixerChannel ( int channel)

◆ setCurrentMixerChannel() [2/2]

void lmms::gui::MixerView::setCurrentMixerChannel ( MixerChannelView * channel)

◆ toggledMute

void lmms::gui::MixerView::toggledMute ( )
privateslot

◆ toggledSolo

void lmms::gui::MixerView::toggledSolo ( )
privateslot

◆ updateAllMixerChannels()

void lmms::gui::MixerView::updateAllMixerChannels ( )
private

◆ updateFaders

void lmms::gui::MixerView::updateFaders ( )
privateslot

◆ updateMaxChannelSelector()

void lmms::gui::MixerView::updateMaxChannelSelector ( )
private

◆ updateMixerChannel()

void lmms::gui::MixerView::updateMixerChannel ( int index)

◆ MixerChannelView

friend class MixerChannelView
friend

Member Data Documentation

◆ channelArea

QScrollArea* lmms::gui::MixerView::channelArea
private

◆ chLayout

QHBoxLayout* lmms::gui::MixerView::chLayout
private

◆ m_channelAreaWidget

QWidget* lmms::gui::MixerView::m_channelAreaWidget
private

◆ m_currentMixerChannel

MixerChannelView* lmms::gui::MixerView::m_currentMixerChannel
private

◆ m_mixer

Mixer* lmms::gui::MixerView::m_mixer
private

◆ m_mixerChannelViews

QVector<MixerChannelView*> lmms::gui::MixerView::m_mixerChannelViews
private

◆ m_racksLayout

QStackedLayout* lmms::gui::MixerView::m_racksLayout
private

◆ m_racksWidget

QWidget* lmms::gui::MixerView::m_racksWidget
private

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