Mercurial > hg > tony
comparison src/MainWindow.cpp @ 434:548433164338
LevelPanWidget alternative without including muting
author | Chris Cannam |
---|---|
date | Tue, 31 Mar 2015 14:05:39 +0100 |
parents | 9dad69cbf452 |
children | 14aa33dc2a54 |
comparison
equal
deleted
inserted
replaced
433:093c1fb2fb31 | 434:548433164338 |
---|---|
240 this, SLOT(playSpeedChanged(int))); | 240 this, SLOT(playSpeedChanged(int))); |
241 connect(m_playSpeed, SIGNAL(mouseEntered()), this, SLOT(mouseEnteredWidget())); | 241 connect(m_playSpeed, SIGNAL(mouseEntered()), this, SLOT(mouseEnteredWidget())); |
242 connect(m_playSpeed, SIGNAL(mouseLeft()), this, SLOT(mouseLeftWidget())); | 242 connect(m_playSpeed, SIGNAL(mouseLeft()), this, SLOT(mouseLeftWidget())); |
243 | 243 |
244 m_audioLPW = new LevelPanToolButton(frame); | 244 m_audioLPW = new LevelPanToolButton(frame); |
245 m_audioLPW->setIncludeMute(false); | |
245 m_audioLPW->setObjectName(tr("Audio Track Level and Pan")); | 246 m_audioLPW->setObjectName(tr("Audio Track Level and Pan")); |
246 connect(m_audioLPW, SIGNAL(levelChanged(float)), this, SLOT(audioGainChanged(float))); | 247 connect(m_audioLPW, SIGNAL(levelChanged(float)), this, SLOT(audioGainChanged(float))); |
247 connect(m_audioLPW, SIGNAL(panChanged(float)), this, SLOT(audioPanChanged(float))); | 248 connect(m_audioLPW, SIGNAL(panChanged(float)), this, SLOT(audioPanChanged(float))); |
248 | 249 |
249 if (m_withSonification) { | 250 if (m_withSonification) { |
250 | 251 |
251 m_pitchLPW = new LevelPanToolButton(frame); | 252 m_pitchLPW = new LevelPanToolButton(frame); |
253 m_pitchLPW->setIncludeMute(false); | |
252 m_pitchLPW->setObjectName(tr("Pitch Track Level and Pan")); | 254 m_pitchLPW->setObjectName(tr("Pitch Track Level and Pan")); |
253 connect(m_pitchLPW, SIGNAL(levelChanged(float)), this, SLOT(pitchGainChanged(float))); | 255 connect(m_pitchLPW, SIGNAL(levelChanged(float)), this, SLOT(pitchGainChanged(float))); |
254 connect(m_pitchLPW, SIGNAL(panChanged(float)), this, SLOT(pitchPanChanged(float))); | 256 connect(m_pitchLPW, SIGNAL(panChanged(float)), this, SLOT(pitchPanChanged(float))); |
255 | 257 |
256 m_notesLPW = new LevelPanToolButton(frame); | 258 m_notesLPW = new LevelPanToolButton(frame); |
259 m_notesLPW->setIncludeMute(false); | |
257 m_notesLPW->setObjectName(tr("Note Track Level and Pan")); | 260 m_notesLPW->setObjectName(tr("Note Track Level and Pan")); |
258 connect(m_notesLPW, SIGNAL(levelChanged(float)), this, SLOT(notesGainChanged(float))); | 261 connect(m_notesLPW, SIGNAL(levelChanged(float)), this, SLOT(notesGainChanged(float))); |
259 connect(m_notesLPW, SIGNAL(panChanged(float)), this, SLOT(notesPanChanged(float))); | 262 connect(m_notesLPW, SIGNAL(panChanged(float)), this, SLOT(notesPanChanged(float))); |
260 } | 263 } |
261 | 264 |