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

#include <MixerChannelView.h>

Inheritance diagram for lmms::gui::MixerChannelView:

Public Slots

void renameChannel ()
void resetColor ()
void selectColor ()
void randomizeColor ()

Public Member Functions

 MixerChannelView (QWidget *parent, MixerView *mixerView, int channelIndex)
void paintEvent (QPaintEvent *event) override
void contextMenuEvent (QContextMenuEvent *) override
void mousePressEvent (QMouseEvent *) override
void mouseDoubleClickEvent (QMouseEvent *) override
void keyPressEvent (QKeyEvent *ke) override
void reset ()
int channelIndex () const
void setChannelIndex (int index)
QBrush backgroundActive () const
void setBackgroundActive (const QBrush &c)
QColor strokeOuterActive () const
void setStrokeOuterActive (const QColor &c)
QColor strokeOuterInactive () const
void setStrokeOuterInactive (const QColor &c)
QColor strokeInnerActive () const
void setStrokeInnerActive (const QColor &c)
QColor strokeInnerInactive () const
void setStrokeInnerInactive (const QColor &c)
Faderfader () const

Properties

QBrush backgroundActive
QColor strokeOuterActive
QColor strokeOuterInactive
QColor strokeInnerActive
QColor strokeInnerInactive

Private Slots

void renameFinished ()
void removeChannel ()
void removeUnusedChannels ()
void moveChannelLeft ()
void moveChannelRight ()

Private Member Functions

bool confirmRemoval (int index)
QString elideName (const QString &name)
MixerChannelmixerChannel () const
auto isMasterChannel () const -> bool

Private Attributes

SendButtonIndicatorm_sendButton
QLabel * m_receiveArrow
QStackedWidget * m_receiveArrowOrSendButton
int m_receiveArrowStackedIndex = -1
int m_sendButtonStackedIndex = -1
Knobm_sendKnob
LcdWidgetm_channelNumberLcd
QLineEdit * m_renameLineEdit
QGraphicsView * m_renameLineEditView
QLabel * m_sendArrow
AutomatableButtonm_muteButton
AutomatableButtonm_soloButton
PeakIndicatorm_peakIndicator = nullptr
Faderm_fader
EffectRackViewm_effectRackView
MixerViewm_mixerView
int m_channelIndex = 0
bool m_inRename = false
QBrush m_backgroundActive
QColor m_strokeOuterActive
QColor m_strokeOuterInactive
QColor m_strokeInnerActive
QColor m_strokeInnerInactive

Friends

class MixerView

Constructor & Destructor Documentation

◆ MixerChannelView()

lmms::gui::MixerChannelView::MixerChannelView ( QWidget * parent,
MixerView * mixerView,
int channelIndex )

Member Function Documentation

◆ backgroundActive()

QBrush lmms::gui::MixerChannelView::backgroundActive ( ) const
inline

◆ channelIndex()

int lmms::gui::MixerChannelView::channelIndex ( ) const
inline

◆ confirmRemoval()

bool lmms::gui::MixerChannelView::confirmRemoval ( int index)
private

◆ contextMenuEvent()

void lmms::gui::MixerChannelView::contextMenuEvent ( QContextMenuEvent * )
override

◆ elideName()

QString lmms::gui::MixerChannelView::elideName ( const QString & name)
private

◆ fader()

Fader * lmms::gui::MixerChannelView::fader ( ) const
inline

◆ isMasterChannel()

auto lmms::gui::MixerChannelView::isMasterChannel ( ) const -> bool
inlineprivate

◆ keyPressEvent()

void lmms::gui::MixerChannelView::keyPressEvent ( QKeyEvent * ke)
override

◆ mixerChannel()

MixerChannel * lmms::gui::MixerChannelView::mixerChannel ( ) const
private

◆ mouseDoubleClickEvent()

void lmms::gui::MixerChannelView::mouseDoubleClickEvent ( QMouseEvent * )
override

◆ mousePressEvent()

void lmms::gui::MixerChannelView::mousePressEvent ( QMouseEvent * )
override

◆ moveChannelLeft

void lmms::gui::MixerChannelView::moveChannelLeft ( )
privateslot

◆ moveChannelRight

void lmms::gui::MixerChannelView::moveChannelRight ( )
privateslot

◆ paintEvent()

void lmms::gui::MixerChannelView::paintEvent ( QPaintEvent * event)
override

◆ randomizeColor

void lmms::gui::MixerChannelView::randomizeColor ( )
slot

◆ removeChannel

void lmms::gui::MixerChannelView::removeChannel ( )
privateslot

◆ removeUnusedChannels

void lmms::gui::MixerChannelView::removeUnusedChannels ( )
privateslot

◆ renameChannel

void lmms::gui::MixerChannelView::renameChannel ( )
slot

◆ renameFinished

void lmms::gui::MixerChannelView::renameFinished ( )
privateslot

◆ reset()

void lmms::gui::MixerChannelView::reset ( )

◆ resetColor

void lmms::gui::MixerChannelView::resetColor ( )
slot

◆ selectColor

void lmms::gui::MixerChannelView::selectColor ( )
slot

◆ setBackgroundActive()

void lmms::gui::MixerChannelView::setBackgroundActive ( const QBrush & c)
inline

◆ setChannelIndex()

void lmms::gui::MixerChannelView::setChannelIndex ( int index)

◆ setStrokeInnerActive()

void lmms::gui::MixerChannelView::setStrokeInnerActive ( const QColor & c)
inline

◆ setStrokeInnerInactive()

void lmms::gui::MixerChannelView::setStrokeInnerInactive ( const QColor & c)
inline

◆ setStrokeOuterActive()

void lmms::gui::MixerChannelView::setStrokeOuterActive ( const QColor & c)
inline

◆ setStrokeOuterInactive()

void lmms::gui::MixerChannelView::setStrokeOuterInactive ( const QColor & c)
inline

◆ strokeInnerActive()

QColor lmms::gui::MixerChannelView::strokeInnerActive ( ) const
inline

◆ strokeInnerInactive()

QColor lmms::gui::MixerChannelView::strokeInnerInactive ( ) const
inline

◆ strokeOuterActive()

QColor lmms::gui::MixerChannelView::strokeOuterActive ( ) const
inline

◆ strokeOuterInactive()

QColor lmms::gui::MixerChannelView::strokeOuterInactive ( ) const
inline

◆ MixerView

friend class MixerView
friend

Member Data Documentation

◆ m_backgroundActive

QBrush lmms::gui::MixerChannelView::m_backgroundActive
private

◆ m_channelIndex

int lmms::gui::MixerChannelView::m_channelIndex = 0
private

◆ m_channelNumberLcd

LcdWidget* lmms::gui::MixerChannelView::m_channelNumberLcd
private

◆ m_effectRackView

EffectRackView* lmms::gui::MixerChannelView::m_effectRackView
private

◆ m_fader

Fader* lmms::gui::MixerChannelView::m_fader
private

◆ m_inRename

bool lmms::gui::MixerChannelView::m_inRename = false
private

◆ m_mixerView

MixerView* lmms::gui::MixerChannelView::m_mixerView
private

◆ m_muteButton

AutomatableButton* lmms::gui::MixerChannelView::m_muteButton
private

◆ m_peakIndicator

PeakIndicator* lmms::gui::MixerChannelView::m_peakIndicator = nullptr
private

◆ m_receiveArrow

QLabel* lmms::gui::MixerChannelView::m_receiveArrow
private

◆ m_receiveArrowOrSendButton

QStackedWidget* lmms::gui::MixerChannelView::m_receiveArrowOrSendButton
private

◆ m_receiveArrowStackedIndex

int lmms::gui::MixerChannelView::m_receiveArrowStackedIndex = -1
private

◆ m_renameLineEdit

QLineEdit* lmms::gui::MixerChannelView::m_renameLineEdit
private

◆ m_renameLineEditView

QGraphicsView* lmms::gui::MixerChannelView::m_renameLineEditView
private

◆ m_sendArrow

QLabel* lmms::gui::MixerChannelView::m_sendArrow
private

◆ m_sendButton

SendButtonIndicator* lmms::gui::MixerChannelView::m_sendButton
private

◆ m_sendButtonStackedIndex

int lmms::gui::MixerChannelView::m_sendButtonStackedIndex = -1
private

◆ m_sendKnob

Knob* lmms::gui::MixerChannelView::m_sendKnob
private

◆ m_soloButton

AutomatableButton* lmms::gui::MixerChannelView::m_soloButton
private

◆ m_strokeInnerActive

QColor lmms::gui::MixerChannelView::m_strokeInnerActive
private

◆ m_strokeInnerInactive

QColor lmms::gui::MixerChannelView::m_strokeInnerInactive
private

◆ m_strokeOuterActive

QColor lmms::gui::MixerChannelView::m_strokeOuterActive
private

◆ m_strokeOuterInactive

QColor lmms::gui::MixerChannelView::m_strokeOuterInactive
private

Property Documentation

◆ backgroundActive

QBrush lmms::gui::MixerChannelView::backgroundActive
readwrite

◆ strokeInnerActive

QColor lmms::gui::MixerChannelView::strokeInnerActive
readwrite

◆ strokeInnerInactive

QColor lmms::gui::MixerChannelView::strokeInnerInactive
readwrite

◆ strokeOuterActive

QColor lmms::gui::MixerChannelView::strokeOuterActive
readwrite

◆ strokeOuterInactive

QColor lmms::gui::MixerChannelView::strokeOuterInactive
readwrite

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