MuseScore  3.4
Music composition and notation
Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
Ms::Mixer Class Reference

#include <mixer.h>

Inheritance diagram for Ms::Mixer:
Inheritance graph
[legend]
Collaboration diagram for Ms::Mixer:
Collaboration graph
[legend]

Public Slots

void updateTracks ()
 
void midiPrefsChanged (bool showMidiControls)
 
void masterVolumeChanged (double val)
 
void synthGainChanged (float val)
 
void adjustScrollPosition (int, int)
 
void checkKeptScrollValue (int)
 

Signals

void closed (bool)
 

Public Member Functions

 Mixer (QWidget *parent)
 
void setScore (Score *)
 
PartEditgetPartAtIndex (int index)
 
void expandToggled (Part *part, bool expanded) override
 
void notifyTrackSelected (MixerTrack *track) override
 
void showDetailsToggled (bool shown)
 
- Public Member Functions inherited from Ms::MixerTrackGroup
virtual ~MixerTrackGroup ()
 

Protected Member Functions

virtual void changeEvent (QEvent *event) override
 
void retranslate (bool firstTime=false)
 

Private Slots

void on_partOnlyCheckBox_toggled (bool checked)
 

Private Member Functions

virtual void closeEvent (QCloseEvent *) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void hideEvent (QHideEvent *) override
 
virtual bool eventFilter (QObject *, QEvent *) override
 
virtual void keyPressEvent (QKeyEvent *) override
 
void keepScrollPosition ()
 
void setPlaybackScore (Score *)
 

Private Attributes

Score_score = nullptr
 
Score_activeScore = nullptr
 
QHBoxLayout * trackAreaLayout
 
EnablePlayForWidgetenablePlay
 
MixerDetailsmixerDetails
 
QGridLayout * detailsLayout
 
bool showDetails
 
QSet< Part * > expandedParts
 
QWidget * trackHolder
 
QList< MixerTrack * > trackList
 
int _scrollPosition = 0
 
bool _needToKeepScrollPosition = false
 

Constructor & Destructor Documentation

◆ Mixer()

Ms::Mixer::Mixer ( QWidget *  parent)

Member Function Documentation

◆ adjustScrollPosition

void Ms::Mixer::adjustScrollPosition ( int  ,
int   
)
slot

◆ changeEvent()

void Ms::Mixer::changeEvent ( QEvent *  event)
overrideprotectedvirtual

◆ checkKeptScrollValue

void Ms::Mixer::checkKeptScrollValue ( int  scrollPos)
slot

◆ closed

void Ms::Mixer::closed ( bool  )
signal

◆ closeEvent()

void Ms::Mixer::closeEvent ( QCloseEvent *  ev)
overrideprivatevirtual

◆ eventFilter()

bool Ms::Mixer::eventFilter ( QObject *  obj,
QEvent *  e 
)
overrideprivatevirtual

◆ expandToggled()

void Ms::Mixer::expandToggled ( Part part,
bool  expanded 
)
overridevirtual

Implements Ms::MixerTrackGroup.

◆ getPartAtIndex()

PartEdit * Ms::Mixer::getPartAtIndex ( int  index)

◆ hideEvent()

void Ms::Mixer::hideEvent ( QHideEvent *  e)
overrideprivatevirtual

◆ keepScrollPosition()

void Ms::Mixer::keepScrollPosition ( )
private

◆ keyPressEvent()

void Ms::Mixer::keyPressEvent ( QKeyEvent *  ev)
overrideprivatevirtual

◆ masterVolumeChanged

void Ms::Mixer::masterVolumeChanged ( double  val)
slot

◆ midiPrefsChanged

void Ms::Mixer::midiPrefsChanged ( bool  showMidiControls)
slot

◆ notifyTrackSelected()

void Ms::Mixer::notifyTrackSelected ( MixerTrack track)
overridevirtual

Implements Ms::MixerTrackGroup.

◆ on_partOnlyCheckBox_toggled

void Ms::Mixer::on_partOnlyCheckBox_toggled ( bool  checked)
privateslot

◆ retranslate()

void Ms::Mixer::retranslate ( bool  firstTime = false)
protected

◆ setPlaybackScore()

void Ms::Mixer::setPlaybackScore ( Score score)
private

◆ setScore()

void Ms::Mixer::setScore ( Score score)

◆ showDetailsToggled()

void Ms::Mixer::showDetailsToggled ( bool  shown)

◆ showEvent()

void Ms::Mixer::showEvent ( QShowEvent *  e)
overrideprivatevirtual

◆ synthGainChanged

void Ms::Mixer::synthGainChanged ( float  val)
slot

◆ updateTracks

void Ms::Mixer::updateTracks ( )
slot

Member Data Documentation

◆ _activeScore

Score* Ms::Mixer::_activeScore = nullptr
private

◆ _needToKeepScrollPosition

bool Ms::Mixer::_needToKeepScrollPosition = false
private

◆ _score

Score* Ms::Mixer::_score = nullptr
private

◆ _scrollPosition

int Ms::Mixer::_scrollPosition = 0
private

◆ detailsLayout

QGridLayout* Ms::Mixer::detailsLayout
private

◆ enablePlay

EnablePlayForWidget* Ms::Mixer::enablePlay
private

◆ expandedParts

QSet<Part*> Ms::Mixer::expandedParts
private

◆ mixerDetails

MixerDetails* Ms::Mixer::mixerDetails
private

◆ showDetails

bool Ms::Mixer::showDetails
private

◆ trackAreaLayout

QHBoxLayout* Ms::Mixer::trackAreaLayout
private

◆ trackHolder

QWidget* Ms::Mixer::trackHolder
private

◆ trackList

QList<MixerTrack*> Ms::Mixer::trackList
private

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